Merge pull request #151 from c9s/feature/chart/configmap-option

This commit is contained in:
Yo-An Lin 2021-03-14 11:51:13 +08:00 committed by GitHub
commit ae4e0567fe
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: