diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-12-02 06:59:00 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-12-02 06:59:00 +0000 |
commit | 58b7790705734e89991092c7dd2863654bc3dcb4 (patch) | |
tree | 884b0a9b07df2d6feebea1dcb82a84150088fb35 /kubernetes/aai/components/aai-graphadmin/templates/job-create-db.yaml | |
parent | 81084d7169426b0d05710446cc23e233eae34b72 (diff) | |
parent | 5117667a9bfd9f4bc93c4a8a7c20a8514868da19 (diff) |
Merge "[AAI] Service Mesh related"
Diffstat (limited to 'kubernetes/aai/components/aai-graphadmin/templates/job-create-db.yaml')
-rw-r--r-- | kubernetes/aai/components/aai-graphadmin/templates/job-create-db.yaml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/kubernetes/aai/components/aai-graphadmin/templates/job-create-db.yaml b/kubernetes/aai/components/aai-graphadmin/templates/job-create-db.yaml index 4a7de648e7..62e27b6321 100644 --- a/kubernetes/aai/components/aai-graphadmin/templates/job-create-db.yaml +++ b/kubernetes/aai/components/aai-graphadmin/templates/job-create-db.yaml @@ -126,7 +126,7 @@ spec: - -c - | bash docker-entrypoint.sh createDBSchema.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 }} @@ -173,12 +173,14 @@ spec: - name: config configMap: name: {{ include "common.fullname" . }} - - name: properties-input - configMap: - name: {{ include "common.fullname" . }}-properties - name: properties + {{- if .Values.global.aafEnabled }} emptyDir: medium: Memory + - name: properties-input + {{- end }} + configMap: + name: {{ include "common.fullname" . }}-properties restartPolicy: Never imagePullSecrets: - name: {{ include "common.namespace" . }}-docker-registry-key |