[bitnami/wordpress] chore: ♻️ ⬆️ Update common and remove k8s < 1.23 references (#33449)

This commit is contained in:
Javier J. Salmerón García
2025-05-06 15:03:56 +02:00
committed by GitHub
parent b1a5d07324
commit 2c523ed14d
6 changed files with 12 additions and 24 deletions
+6 -2
View File
@@ -1,8 +1,12 @@
# Changelog # Changelog
## 24.2.4 (2025-04-30) ## 24.2.5 (2025-05-06)
* [bitnami/wordpress] Release 24.2.4 ([#33275](https://github.com/bitnami/charts/pull/33275)) * [bitnami/wordpress] chore: :recycle: :arrow_up: Update common and remove k8s < 1.23 references ([#33449](https://github.com/bitnami/charts/pull/33449))
## <small>24.2.4 (2025-04-30)</small>
* [bitnami/wordpress] Release 24.2.4 (#33275) ([91e8cda](https://github.com/bitnami/charts/commit/91e8cda781e3c04f9692cb0e76e2dc76c28e352c)), closes [#33275](https://github.com/bitnami/charts/issues/33275)
## <small>24.2.3 (2025-04-23)</small> ## <small>24.2.3 (2025-04-23)</small>
+3 -3
View File
@@ -7,6 +7,6 @@ dependencies:
version: 20.5.3 version: 20.5.3
- name: common - name: common
repository: oci://registry-1.docker.io/bitnamicharts repository: oci://registry-1.docker.io/bitnamicharts
version: 2.30.2 version: 2.31.0
digest: sha256:32dd2d2e7fcb8a049c70cbc3acc187553e0b1810c282bc30c705725d14e063b3 digest: sha256:8e350eb9cf38dec85c6865b63704751c095a2cd8497973d726b6955d281555c7
generated: "2025-04-30T21:39:51.769933982Z" generated: "2025-05-06T11:15:14.599398611+02:00"
+1 -1
View File
@@ -45,4 +45,4 @@ maintainers:
name: wordpress name: wordpress
sources: sources:
- https://github.com/bitnami/charts/tree/main/bitnami/wordpress - https://github.com/bitnami/charts/tree/main/bitnami/wordpress
version: 24.2.4 version: 24.2.5
-8
View File
@@ -25,24 +25,16 @@ spec:
- type: Resource - type: Resource
resource: resource:
name: memory name: memory
{{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }}
targetAverageUtilization: {{ .Values.autoscaling.targetMemory }}
{{- else }}
target: target:
type: Utilization type: Utilization
averageUtilization: {{ .Values.autoscaling.targetMemory }} averageUtilization: {{ .Values.autoscaling.targetMemory }}
{{- end }}
{{- end }} {{- end }}
{{- if .Values.autoscaling.targetCPU }} {{- if .Values.autoscaling.targetCPU }}
- type: Resource - type: Resource
resource: resource:
name: cpu name: cpu
{{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }}
targetAverageUtilization: {{ .Values.autoscaling.targetCPU }}
{{- else }}
target: target:
type: Utilization type: Utilization
averageUtilization: {{ .Values.autoscaling.targetCPU }} averageUtilization: {{ .Values.autoscaling.targetCPU }}
{{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}
@@ -15,7 +15,7 @@ metadata:
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }} annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
{{- end }} {{- end }}
spec: spec:
{{- if and .Values.secondaryIngress.ingressClassName (eq "true" (include "common.ingress.supportsIngressClassname" .)) }} {{- if .Values.secondaryIngress.ingressClassName }}
ingressClassName: {{ .Values.secondaryIngress.ingressClassName | quote }} ingressClassName: {{ .Values.secondaryIngress.ingressClassName | quote }}
{{- end }} {{- end }}
rules: rules:
@@ -27,9 +27,7 @@ spec:
{{- toYaml .Values.secondaryIngress.extraPaths | nindent 10 }} {{- toYaml .Values.secondaryIngress.extraPaths | nindent 10 }}
{{- end }} {{- end }}
- path: {{ .Values.secondaryIngress.path }} - path: {{ .Values.secondaryIngress.path }}
{{- if eq "true" (include "common.ingress.supportsPathType" .) }}
pathType: {{ .Values.secondaryIngress.pathType }} pathType: {{ .Values.secondaryIngress.pathType }}
{{- end }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" .) "servicePort" "http" "context" $) | nindent 14 }} backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" .) "servicePort" "http" "context" $) | nindent 14 }}
{{- end }} {{- end }}
{{- range .Values.secondaryIngress.extraHosts }} {{- range .Values.secondaryIngress.extraHosts }}
@@ -37,9 +35,7 @@ spec:
http: http:
paths: paths:
- path: {{ default "/" .path }} - path: {{ default "/" .path }}
{{- if eq "true" (include "common.ingress.supportsPathType" $) }}
pathType: {{ default "ImplementationSpecific" .pathType }} pathType: {{ default "ImplementationSpecific" .pathType }}
{{- end }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" $) "servicePort" "http" "context" $) | nindent 14 }} backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" $) "servicePort" "http" "context" $) | nindent 14 }}
{{- end }} {{- end }}
{{- if .Values.secondaryIngress.extraRules }} {{- if .Values.secondaryIngress.extraRules }}
+1 -5
View File
@@ -15,7 +15,7 @@ metadata:
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }} annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
{{- end }} {{- end }}
spec: spec:
{{- if and .Values.ingress.ingressClassName (eq "true" (include "common.ingress.supportsIngressClassname" .)) }} {{- if .Values.ingress.ingressClassName }}
ingressClassName: {{ .Values.ingress.ingressClassName | quote }} ingressClassName: {{ .Values.ingress.ingressClassName | quote }}
{{- end }} {{- end }}
rules: rules:
@@ -27,9 +27,7 @@ spec:
{{- toYaml .Values.ingress.extraPaths | nindent 10 }} {{- toYaml .Values.ingress.extraPaths | nindent 10 }}
{{- end }} {{- end }}
- path: {{ .Values.ingress.path }} - path: {{ .Values.ingress.path }}
{{- if eq "true" (include "common.ingress.supportsPathType" .) }}
pathType: {{ .Values.ingress.pathType }} pathType: {{ .Values.ingress.pathType }}
{{- end }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" .) "servicePort" "http" "context" $) | nindent 14 }} backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" .) "servicePort" "http" "context" $) | nindent 14 }}
{{- end }} {{- end }}
{{- range .Values.ingress.extraHosts }} {{- range .Values.ingress.extraHosts }}
@@ -37,9 +35,7 @@ spec:
http: http:
paths: paths:
- path: {{ default "/" .path }} - path: {{ default "/" .path }}
{{- if eq "true" (include "common.ingress.supportsPathType" $) }}
pathType: {{ default "ImplementationSpecific" .pathType }} pathType: {{ default "ImplementationSpecific" .pathType }}
{{- end }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" $) "servicePort" "http" "context" $) | nindent 14 }} backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" $) "servicePort" "http" "context" $) | nindent 14 }}
{{- end }} {{- end }}
{{- if .Values.ingress.extraRules }} {{- if .Values.ingress.extraRules }}