Allow the creation of extra manifests via values

Signed-off-by: Guillaume Plessis <gui@endor.ai>
This commit is contained in:
Guillaume Plessis 2023-10-17 08:51:36 -07:00
parent 8d2cb0c336
commit 76c976bc2d
No known key found for this signature in database
2 changed files with 21 additions and 0 deletions

View File

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

View File

@ -1308,3 +1308,20 @@ 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 a dynamic manifests via values:
extraObjects: []
# - apiVersion: cert-manager.io/v1
# kind: ClusterIssuer
# metadata:
# name: letsencrypt-prod
# spec:
# acme:
# email: foo@bar.com
# server: https://acme-v02.api.letsencrypt.org/directory
# privateKeySecretRef:
# name: letsencrypt-prod
# solvers:
# - http01:
# ingress:
# class: nginx