Skip to content

Commit

Permalink
[stable/kong] bump up charts and c* ci test (helm#10516)
Browse files Browse the repository at this point in the history
Signed-off-by: Harry Bagdi <[email protected]>
  • Loading branch information
hbagdi authored and k8s-ci-robot committed Jan 9, 2019
1 parent 432f65a commit 4704252
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 19 deletions.
2 changes: 1 addition & 1 deletion stable/kong/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ maintainers:
name: kong
sources:
- https://github.com/Kong/kong
version: 0.8.0
version: 0.9.0
appVersion: 1.0.0
7 changes: 7 additions & 0 deletions stable/kong/ci/cassandra.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
env:
database: cassandra

cassandra:
enabled: true
postgres:
enabled: false
8 changes: 4 additions & 4 deletions stable/kong/requirements.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies:
- name: postgresql
repository: https://kubernetes-charts.storage.googleapis.com/
version: 0.18.0
version: 3.9.1
- name: cassandra
repository: https://kubernetes-charts-incubator.storage.googleapis.com/
version: 0.2.6
digest: sha256:936a09fac4dfb9a2785fcc4650bb7eea270262529acf091261f39fafdedc9aa2
generated: 2018-09-06T16:46:47.888787-07:00
version: 0.10.2
digest: sha256:ed6abe23258b9eb42a55b21ff68d5df7367e04d0c1de588442f6a91a067616a9
generated: 2019-01-09T12:04:14.047647677-08:00
4 changes: 2 additions & 2 deletions stable/kong/requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies:
- name: postgresql
version: ~0.18.0
version: ~3.9.1
repository: https://kubernetes-charts.storage.googleapis.com/
condition: postgresql.enabled
- name: cassandra
version: ~0.2.6
version: ~0.10.2
repository: https://kubernetes-charts-incubator.storage.googleapis.com/
condition: cassandra.enabled
4 changes: 2 additions & 2 deletions stable/kong/templates/controller-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ template "kong.postgresql.fullname" . }}
key: postgres-password
key: postgresql-password
{{- end }}
{{- if .Values.cassandra.enabled }}
- name: KONG_CASSANDRA_CONTACT_POINTS
Expand Down Expand Up @@ -95,7 +95,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ template "kong.postgresql.fullname" . }}
key: postgres-password
key: postgresql-password
{{- end }}
{{- if .Values.cassandra.enabled }}
- name: KONG_CASSANDRA_CONTACT_POINTS
Expand Down
4 changes: 2 additions & 2 deletions stable/kong/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ template "kong.postgresql.fullname" . }}
key: postgres-password
key: postgresql-password
{{- end }}
{{- if .Values.cassandra.enabled }}
- name: KONG_CASSANDRA_CONTACT_POINTS
Expand Down Expand Up @@ -101,7 +101,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ template "kong.postgresql.fullname" . }}
key: postgres-password
key: postgresql-password
{{- end }}
{{- if .Values.cassandra.enabled }}
- name: KONG_CASSANDRA_CONTACT_POINTS
Expand Down
4 changes: 2 additions & 2 deletions stable/kong/templates/migrations-post-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ template "kong.postgresql.fullname" . }}
key: postgres-password
key: postgresql-password
command: [ "/bin/sh", "-c", "until nc -zv $KONG_PG_HOST $KONG_PG_PORT -w1; do echo 'waiting for db'; sleep 1; done" ]
{{- end }}
containers:
Expand All @@ -65,7 +65,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ template "kong.postgresql.fullname" . }}
key: postgres-password
key: postgresql-password
{{- end }}
{{- if .Values.cassandra.enabled }}
- name: KONG_CASSANDRA_CONTACT_POINTS
Expand Down
4 changes: 2 additions & 2 deletions stable/kong/templates/migrations-pre-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ template "kong.postgresql.fullname" . }}
key: postgres-password
key: postgresql-password
command: [ "/bin/sh", "-c", "until nc -zv $KONG_PG_HOST $KONG_PG_PORT -w1; do echo 'waiting for db'; sleep 1; done" ]
{{- end }}
containers:
Expand All @@ -65,7 +65,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ template "kong.postgresql.fullname" . }}
key: postgres-password
key: postgresql-password
{{- end }}
{{- if .Values.cassandra.enabled }}
- name: KONG_CASSANDRA_CONTACT_POINTS
Expand Down
4 changes: 2 additions & 2 deletions stable/kong/templates/migrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ template "kong.postgresql.fullname" . }}
key: postgres-password
key: postgresql-password
command: [ "/bin/sh", "-c", "until nc -zv $KONG_PG_HOST $KONG_PG_PORT -w1; do echo 'waiting for db'; sleep 1; done" ]
{{- end }}
containers:
Expand All @@ -60,7 +60,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ template "kong.postgresql.fullname" . }}
key: postgres-password
key: postgresql-password
{{- end }}
{{- if .Values.cassandra.enabled }}
- name: KONG_CASSANDRA_CONTACT_POINTS
Expand Down
4 changes: 2 additions & 2 deletions stable/kong/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ cassandra:
# PostgreSQL chart configs
postgresql:
enabled: true
postgresUser: kong
postgresDatabase: kong
postgresqlUsername: kong
postgresqlDatabase: kong
service:
port: 5432

Expand Down

0 comments on commit 4704252

Please sign in to comment.