Skip to content

Commit 6b253bd

Browse files
authored
feat(t8s-cluster): use new pullPolicy template (#1383)
1 parent 58ed072 commit 6b253bd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

charts/t8s-cluster/templates/_etcd-defrag.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ spec:
3232
- name: ETCDCTL_ENDPOINTS
3333
value: {{ .hosted | ternary (printf "kmc-%s-etcd:2379" .Release.Name) "localhost:2379" }}
3434
image: {{ include "common.images.image" (dict "imageRoot" .Values.global.etcd.image "global" .Values.global) }}
35-
imagePullPolicy: IfNotPresent
35+
imagePullPolicy: {{ include "common.images.pullPolicy" .Values.global.etcd.image }}
3636
name: etcd-defrag
3737
securityContext:
3838
runAsGroup: 1000

charts/t8s-cluster/templates/workload-cluster/pre-install/_uninstall-job.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ spec:
2929
containers:
3030
- name: uninstall
3131
image: {{ include "common.images.image" (dict "imageRoot" .Values.global.kubectl.image "global" .Values.global) }}
32-
imagePullPolicy: {{ empty .Values.global.kubectl.image.digest | ternary "Always" "IfNotPresent" }}
32+
imagePullPolicy: {{ include "common.images.pullPolicy" .Values.global.kubectl.image }}
3333
securityContext:
3434
readOnlyRootFilesystem: true
3535
privileged: false

charts/t8s-cluster/templates/workload-cluster/pre-install/uninstall-storageclasses.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
containers:
2626
- name: uninstall
2727
image: {{ include "common.images.image" (dict "imageRoot" .Values.global.kubectl.image "global" .Values.global) }}
28-
imagePullPolicy: {{ empty .Values.global.kubectl.image.digest | ternary "Always" "IfNotPresent" }}
28+
imagePullPolicy: {{ include "common.images.pullPolicy" .Values.global.kubectl.image }}
2929
securityContext:
3030
readOnlyRootFilesystem: true
3131
privileged: false

0 commit comments

Comments
 (0)