Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[AAI] Use CertInitializer for AAI Proxy
[oom.git]
/
kubernetes
/
aai
/
templates
/
deployment.yaml
diff --git
a/kubernetes/aai/templates/deployment.yaml
b/kubernetes/aai/templates/deployment.yaml
index
83d7823
..
2ca489f
100644
(file)
--- a/
kubernetes/aai/templates/deployment.yaml
+++ b/
kubernetes/aai/templates/deployment.yaml
@@
-39,7
+39,7
@@
spec:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
spec:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
spec:
- initContainers:
+ initContainers:
{{ include "common.certInitializer.initContainer" . | nindent 6 }}
- command:
- /app/ready.py
args:
- command:
- /app/ready.py
args:
@@
-75,9
+75,7
@@
spec:
subPath: haproxy.cfg
{{ end }}
name: haproxy-cfg
subPath: haproxy.cfg
{{ end }}
name: haproxy-cfg
- - mountPath: /etc/ssl/private/aai.pem
- name: aai-pem
- subPath: aai.pem
+ {{- include "common.certInitializer.volumeMount" . | nindent 8 }}
ports:
- containerPort: {{ .Values.service.internalPort }}
# disable liveness probe when breakpoints set in debugger
ports:
- containerPort: {{ .Values.service.internalPort }}
# disable liveness probe when breakpoints set in debugger
@@
-128,8
+126,6
@@
spec:
- name: haproxy-cfg
configMap:
name: aai-deployment-configmap
- name: haproxy-cfg
configMap:
name: aai-deployment-configmap
- - name: aai-pem
- secret:
- secretName: aai-haproxy-secret
+ {{ include "common.certInitializer.volumes" . | nindent 8 }}
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"