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

This commit is contained in:
Javier J. Salmerón García
2025-05-06 16:02:27 +02:00
committed by GitHub
parent 9f42a65f1d
commit b946af26c1
6 changed files with 11 additions and 25 deletions
+5 -1
View File
@@ -1,8 +1,12 @@
# Changelog # Changelog
## 20.0.1 (2025-05-06)
* [bitnami/nginx] chore: :recycle: :arrow_up: Update common and remove k8s < 1.23 references ([#33413](https://github.com/bitnami/charts/pull/33413))
## 20.0.0 (2025-04-24) ## 20.0.0 (2025-04-24)
* [bitnami/nginx] Release 20.0.0 ([#33169](https://github.com/bitnami/charts/pull/33169)) * [bitnami/nginx] Release 20.0.0 (#33169) ([c935715](https://github.com/bitnami/charts/commit/c9357150af548e9982f711e7b68b82dc77487031)), closes [#33169](https://github.com/bitnami/charts/issues/33169)
## <small>19.1.1 (2025-04-16)</small> ## <small>19.1.1 (2025-04-16)</small>
+3 -3
View File
@@ -1,6 +1,6 @@
dependencies: dependencies:
- name: common - name: common
repository: oci://registry-1.docker.io/bitnamicharts repository: oci://registry-1.docker.io/bitnamicharts
version: 2.30.0 version: 2.31.0
digest: sha256:46afdf79eae69065904d430f03f7e5b79a148afed20aa45ee83ba88adc036169 digest: sha256:c4c9af4e0ca23cf2c549e403b2a2bba2c53a3557cee23da09fa4cdf710044c2c
generated: "2025-03-04T10:44:21.460386341Z" generated: "2025-05-06T10:48:15.191264505+02:00"
+1 -1
View File
@@ -35,4 +35,4 @@ maintainers:
name: nginx name: nginx
sources: sources:
- https://github.com/bitnami/charts/tree/main/bitnami/nginx - https://github.com/bitnami/charts/tree/main/bitnami/nginx
version: 20.0.0 version: 20.0.1
+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.healthIngress.ingressClassName (eq "true" (include "common.ingress.supportsIngressClassname" .)) }} {{- if .Values.healthIngress.ingressClassName }}
ingressClassName: {{ .Values.healthIngress.ingressClassName | quote }} ingressClassName: {{ .Values.healthIngress.ingressClassName | quote }}
{{- end }} {{- end }}
rules: rules:
@@ -27,9 +27,7 @@ spec:
{{- toYaml .Values.healthIngress.extraPaths | nindent 10 }} {{- toYaml .Values.healthIngress.extraPaths | nindent 10 }}
{{- end }} {{- end }}
- path: {{ .Values.healthIngress.path }} - path: {{ .Values.healthIngress.path }}
{{- if eq "true" (include "common.ingress.supportsPathType" .) }}
pathType: {{ .Values.healthIngress.pathType }} pathType: {{ .Values.healthIngress.pathType }}
{{- end }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" .) "servicePort" (ternary "http" "https" (not .Values.containerPorts.https)) "context" $) | nindent 14 }} backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" .) "servicePort" (ternary "http" "https" (not .Values.containerPorts.https)) "context" $) | nindent 14 }}
{{- end }} {{- end }}
{{- range .Values.healthIngress.extraHosts }} {{- range .Values.healthIngress.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" (ternary "http" "https" (not $.Values.containerPorts.https)) "context" $) | nindent 14 }} backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" $) "servicePort" (ternary "http" "https" (not $.Values.containerPorts.https)) "context" $) | nindent 14 }}
{{- end }} {{- end }}
{{- if .Values.healthIngress.extraRules }} {{- if .Values.healthIngress.extraRules }}
-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 }}
+1 -7
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 }}
{{- else if .Values.ingress.path }} {{- else if .Values.ingress.path }}
- http: - http:
@@ -38,9 +36,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 }}
@@ -48,9 +44,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 }}