mirror of
https://github.com/bitnami/charts.git
synced 2026-08-09 12:55:41 +08:00
[bitnami/clickhouse-operator] feat: ✨ Allow setting IP Families (#33606)
* [bitnami/clickhouse-operator] feat: ✨ Allow setting IP Families Signed-off-by: Javier J. Salmerón García <javier.salmeron@broadcom.com> * Update CHANGELOG.md Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> --------- Signed-off-by: Javier J. Salmerón García <javier.salmeron@broadcom.com> Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> Co-authored-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
co-authored by
Bitnami Bot
parent
4229d7766a
commit
9c8e84c917
@@ -1,8 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 0.1.8 (2025-05-06)
|
||||
## 0.2.0 (2025-05-12)
|
||||
|
||||
* [bitnami/clickhouse-operator] Release 0.1.8 ([#33470](https://github.com/bitnami/charts/pull/33470))
|
||||
* [bitnami/clickhouse-operator] feat: :sparkles: Allow setting IP Families ([#33606](https://github.com/bitnami/charts/pull/33606))
|
||||
|
||||
## <small>0.1.8 (2025-05-06)</small>
|
||||
|
||||
* [bitnami/clickhouse-operator] Release 0.1.8 (#33470) ([406dcc6](https://github.com/bitnami/charts/commit/406dcc6bcfa614950ff41cd0f22c1e72fc543f9b)), closes [#33470](https://github.com/bitnami/charts/issues/33470)
|
||||
|
||||
## <small>0.1.7 (2025-05-06)</small>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: oci://registry-1.docker.io/bitnamicharts
|
||||
version: 2.31.0
|
||||
digest: sha256:c4c9af4e0ca23cf2c549e403b2a2bba2c53a3557cee23da09fa4cdf710044c2c
|
||||
generated: "2025-05-06T09:59:02.257782271+02:00"
|
||||
version: 2.31.1
|
||||
digest: sha256:38d6de6fd62a10417ff51df8b2c5e0cf294de80fe393c4e9f3247ca6433718fa
|
||||
generated: "2025-05-12T11:38:28.98991273+02:00"
|
||||
|
||||
@@ -38,4 +38,4 @@ name: clickhouse-operator
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/clickhouse-operator
|
||||
- https://github.com/bitnami/containers/tree/main/bitnami/clickhouse-operator
|
||||
version: 0.1.8
|
||||
version: 0.2.0
|
||||
|
||||
@@ -303,6 +303,8 @@ Check the [official quickstart guide](https://docs.altinity.com/altinitykubernet
|
||||
| `auth.existingSecret` | Name of a secret containing the Admin credentials | `""` |
|
||||
| `auth.existingSecretUsernameKey` | Name of the key inside the existing secret containing the Admin username | `""` |
|
||||
| `auth.existingSecretPasswordKey` | Name of the key inside the existing secret containing the Admin password | `""` |
|
||||
| `ipFamily.enableIpv4` | Enable IPv4 addresses | `true` |
|
||||
| `ipFamily.enableIpv6` | Enable IPv6 listening | `true` |
|
||||
| `replicaCount` | Number of ClickHouse Operator replicas to deploy | `1` |
|
||||
| `containerPorts.metrics` | ClickHouse Operator Metrics container port | `9999` |
|
||||
| `extraContainerPorts` | Optionally specify extra list of additional ports for ClickHouse Operator containers | `[]` |
|
||||
|
||||
@@ -175,6 +175,7 @@ Compile all warnings into a single message.
|
||||
{{- define "clickhouse-operator.validateValues" -}}
|
||||
{{- $messages := list -}}
|
||||
{{- $messages := append $messages (include "clickhouse-operator.validateValues.extraVolumes" .) -}}
|
||||
{{- $messages := append $messages (include "clickhouse-operator.validateValues.ipFamily" .) -}}
|
||||
{{- $messages := without $messages "" -}}
|
||||
{{- $message := join "\n" $messages -}}
|
||||
|
||||
@@ -193,3 +194,13 @@ clickhouse-operator: missing-extra-volume-mounts
|
||||
the extraVolumeMounts value
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Validate values of ClickHouse Operator - Incorrect extra volume settings
|
||||
*/}}
|
||||
{{- define "clickhouse-operator.validateValues.ipFamily" -}}
|
||||
{{- if not (or .Values.ipFamily.enableIpv4 .Values.ipFamily.enableIpv6) -}}
|
||||
clickhouse-operator: missing-ip-families
|
||||
You did not specify any allowed IP Family, please set at least one of ipFamily.enableIpv4=true or ipFamily.enableIpv6=true
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
@@ -25,8 +25,12 @@ data:
|
||||
# Ref: https://github.com/Altinity/clickhouse-operator/tree/master/deploy/builder/templates-config/chi/config.d
|
||||
01-clickhouse-01-listen.xml: |
|
||||
<yandex>
|
||||
<listen_host>::</listen_host>
|
||||
{{- if .Values.ipFamily.enableIpv4 }}
|
||||
<listen_host>0.0.0.0</listen_host>
|
||||
{{- end }}
|
||||
{{- if .Values.ipFamily.enableIpv6 }}
|
||||
<listen_host>::</listen_host>
|
||||
{{- end }}
|
||||
<listen_try>1</listen_try>
|
||||
</yandex>
|
||||
01-clickhouse-02-logger.xml: |
|
||||
|
||||
@@ -38,8 +38,14 @@ data:
|
||||
<storage_path>/bitnami/clickhouse-keeper</storage_path>
|
||||
<tcp_port>2181</tcp_port>
|
||||
</keeper_server>
|
||||
<listen_host>::</listen_host>
|
||||
{{- if .Values.ipFamily.enableIpv4 }}
|
||||
<listen_host>0.0.0.0</listen_host>
|
||||
<interserver_listen_host>0.0.0.0</interserver_listen_host>
|
||||
{{- end }}
|
||||
{{- if .Values.ipFamily.enableIpv6 }}
|
||||
<listen_host>::</listen_host>
|
||||
<interserver_listen_host>::</interserver_listen_host>
|
||||
{{- end }}
|
||||
<listen_try>1</listen_try>
|
||||
<logger>
|
||||
<console>1</console>
|
||||
|
||||
@@ -164,6 +164,11 @@ auth:
|
||||
existingSecret: ""
|
||||
existingSecretUsernameKey: ""
|
||||
existingSecretPasswordKey: ""
|
||||
## @param ipFamily.enableIpv4 Enable IPv4 addresses
|
||||
## @param ipFamily.enableIpv6 Enable IPv6 listening
|
||||
ipFamily:
|
||||
enableIpv4: true
|
||||
enableIpv6: true
|
||||
## @param replicaCount Number of ClickHouse Operator replicas to deploy
|
||||
##
|
||||
replicaCount: 1
|
||||
|
||||
Reference in New Issue
Block a user