fix: fix hipster secrets env

This commit is contained in:
2024-02-12 18:19:53 +01:00
parent a3976b33b2
commit b19f09d481
2 changed files with 33 additions and 2 deletions
+13
View File
@@ -24,3 +24,16 @@
- op: replace - op: replace
path: /spec/template/spec/containers/0/readinessProbe/httpGet/path path: /spec/template/spec/containers/0/readinessProbe/httpGet/path
value: /healthz value: /healthz
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: AMQP_PASSWORD
valueFrom:
secretKeyRef:
name: prod-rabbitmq
key: rabbitmq-password
- op: add
path: /spec/template/spec/containers/0/envFrom/-
value:
secretRef:
name: hipster-env
@@ -24,3 +24,21 @@
- op: replace - op: replace
path: /spec/template/spec/containers/0/readinessProbe/httpGet/path path: /spec/template/spec/containers/0/readinessProbe/httpGet/path
value: /healthz value: /healthz
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: AMQP_USER
value: user
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: AMQP_PASSWORD
valueFrom:
secretKeyRef:
name: staging-rabbitmq
key: rabbitmq-password
- op: add
path: /spec/template/spec/containers/0/envFrom/-
value:
secretRef:
name: hipster-env