Merge pull request #6424 from gplessis/helm_extraObjects

Helm chart: Allow the creation of extra manifests via values
This commit is contained in:
cert-manager-prow[bot] 2024-05-07 13:53:15 +00:00 committed by GitHub
commit 54aab4b8a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 33 additions and 0 deletions

View File

@ -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.
#### **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 -->
### Default Security Contexts

View File

@ -0,0 +1,4 @@
{{ range .Values.extraObjects }}
---
{{ tpl . $ }}
{{ end }}

View File

@ -1308,3 +1308,14 @@ startupapicheck:
# injected into pod's environment variables, matching the syntax of Docker
# links.
enableServiceLinks: false
# Create dynamic manifests via values.
#
# For example:
# extraObjects:
# - |
# apiVersion: v1
# kind: ConfigMap
# metadata:
# name: '{{ template "cert-manager.name" . }}-extra-configmap'
extraObjects: []