Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump coredns chart, coredns and cluster-proportional-autoscaler version #569

Merged
merged 1 commit into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,10 @@
{{- end -}}

{{/*
@@ -234,4 +230,72 @@
{{- else -}}
@@ -236,3 +232,71 @@
{{ template "coredns.fullname" . }}
{{- end -}}
-{{- end -}}
\ No newline at end of file
+{{- end -}}
{{- end -}}
+
+{{- define "system_default_registry" -}}
+{{- if .Values.global.systemDefaultRegistry -}}
Expand Down Expand Up @@ -97,4 +94,4 @@
+ {{- "SingleStack" }}
+ {{- end }}
+{{- end }}
+{{- end }}
+{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
{{- end }}
{{- if .Values.service.externalIPs }}
externalIPs:
@@ -52,7 +54,5 @@
@@ -52,9 +54,7 @@
ports:
{{ include "coredns.servicePorts" . | indent 2 -}}
type: {{ default "ClusterIP" .Values.serviceType }}
Expand All @@ -34,3 +34,5 @@
- {{- end }}
+ ipFamilyPolicy: {{ template "ipFamilyPolicy" . }}
{{- end }}
{{- if .Values.service.trafficDistribution }}
trafficDistribution: {{ .Values.service.trafficDistribution }}
26 changes: 13 additions & 13 deletions packages/rke2-coredns/generated-changes/patch/values.yaml.patch
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
+ repository: rancher/hardened-coredns
# Overrides the image tag whose default is the chart appVersion.
- tag: ""
+ tag: "v1.11.3-build20241018"
+ tag: "v1.12.0-build20241126"
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
Expand All @@ -23,10 +23,10 @@
# externalTrafficPolicy: ""
-# ipFamilyPolicy: ""
+ ipFamilyPolicy: ""
# trafficDistribution: PreferClose
# The name of the Service
# If not set, a name is generated using the fullname template
name: ""
@@ -66,10 +65,10 @@
@@ -67,10 +66,10 @@
selector: {}

serviceAccount:
Expand All @@ -39,7 +39,7 @@
annotations: {}

rbac:
@@ -85,7 +84,7 @@
@@ -91,7 +90,7 @@
isClusterService: true

# Optional priority class to be used for the coredns pods. Used for autoscaler if autoscaler.priorityClassName not set.
Expand All @@ -48,7 +48,7 @@

# Configure the pod level securityContext.
podSecurityContext: {}
@@ -183,7 +182,16 @@
@@ -191,7 +190,16 @@
# operator: In
# values:
# - master
Expand All @@ -66,7 +66,7 @@

# expects input structure as per specification https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#topologyspreadconstraint-v1-core
# and supports Helm templating.
@@ -207,7 +215,8 @@
@@ -215,7 +223,8 @@

# Node labels for pod assignment
# Ref: https://kubernetes.io/docs/user-guide/node-selection/
Expand All @@ -76,7 +76,7 @@

# expects input structure as per specification https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.11/#toleration-v1-core
# for example:
@@ -216,7 +225,13 @@
@@ -224,7 +233,13 @@
# operator: Equal
# value: master
# effect: NoSchedule
Expand All @@ -91,7 +91,7 @@

# https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget
podDisruptionBudget: {}
@@ -298,7 +313,7 @@
@@ -317,7 +332,7 @@
# See https://github.com/kubernetes-incubator/cluster-proportional-autoscaler
autoscaler:
# Enabled the cluster-proportional-autoscaler
Expand All @@ -100,18 +100,18 @@

# Number of cores in the cluster per coredns replica
coresPerReplica: 256
@@ -322,8 +337,8 @@
@@ -341,8 +356,8 @@
# - --nodelabels=topology.kubernetes.io/zone=us-east-1a

image:
- repository: registry.k8s.io/cpa/cluster-proportional-autoscaler
- tag: "1.8.5"
+ repository: rancher/hardened-cluster-autoscaler
+ tag: "v1.8.11-build20241014"
+ tag: "v1.9.0-build20241126"
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
@@ -341,19 +356,26 @@
@@ -360,19 +375,26 @@

# Node labels for pod assignment
# Ref: https://kubernetes.io/docs/user-guide/node-selection/
Expand Down Expand Up @@ -144,7 +144,7 @@

# Options for autoscaler configmap
configmap:
@@ -365,8 +387,8 @@
@@ -384,8 +406,8 @@
livenessProbe:
enabled: true
initialDelaySeconds: 10
Expand All @@ -155,7 +155,7 @@
failureThreshold: 3
successThreshold: 1

@@ -384,3 +406,25 @@
@@ -403,3 +425,25 @@
annotations: {}
## Pod selector
selector: {}
Expand Down
4 changes: 2 additions & 2 deletions packages/rke2-coredns/package.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
url: https://github.com/coredns/helm/releases/download/coredns-1.33.0/coredns-1.33.0.tgz
packageVersion: 05
url: https://github.com/coredns/helm/releases/download/coredns-1.36.1/coredns-1.36.1.tgz
packageVersion: 00