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.yaml;h=76c9b2975dfaee7bb96247b3a586d7939fdb06ac;hb=refs%2Fchanges%2F34%2F1234%2F9;hp=a0039239f28d0536c0c382390c08cfc26328cb49;hpb=2df61c2fcf64b32ecf7f064ef9cbbe6b54a15bc0;p=it%2Fdep.git diff --git a/ric-infra/30-Kong/helm/kong/charts/kong/templates/migrations.yaml b/ric-infra/30-Kong/helm/kong/charts/kong/templates/migrations.yaml index a0039239..76c9b297 100755 --- a/ric-infra/30-Kong/helm/kong/charts/kong/templates/migrations.yaml +++ b/ric-infra/30-Kong/helm/kong/charts/kong/templates/migrations.yaml @@ -50,7 +50,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" . }} @@ -66,6 +65,7 @@ spec: - name: KONG_CASSANDRA_CONTACT_POINTS value: {{ template "kong.cassandra.fullname" . }} {{- end }} + {{- include "kong.env" . | indent 8 }} command: [ "/bin/sh", "-c", "kong migrations bootstrap" ] restartPolicy: OnFailure {{- end }}