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

This commit is contained in:
Javier J. Salmerón García
2025-05-06 16:51:23 +02:00
committed by GitHub
parent e01e70b87e
commit 502482e304
5 changed files with 10 additions and 18 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 26.0.1 (2025-05-06)
* [bitnami/moodle] chore: :recycle: :arrow_up: Update common and remove k8s < 1.23 references ([#33407](https://github.com/bitnami/charts/pull/33407))
## 26.0.0 (2025-04-30)
* [bitnami/moodle] Release 26.0.0 ([#33267](https://github.com/bitnami/charts/pull/33267))
* [bitnami/moodle] Release 26.0.0 (#33267) ([e83e3be](https://github.com/bitnami/charts/commit/e83e3be7a4c094947e7b1012d828e157c92c6bc5)), closes [#33267](https://github.com/bitnami/charts/issues/33267)
## <small>25.2.2 (2025-04-16)</small>

View File

@@ -4,6 +4,6 @@ dependencies:
version: 20.5.3
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
version: 2.30.1
digest: sha256:8b7eb58536a9b98ea34fab3af139da5de6d77f852115359ab951b9e29875f83f
generated: "2025-04-30T12:04:00.244970808Z"
version: 2.31.0
digest: sha256:b1d1ae0a4554cfeb0f6e1de395261910a0ba101a11ce4566e209e801dc3783b9
generated: "2025-05-06T10:43:52.398920666+02:00"

View File

@@ -37,4 +37,4 @@ maintainers:
name: moodle
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/moodle
version: 26.0.0
version: 26.0.1

View File

@@ -25,24 +25,16 @@ spec:
- type: Resource
resource:
name: cpu
{{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }}
targetAverageUtilization: {{ .Values.autoscaling.targetCPU }}
{{- else }}
target:
type: Utilization
averageUtilization: {{ .Values.autoscaling.targetCPU }}
{{- end }}
{{- end }}
{{- if .Values.autoscaling.targetMemory }}
- type: Resource
resource:
name: memory
{{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }}
targetAverageUtilization: {{ .Values.autoscaling.targetMemory }}
{{- else }}
target:
type: Utilization
averageUtilization: {{ .Values.autoscaling.targetMemory }}
{{- end }}
{{- end }}
{{- end }}

View File

@@ -16,7 +16,7 @@ metadata:
{{- 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:
@@ -28,9 +28,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" "http" "context" $) | nindent 14 }}
{{- end }}
{{- range .Values.ingress.extraHosts }}
@@ -38,9 +36,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" "http" "context" $) | nindent 14 }}
{{- end }}
{{- if .Values.ingress.extraRules }}