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-post-upgrade.yaml;h=dcc9b77a63c9614145f2b4bdce1142be369bd054;hb=refs%2Fchanges%2F34%2F1234%2F9;hp=c35e1302d2d13cfece2af518c8670faff2c870b7;hpb=2df61c2fcf64b32ecf7f064ef9cbbe6b54a15bc0;p=it%2Fdep.git diff --git a/ric-infra/30-Kong/helm/kong/charts/kong/templates/migrations-post-upgrade.yaml b/ric-infra/30-Kong/helm/kong/charts/kong/templates/migrations-post-upgrade.yaml index c35e1302..dcc9b77a 100755 --- a/ric-infra/30-Kong/helm/kong/charts/kong/templates/migrations-post-upgrade.yaml +++ b/ric-infra/30-Kong/helm/kong/charts/kong/templates/migrations-post-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 finish" ] restartPolicy: OnFailure {{- end }}