Code Review
/
it
/
dep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Moving dev back to LF Gerrit
[it/dep.git]
/
ric-infra
/
30-Kong
/
helm
/
kong
/
charts
/
kong
/
templates
/
migrations-pre-upgrade.yaml
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
7338c06
..
1839871
100755
(executable)
--- 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 }}
{{- 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" . }}
{{- 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 }}
- 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 }}
command: [ "/bin/sh", "-c", "kong migrations up" ]
restartPolicy: OnFailure
{{- end }}