init commit
This commit is contained in:
16
deploy/helm/templates/configmap.yaml
Normal file
16
deploy/helm/templates/configmap.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ include "cago.fullname" . }}
|
||||
data:
|
||||
config.yaml: |
|
||||
source: etcd
|
||||
env: {{ .Values.appConfig.env }}
|
||||
debug: {{ .Values.appConfig.debug }}
|
||||
version: 1.0.0
|
||||
etcd:
|
||||
prefix: /config
|
||||
endpoints:
|
||||
- etcd-config.core.svc.cluster.local:2379
|
||||
username: {{ .Values.etcdConfig.username }}
|
||||
password: {{ .Values.etcdConfig.password }}
|
Reference in New Issue
Block a user