X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-infra%2F30-Kong%2Fhelm%2Fkong%2Fcharts%2Fkong%2Ftemplates%2Fmigrations-pre-upgrade.yaml;h=18398715d7114fe47a9071daad630de2b0fc21cf;hb=refs%2Fchanges%2F34%2F1234%2F9;hp=7338c06c8a73aca6aaa410728ff51ebdfca87ebc;hpb=2df61c2fcf64b32ecf7f064ef9cbbe6b54a15bc0;p=it%2Fdep.git diff --git a/ric-infra/30-Kong/helm/kong/charts/kong/templates/migrations-pre-upgrade.yaml b/ric-infra/30-Kong/helm/kong/charts/kong/templates/migrations-pre-upgrade.yaml index 7338c06c..18398715 100755 --- a/ric-infra/30-Kong/helm/kong/charts/kong/templates/migrations-pre-upgrade.yaml +++ b/ric-infra/30-Kong/helm/kong/charts/kong/templates/migrations-pre-upgrade.yaml @@ -55,7 +55,6 @@ spec: {{- if .Values.enterprise.enabled }} {{- include "kong.license" . | nindent 8 }} {{- end }} - {{- include "kong.env" . | indent 8 }} {{- if .Values.postgresql.enabled }} - name: KONG_PG_HOST value: {{ template "kong.postgresql.fullname" . }} @@ -71,6 +70,7 @@ spec: - name: KONG_CASSANDRA_CONTACT_POINTS value: {{ template "kong.cassandra.fullname" . }} {{- end }} + {{- include "kong.env" . | indent 8 }} command: [ "/bin/sh", "-c", "kong migrations up" ] restartPolicy: OnFailure {{- end }}