Skip to content

Commit

Permalink
Removed imagePullPolicy: IfNotPresent
Browse files Browse the repository at this point in the history
Signed-off-by: hbelmiro <[email protected]>
  • Loading branch information
hbelmiro committed Sep 4, 2024
1 parent 5ba6568 commit edd8773
Show file tree
Hide file tree
Showing 24 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/resources/minio/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ spec:
ports:
- containerPort: 9000
protocol: TCP
imagePullPolicy: IfNotPresent
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
volumeMounts:
- name: data
mountPath: /data
Expand Down
2 changes: 1 addition & 1 deletion .github/resources/pypiserver/base/pypiserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- image: "quay.io/harshad16/pypi-server"
imagePullPolicy: IfNotPresent
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: pypi-server
command:
- pypi-server
Expand Down
2 changes: 1 addition & 1 deletion config/internal/mlpipelines-ui/deployment.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ spec:
- name: DISABLE_GKE_METADATA
value: 'true'
image: {{.MlPipelineUI.Image}}
imagePullPolicy: IfNotPresent
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
livenessProbe:
httpGet:
port: 3000
Expand Down
2 changes: 1 addition & 1 deletion config/internal/persistence-agent/deployment.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
value: "/etc/pki/tls/certs:/var/run/secrets/kubernetes.io/serviceaccount/"
{{ end }}
image: "{{.PersistenceAgent.Image}}"
imagePullPolicy: IfNotPresent
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: ds-pipeline-persistenceagent
command:
- persistence_agent
Expand Down
2 changes: 1 addition & 1 deletion config/internal/scheduled-workflow/deployment.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
- name: EXECUTIONTYPE
value: PipelineRun
image: "{{.ScheduledWorkflow.Image}}"
imagePullPolicy: IfNotPresent
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: ds-pipeline-scheduledworkflow
command:
- controller
Expand Down
2 changes: 1 addition & 1 deletion config/internal/workflow-controller/configmap.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ data:
key: "{{.ObjectStorageConnection.CredentialsSecret.SecretKey}}"
containerRuntimeExecutor: emissary # TODO
executor: |
imagePullPolicy: IfNotPresent # TODO
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting # TODO
4 changes: 2 additions & 2 deletions config/overlays/make-deploy/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ patchesStrategicMerge:
- img_patch.yaml
images:
- name: controller
newName: quay.io/opendatahub/data-science-pipelines-operator
newTag: main
newName: quay.io/hbelmiro/dspo
newTag: dev-remove-image-pull-policy-1725475322
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ data:
key: "secretkey"
containerRuntimeExecutor: emissary
executor: |
imagePullPolicy: IfNotPresent # TODO
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting # TODO
kind: ConfigMap
metadata:
name: custom-workflow-controller-configmap
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
- name: EXECUTIONTYPE
value: PipelineRun
image: persistenceagent:test0
imagePullPolicy: IfNotPresent
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: ds-pipeline-persistenceagent
command:
- persistence_agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
- name: EXECUTIONTYPE
value: PipelineRun
image: scheduledworkflow:test0
imagePullPolicy: IfNotPresent
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: ds-pipeline-scheduledworkflow
command:
- controller
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ spec:
- name: DISABLE_GKE_METADATA
value: 'true'
image: frontend:test2
imagePullPolicy: IfNotPresent
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
livenessProbe:
exec:
command:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
- name: EXECUTIONTYPE
value: PipelineRun
image: persistenceagent:test2
imagePullPolicy: IfNotPresent
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: ds-pipeline-persistenceagent
command:
- persistence_agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
- name: EXECUTIONTYPE
value: PipelineRun
image: scheduledworkflow:test2
imagePullPolicy: IfNotPresent
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: ds-pipeline-scheduledworkflow
command:
- controller
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ spec:
- name: DISABLE_GKE_METADATA
value: 'true'
image: this-frontend-image-from-cr-should-be-used:test4
imagePullPolicy: IfNotPresent
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
livenessProbe:
exec:
command:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
- name: EXECUTIONTYPE
value: PipelineRun
image: this-persistenceagent-image-from-cr-should-be-used:test4
imagePullPolicy: IfNotPresent
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: ds-pipeline-persistenceagent
command:
- persistence_agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
- name: EXECUTIONTYPE
value: PipelineRun
image: this-scheduledworkflow-image-from-cr-should-be-used:test4
imagePullPolicy: IfNotPresent
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: ds-pipeline-scheduledworkflow
command:
- controller
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ spec:
- name: DISABLE_GKE_METADATA
value: 'true'
image: frontend:test5
imagePullPolicy: IfNotPresent
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
livenessProbe:
exec:
command:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
- name: EXECUTIONTYPE
value: PipelineRun
image: persistenceagent:test5
imagePullPolicy: IfNotPresent
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: ds-pipeline-persistenceagent
command:
- persistence_agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
- name: EXECUTIONTYPE
value: PipelineRun
image: scheduledworkflow:test5
imagePullPolicy: IfNotPresent
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: ds-pipeline-scheduledworkflow
command:
- controller
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ spec:
- name: DISABLE_GKE_METADATA
value: 'true'
image: frontend:test7
imagePullPolicy: IfNotPresent
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
livenessProbe:
exec:
command:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
- name: EXECUTIONTYPE
value: Workflow
image: persistenceagent:test7
imagePullPolicy: IfNotPresent
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: ds-pipeline-persistenceagent
command:
- persistence_agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
- name: EXECUTIONTYPE
value: PipelineRun
image: scheduledworkflow:test7
imagePullPolicy: IfNotPresent
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: ds-pipeline-scheduledworkflow
command:
- controller
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ spec:
- name: DISABLE_GKE_METADATA
value: 'true'
image: frontend:test9
imagePullPolicy: IfNotPresent
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
livenessProbe:
exec:
command:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
- name: EXECUTIONTYPE
value: Workflow
image: persistenceagent:test9
imagePullPolicy: IfNotPresent
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: ds-pipeline-persistenceagent
command:
- persistence_agent
Expand Down

0 comments on commit edd8773

Please sign in to comment.