UNCLASSIFIED

Commit 3418123e authored by Grant Duncklee's avatar Grant Duncklee
Browse files

quit istio sidecar on completion

parent 393aeaae
...@@ -2,13 +2,6 @@ ...@@ -2,13 +2,6 @@
apiVersion: batch/v1 apiVersion: batch/v1
kind: Job kind: Job
metadata: metadata:
labels:
{{ include "nexus.labels" . | indent 4 }}
{{- if .Values.nexus.extraLabels }}
{{- with .Values.nexus.extraLabels }}
{{ toYaml . | indent 4 }}
{{- end }}
{{- end }}
annotations: annotations:
"helm.sh/hook": post-install "helm.sh/hook": post-install
creationTimestamp: null creationTimestamp: null
...@@ -48,7 +41,9 @@ spec: ...@@ -48,7 +41,9 @@ spec:
"$BASE_URL/service/rest/v1/security/roles" \ "$BASE_URL/service/rest/v1/security/roles" \
-H "accept: application/json" \ -H "accept: application/json" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d "$ROLE" -d "$ROLE" &&
curl -fsI -X POST http://localhost:15020/quitquitquit &&
exit
env: env:
- name: API_CREDENTIALS - name: API_CREDENTIALS
valueFrom: valueFrom:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment