diff --git a/github-integration/templates/deployment.yaml b/github-integration/templates/deployment.yaml index 4876ae8..aaf6fd1 100644 --- a/github-integration/templates/deployment.yaml +++ b/github-integration/templates/deployment.yaml @@ -48,6 +48,16 @@ spec: secretKeyRef: name: github-integration key: integration-private-key + - name: COCKROACHDB_USER + valueFrom: + secretKeyRef: + name: github-int-db + key: user + - name: COCKROACHDB_PASSWORD + valueFrom: + secretKeyRef: + name: github-int-db + key: password {{- range .Values.externalServices }} - name: {{ printf "%s_SERVICE_HOST" .name | upper }} value: {{ .host }} diff --git a/k8s-community/templates/deployment.yaml b/k8s-community/templates/deployment.yaml index ff486b8..327984a 100644 --- a/k8s-community/templates/deployment.yaml +++ b/k8s-community/templates/deployment.yaml @@ -46,12 +46,12 @@ spec: - name: COCKROACHDB_USER valueFrom: secretKeyRef: - name: cockroachdb + name: k8s-community-db key: user - name: COCKROACHDB_PASSWORD valueFrom: secretKeyRef: - name: cockroachdb + name: k8s-community-db key: password - name: K8S_GUEST_TOKEN valueFrom: