fix: fix hipster secrets env
This commit is contained in:
@@ -23,4 +23,17 @@
|
|||||||
value: /healthz
|
value: /healthz
|
||||||
- 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
|
||||||
|
|||||||
@@ -23,4 +23,22 @@
|
|||||||
value: /healthz
|
value: /healthz
|
||||||
- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user