mirror of
https://github.com/bitnami/charts.git
synced 2026-03-29 16:27:11 +08:00
[bitnami/clickhouse] feat: MySQL & PostgreSQL ports to be optionally exposed (#35294)
This commit is contained in:
committed by
GitHub
parent
75f6a284d2
commit
bff9e31d39
@@ -1,8 +1,15 @@
|
||||
# Changelog
|
||||
|
||||
## 9.3.11 (2025-07-24)
|
||||
## 9.4.0 (2025-07-25)
|
||||
|
||||
* [bitnami/clickhouse] :zap: :arrow_up: Update dependency references ([#35283](https://github.com/bitnami/charts/pull/35283))
|
||||
* [bitnami/clickhouse] feat: MySQL & PostgreSQL ports to be optionally exposed ([#35294](https://github.com/bitnami/charts/pull/35294))
|
||||
|
||||
## <small>9.3.11 (2025-07-24)</small>
|
||||
|
||||
* [bitnami/*] Adapt main README and change ascii (#35173) ([73d15e0](https://github.com/bitnami/charts/commit/73d15e03e04647efa902a1d14a09ea8657429cd0)), closes [#35173](https://github.com/bitnami/charts/issues/35173)
|
||||
* [bitnami/*] Adapt welcome message to BSI (#35170) ([e1c8146](https://github.com/bitnami/charts/commit/e1c8146831516fb35de736a6f3fd10e5e7a44286)), closes [#35170](https://github.com/bitnami/charts/issues/35170)
|
||||
* [bitnami/*] Add BSI to charts' READMEs (#35174) ([4973fd0](https://github.com/bitnami/charts/commit/4973fd08dd7e95398ddcc4054538023b542e19f2)), closes [#35174](https://github.com/bitnami/charts/issues/35174)
|
||||
* [bitnami/clickhouse] :zap: :arrow_up: Update dependency references (#35283) ([b266e90](https://github.com/bitnami/charts/commit/b266e9010ee1cf4c6d0fbf1b5444e57ecf281ec3)), closes [#35283](https://github.com/bitnami/charts/issues/35283)
|
||||
|
||||
## <small>9.3.10 (2025-07-15)</small>
|
||||
|
||||
|
||||
@@ -34,4 +34,4 @@ maintainers:
|
||||
name: clickhouse
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/clickhouse
|
||||
version: 9.3.11
|
||||
version: 9.4.0
|
||||
|
||||
@@ -330,6 +330,8 @@ The [Bitnami ClickHouse](https://github.com/bitnami/containers/tree/main/bitnami
|
||||
| `shards` | Number of ClickHouse shards to deploy | `2` |
|
||||
| `replicaCount` | Number of ClickHouse replicas per shard to deploy | `3` |
|
||||
| `distributeReplicasByZone` | Schedules replicas of the same shard to different availability zones | `false` |
|
||||
| `exposeMysql` | Expose MySQL port container port | `true` |
|
||||
| `exposePostgresql` | Expose PostgreSQL port container port | `true` |
|
||||
| `containerPorts.http` | ClickHouse HTTP container port | `8123` |
|
||||
| `containerPorts.https` | ClickHouse HTTPS container port | `8443` |
|
||||
| `containerPorts.tcp` | ClickHouse TCP container port | `9000` |
|
||||
|
||||
@@ -34,14 +34,18 @@ spec:
|
||||
port: {{ .Values.containerPorts.tcpSecure }}
|
||||
protocol: TCP
|
||||
{{- end }}
|
||||
{{- if .Values.exposeMysql }}
|
||||
- name: tcp-mysql
|
||||
targetPort: tcp-mysql
|
||||
port: {{ .Values.containerPorts.mysql }}
|
||||
protocol: TCP
|
||||
{{- end }}
|
||||
{{- if .Values.exposePostgresql }}
|
||||
- name: tcp-postgresql
|
||||
targetPort: tcp-postgresql
|
||||
port: {{ .Values.containerPorts.postgresql }}
|
||||
protocol: TCP
|
||||
{{- end }}
|
||||
- name: http-intersrv
|
||||
targetPort: http-intersrv
|
||||
port: {{ .Values.containerPorts.interserver }}
|
||||
|
||||
@@ -63,8 +63,12 @@ spec:
|
||||
{{- if .Values.tls.enabled }}
|
||||
- port: {{ .Values.service.ports.tcpSecure }}
|
||||
{{- end }}
|
||||
{{- if .Values.exposeMysql }}
|
||||
- port: {{ .Values.service.ports.mysql }}
|
||||
{{- end }}
|
||||
{{- if .Values.exposePostgresql }}
|
||||
- port: {{ .Values.service.ports.postgresql }}
|
||||
{{- end }}
|
||||
- port: {{ .Values.service.ports.interserver }}
|
||||
{{- if .Values.metrics.enabled }}
|
||||
- port: {{ .Values.service.ports.metrics }}
|
||||
@@ -82,8 +86,12 @@ spec:
|
||||
- ports:
|
||||
- port: {{ .Values.containerPorts.http }}
|
||||
- port: {{ .Values.containerPorts.tcp }}
|
||||
{{- if .Values.exposeMysql }}
|
||||
- port: {{ .Values.containerPorts.mysql }}
|
||||
{{- end }}
|
||||
{{- if .Values.exposePostgresql }}
|
||||
- port: {{ .Values.containerPorts.postgresql }}
|
||||
{{- end }}
|
||||
- port: {{ .Values.containerPorts.interserver }}
|
||||
{{- if .Values.tls.enabled }}
|
||||
- port: {{ .Values.containerPorts.tcpSecure }}
|
||||
|
||||
@@ -120,6 +120,7 @@ spec:
|
||||
nodePort: null
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .context.Values.exposeMysql }}
|
||||
- name: tcp-mysql
|
||||
targetPort: tcp-mysql
|
||||
port: {{ .context.Values.service.ports.mysql }}
|
||||
@@ -133,6 +134,8 @@ spec:
|
||||
{{- else if eq .context.Values.service.type "ClusterIP" }}
|
||||
nodePort: null
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .context.Values.exposePostgresql }}
|
||||
- name: tcp-postgresql
|
||||
targetPort: tcp-postgresql
|
||||
port: {{ .context.Values.service.ports.postgresql }}
|
||||
@@ -146,6 +149,7 @@ spec:
|
||||
{{- else if eq .context.Values.service.type "ClusterIP" }}
|
||||
nodePort: null
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
- name: http-intersrv
|
||||
targetPort: http-intersrv
|
||||
port: {{ .context.Values.service.ports.interserver }}
|
||||
|
||||
@@ -181,10 +181,14 @@ spec:
|
||||
- name: tcp-secure
|
||||
containerPort: {{ $.Values.containerPorts.tcpSecure }}
|
||||
{{- end }}
|
||||
{{- if $.Values.exposePostgresql }}
|
||||
- name: tcp-postgresql
|
||||
containerPort: {{ $.Values.containerPorts.postgresql }}
|
||||
{{- end }}
|
||||
{{- if $.Values.exposeMysql }}
|
||||
- name: tcp-mysql
|
||||
containerPort: {{ $.Values.containerPorts.mysql }}
|
||||
{{- end }}
|
||||
- name: http-intersrv
|
||||
containerPort: {{ $.Values.containerPorts.interserver }}
|
||||
{{- if $.Values.metrics.enabled }}
|
||||
|
||||
@@ -302,6 +302,11 @@ replicaCount: 3
|
||||
## @param distributeReplicasByZone Schedules replicas of the same shard to different availability zones
|
||||
##
|
||||
distributeReplicasByZone: false
|
||||
## @param exposeMysql Expose MySQL port container port
|
||||
## @param exposePostgresql Expose PostgreSQL port container port
|
||||
##
|
||||
exposeMysql: true
|
||||
exposePostgresql: true
|
||||
## @param containerPorts.http ClickHouse HTTP container port
|
||||
## @param containerPorts.https ClickHouse HTTPS container port
|
||||
## @param containerPorts.tcp ClickHouse TCP container port
|
||||
|
||||
Reference in New Issue
Block a user