about summary refs log tree commit diff
path: root/k8s/payload-processor
diff options
context:
space:
mode:
Diffstat (limited to 'k8s/payload-processor')
-rw-r--r--k8s/payload-processor/templates/deployment.yaml2
-rw-r--r--k8s/payload-processor/values.yaml3
2 files changed, 5 insertions, 0 deletions
diff --git a/k8s/payload-processor/templates/deployment.yaml b/k8s/payload-processor/templates/deployment.yaml
index b9ab76e..6ab4c90 100644
--- a/k8s/payload-processor/templates/deployment.yaml
+++ b/k8s/payload-processor/templates/deployment.yaml
@@ -39,6 +39,8 @@ spec:
               secretKeyRef:
                 name: kafka-user-passwords
                 key: client-passwords
+          - name: DB_PASSWORD
+            value: {{ .Values.db.password }}
       {{- with .Values.nodeSelector }}
       nodeSelector:
         {{- toYaml . | nindent 8 }}
diff --git a/k8s/payload-processor/values.yaml b/k8s/payload-processor/values.yaml
index b6c065b..a245901 100644
--- a/k8s/payload-processor/values.yaml
+++ b/k8s/payload-processor/values.yaml
@@ -4,6 +4,9 @@
 
 replicaCount: 1
 
+db:
+  password: ""
+
 image:
   repository: docker.io/baitinq/fs-tracer
   pullPolicy: IfNotPresent