diff --git a/bitnami/opensearch/CHANGELOG.md b/bitnami/opensearch/CHANGELOG.md index d85151f6ef..db98c474b8 100644 --- a/bitnami/opensearch/CHANGELOG.md +++ b/bitnami/opensearch/CHANGELOG.md @@ -1,8 +1,12 @@ # Changelog -## 1.9.2 (2025-05-06) +## 1.9.3 (2025-05-07) -* [bitnami/opensearch] Release 1.9.2 ([#33452](https://github.com/bitnami/charts/pull/33452)) +* [bitnami/opensearch] chore: :recycle: :arrow_up: Update common and remove k8s < 1.23 references ([#33418](https://github.com/bitnami/charts/pull/33418)) + +## 1.9.2 (2025-05-06) + +* [bitnami/opensearch] Release 1.9.2 (#33452) ([e9e4ae7](https://github.com/bitnami/charts/commit/e9e4ae793f095b2ab359a5dce6c2e1567711e71f)), closes [#33452](https://github.com/bitnami/charts/issues/33452) ## 1.9.1 (2025-04-09) diff --git a/bitnami/opensearch/Chart.lock b/bitnami/opensearch/Chart.lock index be5a11ffa9..3e403e5f1f 100644 --- a/bitnami/opensearch/Chart.lock +++ b/bitnami/opensearch/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: common repository: oci://registry-1.docker.io/bitnamicharts - version: 2.30.0 -digest: sha256:46afdf79eae69065904d430f03f7e5b79a148afed20aa45ee83ba88adc036169 -generated: "2025-02-20T08:57:06.156173+01:00" + version: 2.31.0 +digest: sha256:c4c9af4e0ca23cf2c549e403b2a2bba2c53a3557cee23da09fa4cdf710044c2c +generated: "2025-05-06T10:52:08.671843919+02:00" diff --git a/bitnami/opensearch/Chart.yaml b/bitnami/opensearch/Chart.yaml index 5359327976..4a8de3d782 100644 --- a/bitnami/opensearch/Chart.yaml +++ b/bitnami/opensearch/Chart.yaml @@ -33,4 +33,4 @@ maintainers: name: opensearch sources: - https://github.com/bitnami/charts/tree/main/bitnami/opensearch -version: 1.9.2 +version: 1.9.3 diff --git a/bitnami/opensearch/templates/coordinating/hpa.yaml b/bitnami/opensearch/templates/coordinating/hpa.yaml index 72289b6f3f..8576309cb0 100644 --- a/bitnami/opensearch/templates/coordinating/hpa.yaml +++ b/bitnami/opensearch/templates/coordinating/hpa.yaml @@ -26,24 +26,16 @@ spec: - type: Resource resource: name: cpu - {{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }} - targetAverageUtilization: {{ .Values.coordinating.autoscaling.hpa.targetCPU }} - {{- else }} target: type: Utilization averageUtilization: {{ .Values.coordinating.autoscaling.hpa.targetCPU }} - {{- end }} {{- end }} {{- if .Values.coordinating.autoscaling.hpa.targetMemory }} - type: Resource resource: name: memory - {{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }} - targetAverageUtilization: {{ .Values.coordinating.autoscaling.hpa.targetMemory }} - {{- else }} target: type: Utilization averageUtilization: {{ .Values.coordinating.autoscaling.hpa.targetMemory }} - {{- end }} {{- end }} {{- end }} diff --git a/bitnami/opensearch/templates/dashboards/hpa.yaml b/bitnami/opensearch/templates/dashboards/hpa.yaml index a517a31f0b..d50f6fa597 100644 --- a/bitnami/opensearch/templates/dashboards/hpa.yaml +++ b/bitnami/opensearch/templates/dashboards/hpa.yaml @@ -26,24 +26,16 @@ spec: - type: Resource resource: name: cpu - {{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }} - targetAverageUtilization: {{ .Values.dashboards.autoscaling.hpa.targetCPU }} - {{- else }} target: type: Utilization averageUtilization: {{ .Values.dashboards.autoscaling.hpa.targetCPU }} - {{- end }} {{- end }} {{- if .Values.dashboards.autoscaling.hpa.targetMemory }} - type: Resource resource: name: memory - {{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }} - targetAverageUtilization: {{ .Values.dashboards.autoscaling.hpa.targetMemory }} - {{- else }} target: type: Utilization averageUtilization: {{ .Values.dashboards.autoscaling.hpa.targetMemory }} - {{- end }} {{- end }} {{- end }} diff --git a/bitnami/opensearch/templates/dashboards/ingress.yaml b/bitnami/opensearch/templates/dashboards/ingress.yaml index 76124457b8..84210e911a 100644 --- a/bitnami/opensearch/templates/dashboards/ingress.yaml +++ b/bitnami/opensearch/templates/dashboards/ingress.yaml @@ -16,7 +16,7 @@ metadata: annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }} {{- end }} spec: - {{- if and .Values.dashboards.ingress.ingressClassName (eq "true" (include "common.ingress.supportsIngressClassname" .)) }} + {{- if .Values.dashboards.ingress.ingressClassName }} ingressClassName: {{ .Values.dashboards.ingress.ingressClassName | quote }} {{- end }} rules: @@ -27,9 +27,7 @@ spec: {{- toYaml .Values.dashboards.ingress.extraPaths | nindent 10 }} {{- end }} - path: {{ .Values.dashboards.ingress.path }} - {{- if eq "true" (include "common.ingress.supportsPathType" .) }} pathType: {{ .Values.dashboards.ingress.pathType }} - {{- end }} backend: {{- include "common.ingress.backend" (dict "serviceName" (include "opensearch.dashboards.servicename" .) "servicePort" "http" "context" $) | nindent 14 }} {{- if ne .Values.dashboards.ingress.hostname "*" }} host: {{ .Values.dashboards.ingress.hostname }} @@ -40,9 +38,7 @@ spec: http: paths: - path: {{ default "/" .path }} - {{- if eq "true" (include "common.ingress.supportsPathType" $) }} pathType: {{ default "ImplementationSpecific" .pathType }} - {{- end }} backend: {{- include "common.ingress.backend" (dict "serviceName" (include "opensearch.dashboards.servicename" $) "servicePort" "http" "context" $) | nindent 14 }} {{- end }} {{- if .Values.dashboards.ingress.extraRules }} diff --git a/bitnami/opensearch/templates/data/hpa.yaml b/bitnami/opensearch/templates/data/hpa.yaml index 9d853e4510..bbc4f84641 100644 --- a/bitnami/opensearch/templates/data/hpa.yaml +++ b/bitnami/opensearch/templates/data/hpa.yaml @@ -26,24 +26,16 @@ spec: - type: Resource resource: name: cpu - {{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }} - targetAverageUtilization: {{ .Values.data.autoscaling.hpa.targetCPU }} - {{- else }} target: type: Utilization averageUtilization: {{ .Values.data.autoscaling.hpa.targetCPU }} - {{- end }} {{- end }} {{- if .Values.data.autoscaling.hpa.targetMemory }} - type: Resource resource: name: memory - {{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }} - targetAverageUtilization: {{ .Values.data.autoscaling.hpa.targetMemory }} - {{- else }} target: type: Utilization averageUtilization: {{ .Values.data.autoscaling.hpa.targetMemory }} - {{- end }} {{- end }} {{- end }} diff --git a/bitnami/opensearch/templates/ingest/hpa.yaml b/bitnami/opensearch/templates/ingest/hpa.yaml index adaca2e29d..8cd9712120 100644 --- a/bitnami/opensearch/templates/ingest/hpa.yaml +++ b/bitnami/opensearch/templates/ingest/hpa.yaml @@ -26,24 +26,16 @@ spec: - type: Resource resource: name: cpu - {{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }} - targetAverageUtilization: {{ .Values.ingest.autoscaling.hpa.targetCPU }} - {{- else }} target: type: Utilization averageUtilization: {{ .Values.ingest.autoscaling.hpa.targetCPU }} - {{- end }} {{- end }} {{- if .Values.ingest.autoscaling.hpa.targetMemory }} - type: Resource resource: name: memory - {{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }} - targetAverageUtilization: {{ .Values.ingest.autoscaling.hpa.targetMemory }} - {{- else }} target: type: Utilization averageUtilization: {{ .Values.ingest.autoscaling.hpa.targetMemory }} - {{- end }} {{- end }} {{- end }} diff --git a/bitnami/opensearch/templates/ingest/ingress.yaml b/bitnami/opensearch/templates/ingest/ingress.yaml index 28a68881af..5bd750697f 100644 --- a/bitnami/opensearch/templates/ingest/ingress.yaml +++ b/bitnami/opensearch/templates/ingest/ingress.yaml @@ -16,7 +16,7 @@ metadata: annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }} {{- end }} spec: - {{- if and .Values.ingest.ingress.ingressClassName (eq "true" (include "common.ingress.supportsIngressClassname" .)) }} + {{- if .Values.ingest.ingress.ingressClassName }} ingressClassName: {{ .Values.ingest.ingress.ingressClassName | quote }} {{- end }} rules: @@ -27,9 +27,7 @@ spec: {{- toYaml .Values.ingest.ingress.extraPaths | nindent 10 }} {{- end }} - path: {{ .Values.ingest.ingress.path }} - {{- if eq "true" (include "common.ingress.supportsPathType" .) }} pathType: {{ .Values.ingest.ingress.pathType }} - {{- end }} backend: {{- include "common.ingress.backend" (dict "serviceName" (include "opensearch.ingest.fullname" .) "servicePort" "tcp-rest-api" "context" $) | nindent 14 }} {{- if ne .Values.ingest.ingress.hostname "*" }} host: {{ .Values.ingest.ingress.hostname }} @@ -40,9 +38,7 @@ spec: http: paths: - path: {{ default "/" .path }} - {{- if eq "true" (include "common.ingress.supportsPathType" $) }} pathType: {{ default "ImplementationSpecific" .pathType }} - {{- end }} backend: {{- include "common.ingress.backend" (dict "serviceName" (include "opensearch.ingest.fullname" $) "servicePort" "tcp-rest-api" "context" $) | nindent 14 }} {{- end }} {{- if .Values.ingest.ingress.extraRules }} diff --git a/bitnami/opensearch/templates/ingress.yaml b/bitnami/opensearch/templates/ingress.yaml index 086d8390d2..a3ab526987 100644 --- a/bitnami/opensearch/templates/ingress.yaml +++ b/bitnami/opensearch/templates/ingress.yaml @@ -16,7 +16,7 @@ metadata: annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }} {{- end }} spec: - {{- if and .Values.ingress.ingressClassName (eq "true" (include "common.ingress.supportsIngressClassname" .)) }} + {{- if .Values.ingress.ingressClassName }} ingressClassName: {{ .Values.ingress.ingressClassName | quote }} {{- end }} rules: @@ -27,9 +27,7 @@ spec: {{- toYaml .Values.ingress.extraPaths | nindent 10 }} {{- end }} - path: {{ .Values.ingress.path }} - {{- if eq "true" (include "common.ingress.supportsPathType" .) }} pathType: {{ .Values.ingress.pathType }} - {{- end }} backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" .) "servicePort" "tcp-rest-api" "context" $) | nindent 14 }} {{- if ne .Values.ingress.hostname "*" }} host: {{ .Values.ingress.hostname }} @@ -40,9 +38,7 @@ spec: http: paths: - path: {{ default "/" .path }} - {{- if eq "true" (include "common.ingress.supportsPathType" $) }} pathType: {{ default "ImplementationSpecific" .pathType }} - {{- end }} backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" $) "servicePort" "tcp-rest-api" "context" $) | nindent 14 }} {{- end }} {{- if .Values.ingress.extraRules }} diff --git a/bitnami/opensearch/templates/master/hpa.yaml b/bitnami/opensearch/templates/master/hpa.yaml index 811ca16292..0476404edd 100644 --- a/bitnami/opensearch/templates/master/hpa.yaml +++ b/bitnami/opensearch/templates/master/hpa.yaml @@ -26,24 +26,16 @@ spec: - type: Resource resource: name: cpu - {{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }} - targetAverageUtilization: {{ .Values.master.autoscaling.hpa.targetCPU }} - {{- else }} target: type: Utilization averageUtilization: {{ .Values.master.autoscaling.hpa.targetCPU }} - {{- end }} {{- end }} {{- if .Values.master.autoscaling.hpa.targetMemory }} - type: Resource resource: name: memory - {{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }} - targetAverageUtilization: {{ .Values.master.autoscaling.hpa.targetMemory }} - {{- else }} target: type: Utilization averageUtilization: {{ .Values.master.autoscaling.hpa.targetMemory }} - {{- end }} {{- end }} {{- end }}