Skip to content
Open
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
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 @@
Switch reaper and restund kubectl images to bitnamilegacy registry to ensure shell access compatibility
5 changes: 3 additions & 2 deletions charts/reaper/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
image:
registry: registry.k8s.io
repository: kubectl
# Use a kubectl image that includes a shell (sh/bash). Distroless images will fail to exec the script.
registry: docker.io
repository: bitnamilegacy/kubectl
tag: 1.32.9
podSecurityContext:
allowPrivilegeEscalation: false
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
6 changes: 6 additions & 0 deletions charts/restund/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ image:
# overwrite the tag here, otherwise `appVersion` of the chart will be used
tag: ""

kubectlImage:
# Use a kubectl image that includes a shell (sh/bash). Distroless images will fail to exec the script.
registry: docker.io
repository: bitnamilegacy/kubectl
tag: 1.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