Skip to content

Commit 06a76ad

Browse files
authored
Use IfNotPresent image pull policy so it works for airgap (#2023)
1 parent be79ef2 commit 06a76ad

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

operator/charts/embedded-cluster-operator/templates/embedded-cluster-lam-service-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ data:
2323
podSpec:
2424
containers:
2525
- image: {{ .Values.utilsImage }}
26-
imagePullPolicy: Always
26+
imagePullPolicy: IfNotPresent
2727
args: ["chroot","/host","cat","/etc/systemd/system/local-artifact-mirror.service.d/embedded-cluster.conf"]
2828
name: debugger
2929
resources: {}

operator/charts/embedded-cluster-operator/templates/embedded-cluster-logs-collector.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ data:
2323
podSpec:
2424
containers:
2525
- image: {{ .Values.utilsImage }}
26-
imagePullPolicy: Always
26+
imagePullPolicy: IfNotPresent
2727
args: ["chroot","/host","journalctl","-u","k0scontroller","--no-pager","--since","2 days ago"]
2828
name: debugger
2929
resources: {}
@@ -52,7 +52,7 @@ data:
5252
podSpec:
5353
containers:
5454
- image: {{ .Values.utilsImage }}
55-
imagePullPolicy: Always
55+
imagePullPolicy: IfNotPresent
5656
args: ["chroot","/host","journalctl","-u","k0sworker","--no-pager","--since","2 days ago"]
5757
name: debugger
5858
resources: {}
@@ -81,7 +81,7 @@ data:
8181
podSpec:
8282
containers:
8383
- image: {{ .Values.utilsImage }}
84-
imagePullPolicy: Always
84+
imagePullPolicy: IfNotPresent
8585
args: ["chroot","/host","journalctl","-u","local-artifact-mirror","--no-pager","--since","2 days ago"]
8686
name: debugger
8787
resources: {}

0 commit comments

Comments
 (0)