diff --git a/openstack/archer/templates/job-migration.yaml b/openstack/archer/templates/job-migration.yaml index 2618e36bbd..0a946a997f 100644 --- a/openstack/archer/templates/job-migration.yaml +++ b/openstack/archer/templates/job-migration.yaml @@ -28,8 +28,8 @@ spec: - name: {{ include "archer.fullname" . }}-migration image: "{{ .Values.global.registry }}/archer:{{ .Values.image.tag | required ".Values.image.tag is required" }}" {{- if and $.Values.global.linkerd_enabled $.Values.global.linkerd_requested }} - command: [ "/linkerd-await" ] - args: [ "--shutdown", "--", "/usr/bin/archer-migrate", "--config-file=/etc/archer/archer.ini" ] + command: [ "/bin/sh" ] + args: [ "-c", "/usr/bin/archer-migrate --config-file=/etc/archer/archer.ini && wget -O- --post-data hello=shutdown http://0.0.0.0:4191/shutdown" ] {{- else }} command: [ "/usr/bin/archer-migrate" ] args: [ "--config-file=/etc/archer/archer.ini" ] @@ -40,10 +40,6 @@ spec: secretKeyRef: name: sentry key: archer.DSN - {{- if not (and $.Values.global.linkerd_enabled $.Values.global.linkerd_requested) }} - - name: LINKERD_AWAIT_DISABLED - value: "Linkerd was not enabled or not requested" - {{- end }} - name: PGPASSWORD valueFrom: secretKeyRef: