add configmap.enabled option

This commit is contained in:
c9s 2021-03-03 15:29:53 +08:00
parent 00109eb464
commit 896a092dce
2 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,4 @@
{{- if .Values.configmap.enabled }}
---
apiVersion: v1
kind: ConfigMap
@ -8,3 +9,4 @@ metadata:
data:
bbgo.yaml: |-
{{- .Files.Get .Values.configmap.file | nindent 4 }}
{{-end }}

View File

@ -16,6 +16,7 @@ nameOverride: ""
fullnameOverride: ""
configmap:
enabled: true
file: "config/bbgo.yaml"
dotenv: