helm(minor): fix p2 to passbook
This commit is contained in:
parent
8745ac7932
commit
71039a4012
|
@ -34,15 +34,15 @@ spec:
|
|||
- app_gw_web
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: {{ include "p2.fullname" . }}-config
|
||||
name: {{ include "passbook.fullname" . }}-config
|
||||
prefix: PASSBOOK_
|
||||
env:
|
||||
- name: P2_REDIS__PASSWORD
|
||||
- name: PASSBOOK_REDIS__PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: "{{ .Release.Name }}-redis"
|
||||
key: redis-password
|
||||
- name: P2_POSTGRESQL__PASSWORD
|
||||
- name: PASSBOOK_POSTGRESQL__PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: "{{ .Release.Name }}-postgresql"
|
||||
|
|
|
@ -33,15 +33,15 @@ spec:
|
|||
- migrate
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: {{ include "p2.fullname" . }}-config
|
||||
name: {{ include "passbook.fullname" . }}-config
|
||||
prefix: PASSBOOK_
|
||||
env:
|
||||
- name: P2_REDIS__PASSWORD
|
||||
- name: PASSBOOK_REDIS__PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: "{{ .Release.Name }}-redis"
|
||||
key: redis-password
|
||||
- name: P2_POSTGRESQL__PASSWORD
|
||||
- name: PASSBOOK_POSTGRESQL__PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: "{{ .Release.Name }}-postgresql"
|
||||
|
@ -66,15 +66,15 @@ spec:
|
|||
- --stats-http
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: {{ include "p2.fullname" . }}-config
|
||||
name: {{ include "passbook.fullname" . }}-config
|
||||
prefix: PASSBOOK_
|
||||
env:
|
||||
- name: P2_REDIS__PASSWORD
|
||||
- name: PASSBOOK_REDIS__PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: "{{ .Release.Name }}-redis"
|
||||
key: redis-password
|
||||
- name: P2_POSTGRESQL__PASSWORD
|
||||
- name: PASSBOOK_POSTGRESQL__PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: "{{ .Release.Name }}-postgresql"
|
||||
|
|
|
@ -34,15 +34,15 @@ spec:
|
|||
- worker
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: {{ include "p2.fullname" . }}-config
|
||||
name: {{ include "passbook.fullname" . }}-config
|
||||
prefix: PASSBOOK_
|
||||
env:
|
||||
- name: P2_REDIS__PASSWORD
|
||||
- name: PASSBOOK_REDIS__PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: "{{ .Release.Name }}-redis"
|
||||
key: redis-password
|
||||
- name: P2_POSTGRESQL__PASSWORD
|
||||
- name: PASSBOOK_POSTGRESQL__PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: "{{ .Release.Name }}-postgresql"
|
||||
|
|
Reference in a new issue