Skip to content

Commit

Permalink
Set imagePullPolicy IfNotPresent by default
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Pavlov <[email protected]>
  • Loading branch information
Kshatrix committed Jun 5, 2024
1 parent 108878a commit 595dfce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/hmc/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ spec:
value: {{ quote .Values.kubernetesClusterDomain }}
image: {{ .Values.controllerManager.manager.image.repository }}:{{ .Values.controllerManager.manager.image.tag
| default .Chart.AppVersion }}
imagePullPolicy: {{ .Values.controllerManager.manager.imagePullPolicy }}
livenessProbe:
httpGet:
path: /healthz
Expand Down
1 change: 1 addition & 0 deletions charts/hmc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ controllerManager:
image:
repository: hmc/controller
tag: latest
imagePullPolicy: IfNotPresent
resources:
limits:
cpu: 500m
Expand Down
1 change: 1 addition & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ spec:
- --health-probe-bind-address=:8081
- --metrics-bind-address=0
image: controller:latest
imagePullPolicy: IfNotPresent
name: manager
securityContext:
allowPrivilegeEscalation: false
Expand Down

0 comments on commit 595dfce

Please sign in to comment.