Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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
1 change: 1 addition & 0 deletions changelog.d/5-internal/update-kubectl-images
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry.k8s.io uses a v prefix with image tag and does not have any kubectl image tag for version `1.24.12`, So updating image version for restund to get the same image are reaper from registry.k8s.io .
2 changes: 1 addition & 1 deletion charts/reaper/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
image:
registry: registry.k8s.io
repository: kubectl
tag: 1.32.9
tag: v1.32.9
podSecurityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
2 changes: 1 addition & 1 deletion charts/restund/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ spec:
{{- end }}
initContainers:
- name: get-external-ip
image: registry.k8s.io/kubectl:1.24.12
image: {{ .Values.kubectlImage.registry }}/{{ .Values.kubectlImage.repository }}:{{ .Values.kubectlImage.tag }}
volumeMounts:
- name: external-ip
mountPath: /external-ip
Expand Down
5 changes: 5 additions & 0 deletions charts/restund/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ image:
# overwrite the tag here, otherwise `appVersion` of the chart will be used
tag: ""

kubectlImage:
registry: registry.k8s.io
repository: kubectl
tag: v1.32.9

# If you have multiple deployments of Restund running in one cluster, it is
# important that they run on disjoint sets of nodes, you can use nodeSelector to enforce this
nodeSelector: {}
Expand Down