Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[GENERAL] Use readiness container v3.0.1
[oom.git]
/
kubernetes
/
dcaemod
/
components
/
dcaemod-onboarding-api
/
templates
/
deployment.yaml
diff --git
a/kubernetes/dcaemod/components/dcaemod-onboarding-api/templates/deployment.yaml
b/kubernetes/dcaemod/components/dcaemod-onboarding-api/templates/deployment.yaml
index
2a7a6c1
..
27641bc
100644
(file)
--- a/
kubernetes/dcaemod/components/dcaemod-onboarding-api/templates/deployment.yaml
+++ b/
kubernetes/dcaemod/components/dcaemod-onboarding-api/templates/deployment.yaml
@@
-26,10
+26,10
@@
spec:
spec:
initContainers:
- name: {{ include "common.name" . }}-readiness
spec:
initContainers:
- name: {{ include "common.name" . }}-readiness
- image: {{
.Values.global.readinessRepository
}}/{{ .Values.global.readinessImage }}
+ image: {{
include "common.repository" .
}}/{{ .Values.global.readinessImage }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
command:
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
command:
- - /
root
/ready.py
+ - /
app
/ready.py
args:
- --container-name
- {{ .Values.postgres.nameOverride }}
args:
- --container-name
- {{ .Values.postgres.nameOverride }}
@@
-71,7
+71,7
@@
spec:
- name: PG_USER
value: postgres
- name: PG_PASSWORD
- name: PG_USER
value: postgres
- name: PG_PASSWORD
- {{- include "common.secret.envFromSecret" (dict "global" . "uid" "db-root-pass" "key" "password") | indent 14 }}
+ {{- include "common.secret.envFromSecret
Fast
" (dict "global" . "uid" "db-root-pass" "key" "password") | indent 14 }}
- name: PG_PORT
value: "5432"
- name: PG_DB_NAME
- name: PG_PORT
value: "5432"
- name: PG_DB_NAME