Merge pull request #6424 from gplessis/helm_extraObjects
Helm chart: Allow the creation of extra manifests via values
This commit is contained in:
commit
54aab4b8a0
@ -1805,6 +1805,24 @@ Additional volume mounts to add to the cert-manager controller container.
|
|||||||
> ```
|
> ```
|
||||||
|
|
||||||
enableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.
|
enableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.
|
||||||
|
#### **extraObjects** ~ `array`
|
||||||
|
> Default value:
|
||||||
|
> ```yaml
|
||||||
|
> []
|
||||||
|
> ```
|
||||||
|
|
||||||
|
Create dynamic manifests via values.
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
extraObjects:
|
||||||
|
- |
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: '{{ template "cert-manager.name" . }}-extra-configmap'
|
||||||
|
```
|
||||||
|
|
||||||
<!-- /AUTO-GENERATED -->
|
<!-- /AUTO-GENERATED -->
|
||||||
### Default Security Contexts
|
### Default Security Contexts
|
||||||
|
|||||||
4
deploy/charts/cert-manager/templates/extras-objects.yaml
Normal file
4
deploy/charts/cert-manager/templates/extras-objects.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{{ range .Values.extraObjects }}
|
||||||
|
---
|
||||||
|
{{ tpl . $ }}
|
||||||
|
{{ end }}
|
||||||
@ -1308,3 +1308,14 @@ startupapicheck:
|
|||||||
# injected into pod's environment variables, matching the syntax of Docker
|
# injected into pod's environment variables, matching the syntax of Docker
|
||||||
# links.
|
# links.
|
||||||
enableServiceLinks: false
|
enableServiceLinks: false
|
||||||
|
|
||||||
|
# Create dynamic manifests via values.
|
||||||
|
#
|
||||||
|
# For example:
|
||||||
|
# extraObjects:
|
||||||
|
# - |
|
||||||
|
# apiVersion: v1
|
||||||
|
# kind: ConfigMap
|
||||||
|
# metadata:
|
||||||
|
# name: '{{ template "cert-manager.name" . }}-extra-configmap'
|
||||||
|
extraObjects: []
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user