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] Service Mesh related
[oom.git]
/
kubernetes
/
aai
/
components
/
aai-graphadmin
/
templates
/
job-copy-db-backup.yaml
diff --git
a/kubernetes/aai/components/aai-graphadmin/templates/job-copy-db-backup.yaml
b/kubernetes/aai/components/aai-graphadmin/templates/job-copy-db-backup.yaml
index
d1e7284
..
95c3fe2
100644
(file)
--- a/
kubernetes/aai/components/aai-graphadmin/templates/job-copy-db-backup.yaml
+++ b/
kubernetes/aai/components/aai-graphadmin/templates/job-copy-db-backup.yaml
@@
-126,7
+126,7
@@
spec:
- -c
- |
bash docker-entrypoint.sh dataSnapshot.sh
- -c
- |
bash docker-entrypoint.sh dataSnapshot.sh
- {{
-
include "common.serviceMesh.killSidecar" . | indent 11 | trim }}
+ {{ include "common.serviceMesh.killSidecar" . | indent 11 | trim }}
env:
- name: LOCAL_USER_ID
value: {{ .Values.securityContext.user_id | quote }}
env:
- name: LOCAL_USER_ID
value: {{ .Values.securityContext.user_id | quote }}
@@
-174,12
+174,14
@@
spec:
- name: config
configMap:
name: {{ include "common.fullname" . }}
- name: config
configMap:
name: {{ include "common.fullname" . }}
- - name: properties-input
- configMap:
- name: {{ include "common.fullname" . }}-properties
- name: properties
- name: properties
+ {{- if .Values.global.aafEnabled }}
emptyDir:
medium: Memory
emptyDir:
medium: Memory
+ - name: properties-input
+ {{- end }}
+ configMap:
+ name: {{ include "common.fullname" . }}-properties
- name: migration
configMap:
name: {{ include "common.fullname" . }}-migration
- name: migration
configMap:
name: {{ include "common.fullname" . }}-migration