Skip to content

Commit 78a0ab0

Browse files
committed
feat: allow to set ip_adress_types flag in the cloud sql proxy command
1 parent afcf349 commit 78a0ab0

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

charts/metabase/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description:
33
The easy, open source way for everyone in your company to ask questions
44
and learn from data.
55
name: metabase
6-
version: 2.27.4
6+
version: 2.27.5
77
appVersion: v0.61.1.x
88
maintainers:
99
- name: pmint93

charts/metabase/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,9 @@ spec:
290290
- "-structured_logs"
291291
- "-use_http_health_check"
292292
- "-enable_iam_login"
293+
{{- if .Values.database.googleCloudSQL.ipAddressTypes }}
294+
- "-ip_address_types={{ .Values.database.googleCloudSQL.ipAddressTypes }}"
295+
{{- end }}
293296
securityContext:
294297
{{- .Values.database.googleCloudSQL.securityContext | toYaml | nindent 12 }}
295298
livenessProbe:

charts/metabase/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ database:
127127
## example format: $project:$region:$instance=tcp:$port
128128
## Each connection must have a unique TCP port.
129129
instanceConnectionNames: []
130+
## IP address types for Cloud SQL (e.g. PRIVATE,PUBLIC)
131+
ipAddressTypes: ""
132+
#
130133
## Option to use a specific version and image of the *Cloud SQL Auth proxy* sidecar image.
131134
## ref: https://console.cloud.google.com/gcr/images/cloudsql-docker/GLOBAL/gce-proxy
132135
# sidecarImage: gcr.io/cloudsql-docker/gce-proxy

0 commit comments

Comments
 (0)