Skip to content

Commit e53bb84

Browse files
committed
Update image pull policies across configurations to 'Always' for improved reliability during deployments. Adjust values.yaml, manager_auth_proxy_patch.yaml, manager.yaml, operator.yaml, and install.yaml accordingly.
1 parent 1ad888f commit e53bb84

File tree

6 files changed

+8
-4
lines changed

6 files changed

+8
-4
lines changed

charts/homer-operator/templates/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ spec:
8282
{{- if .Values.operator.metrics.enabled }}
8383
- name: kube-rbac-proxy
8484
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.15.0
85+
imagePullPolicy: Always
8586
args:
8687
- --secure-listen-address=0.0.0.0:8443
8788
- --upstream=http://127.0.0.1:8080/

charts/homer-operator/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ replicaCount: 1
66

77
image:
88
repository: ghcr.io/rajsinghtech/homer-operator
9-
pullPolicy: IfNotPresent
9+
pullPolicy: Always
1010
# Overrides the image tag whose default is the chart appVersion.
1111
tag: ""
1212

config/default/manager_auth_proxy_patch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ spec:
1616
drop:
1717
- "ALL"
1818
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.15.0
19+
imagePullPolicy: Always
1920
args:
2021
- "--secure-listen-address=0.0.0.0:8443"
2122
- "--upstream=http://127.0.0.1:8080/"
22-
- "--logtostderr=true"
2323
- "--v=0"
2424
ports:
2525
- containerPort: 8443

config/manager/manager.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ spec:
7171
args:
7272
- --leader-elect
7373
image: controller:latest
74+
imagePullPolicy: Always
7475
name: manager
7576
securityContext:
7677
allowPrivilegeEscalation: false

deploy/operator.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1261,9 +1261,9 @@ spec:
12611261
- args:
12621262
- --secure-listen-address=0.0.0.0:8443
12631263
- --upstream=http://127.0.0.1:8080/
1264-
- --logtostderr=true
12651264
- --v=0
12661265
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.15.0
1266+
imagePullPolicy: Always
12671267
name: kube-rbac-proxy
12681268
ports:
12691269
- containerPort: 8443
@@ -1288,6 +1288,7 @@ spec:
12881288
command:
12891289
- /manager
12901290
image: ghcr.io/rajsinghtech/homer-operator:main
1291+
imagePullPolicy: Always
12911292
livenessProbe:
12921293
httpGet:
12931294
path: /healthz

dist/install.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1261,9 +1261,9 @@ spec:
12611261
- args:
12621262
- --secure-listen-address=0.0.0.0:8443
12631263
- --upstream=http://127.0.0.1:8080/
1264-
- --logtostderr=true
12651264
- --v=0
12661265
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.15.0
1266+
imagePullPolicy: Always
12671267
name: kube-rbac-proxy
12681268
ports:
12691269
- containerPort: 8443
@@ -1288,6 +1288,7 @@ spec:
12881288
command:
12891289
- /manager
12901290
image: ghcr.io/rajsinghtech/homer-operator:main
1291+
imagePullPolicy: Always
12911292
livenessProbe:
12921293
httpGet:
12931294
path: /healthz

0 commit comments

Comments
 (0)