diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-09-06 07:50:20 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-09-06 07:50:20 +0000 |
commit | 6c8bdb10b085afa5a4680b0254163d00c8e8eb0a (patch) | |
tree | 204e398d8d4752403a1b8cab427e8022a70733cc /kubernetes/dcaegen2-services/common | |
parent | e0429c36d350b7f92bd45bad315150278e72e591 (diff) | |
parent | d263e699d9bb39aca69970f311ac84b3f248acf4 (diff) |
Merge "[DCAEGEN2] Add Consul key delete job"
Diffstat (limited to 'kubernetes/dcaegen2-services/common')
-rw-r--r-- | kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_job.tpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_job.tpl b/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_job.tpl index 6d52b2a087..f3c09161cc 100644 --- a/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_job.tpl +++ b/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_job.tpl @@ -55,7 +55,8 @@ spec: - name: dcae-config-delete image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.consulLoaderImage }} imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} + command: + - /opt/app/delete_key.sh args: - - --delete-key - {{ include "common.name" . }} {{ end -}} |