Skip to content

Commit a1691e5

Browse files
committed
update chart manifest
Signed-off-by: josedev-union <[email protected]>
1 parent 67af475 commit a1691e5

File tree

4 files changed

+31
-0
lines changed

4 files changed

+31
-0
lines changed

charts/opensearch-cluster/templates/cluster.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ spec:
5656
{{- with .tls.transport.secret }}
5757
secret: {{ . | toYaml | nindent 10 }}
5858
{{- end }}
59+
{{- if .tls.transport.enableHotReload }}
60+
enableHotReload: {{ .tls.transport.enableHotReload }}
61+
{{- end }}
5962
http:
6063
{{- if .tls.http.generate }}
6164
generate: {{ .tls.http.generate }}
@@ -66,6 +69,9 @@ spec:
6669
{{- with .tls.http.caSecret }}
6770
caSecret: {{ . | toYaml | nindent 10 }}
6871
{{- end }}
72+
{{- if .tls.http.enableHotReload }}
73+
enableHotReload: {{ .tls.http.enableHotReload }}
74+
{{- end }}
6975
{{- with .config }}
7076
config: {{ . | toYaml | nindent 6 }}
7177
{{- end }}

charts/opensearch-cluster/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,9 @@ cluster:
326326
secret: {}
327327
# name: "secret-name"
328328

329+
# -- Enable hot reloading of TLS certificates.
330+
enableHotReload: false
331+
329332
transport:
330333
# -- DNs of certificates that should have admin access, mainly used for securityconfig updates via securityadmin.sh,
331334
# only used when existing certificates are provided
@@ -351,6 +354,8 @@ cluster:
351354
secret: {}
352355
# name: "secret-name"
353356

357+
# -- Enable hot reloading of TLS certificates.
358+
enableHotReload: false
354359

355360
# Opensearch Ingress configuration
356361
ingress:

charts/opensearch-operator/files/opensearch.opster.io_opensearchclusters.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3341,6 +3341,12 @@ spec:
33413341
enable:
33423342
description: Enable HTTPS for Dashboards
33433343
type: boolean
3344+
enableHotReload:
3345+
description: Enable hot reloading of TLS certificates. When
3346+
enabled, certificates are mounted as directories instead
3347+
of using subPath, allowing Kubernetes to update certificate
3348+
files when secrets are updated.
3349+
type: boolean
33443350
generate:
33453351
description: Generate certificate, if false secret must be
33463352
provided
@@ -6264,6 +6270,12 @@ spec:
62646270
type: string
62656271
type: object
62666272
x-kubernetes-map-type: atomic
6273+
enableHotReload:
6274+
description: Enable hot reloading of TLS certificates.
6275+
When enabled, certificates are mounted as directories
6276+
instead of using subPath, allowing Kubernetes to update
6277+
certificate files when secrets are updated.
6278+
type: boolean
62676279
generate:
62686280
description: If set to true the operator will generate
62696281
a CA and certificates for the cluster to use, if false
@@ -6317,6 +6329,12 @@ spec:
63176329
type: string
63186330
type: object
63196331
x-kubernetes-map-type: atomic
6332+
enableHotReload:
6333+
description: Enable hot reloading of TLS certificates.
6334+
When enabled, certificates are mounted as directories
6335+
instead of using subPath, allowing Kubernetes to update
6336+
certificate files when secrets are updated.
6337+
type: boolean
63206338
generate:
63216339
description: If set to true the operator will generate
63226340
a CA and certificates for the cluster to use, if false

go.work.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,7 @@ golang.org/x/sync v0.15.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
778778
golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
779779
golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
780780
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
781+
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
781782
golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
782783
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
783784
golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
@@ -858,6 +859,7 @@ gopkg.in/square/go-jose.v2 v2.2.2 h1:orlkJ3myw8CN1nVQHBFfloD+L3egixIa4FvUP6RosSA
858859
gopkg.in/square/go-jose.v2 v2.6.0 h1:NGk74WTnPKBNUhNzQX7PYcTLUjoq7mzKk2OKbvwk2iI=
859860
gopkg.in/square/go-jose.v2 v2.6.0/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI=
860861
gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
862+
gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
861863
gotest.tools/v3 v3.0.3 h1:4AuOwCGf4lLR9u3YOe2awrHygurzhO/HeQ6laiA6Sx0=
862864
helm.sh/helm/v3 v3.12.0 h1:rOq2TPVzg5jt4q5ermAZGZFxNW2uQhKjRhBneAutMEM=
863865
helm.sh/helm/v3 v3.12.0/go.mod h1:8K/469yxjUMu6BaD2EagCitkPjELUL/l2AgCO142G94=

0 commit comments

Comments
 (0)