Skip to content

Commit

Permalink
Merge pull request #697 from hbelmiro/remove-image-pull-policy
Browse files Browse the repository at this point in the history
Removed imagePullPolicy: IfNotPresent
  • Loading branch information
openshift-merge-bot[bot] committed Sep 5, 2024
2 parents 5ba6568 + 3f9f9ff commit 9181d9e
Show file tree
Hide file tree
Showing 34 changed files with 34 additions and 34 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/apiserver/default/deployment.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ spec:
value: "{{.APIServer.TerminateStatus}}"
{{ end }}
image: {{.APIServer.Image}}
imagePullPolicy: Always
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: ds-pipeline-api-server
command: ['/bin/apiserver']
args:
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
2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
- /home/config
image: $(IMAGES_DSPO)
name: manager
imagePullPolicy: Always
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
env:
# Env vars are prioritized over --config
- name: IMAGES_APISERVER
Expand Down
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 @@ -113,7 +113,7 @@ spec:
- name: TERMINATE_STATUS
value: "Cancelled"
image: api-server:test0
imagePullPolicy: Always
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: ds-pipeline-api-server
command: ['/bin/apiserver']
args:
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: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 @@ -113,7 +113,7 @@ spec:
- name: TERMINATE_STATUS
value: "Cancelled"
image: api-server:test2
imagePullPolicy: Always
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: ds-pipeline-api-server
command: ['/bin/apiserver']
args:
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 @@ -113,7 +113,7 @@ spec:
- name: TERMINATE_STATUS
value: "Cancelled"
image: api-server:test3
imagePullPolicy: Always
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: ds-pipeline-api-server
command: ['/bin/apiserver']
args:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ spec:
- name: TERMINATE_STATUS
value: "Cancelled"
image: this-apiserver-image-from-cr-should-be-used:test4
imagePullPolicy: Always
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: ds-pipeline-api-server
command: ['/bin/apiserver']
volumeMounts:
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 @@ -117,7 +117,7 @@ spec:
- name: TERMINATE_STATUS
value: "Cancelled"
image: api-server:test5
imagePullPolicy: Always
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: ds-pipeline-api-server
command: ['/bin/apiserver']
args:
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 @@ -113,7 +113,7 @@ spec:
- name: DBCONFIG_MYSQLCONFIG_PORT
value: "test6"
image: api-server:test6
imagePullPolicy: Always
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: ds-pipeline-api-server
command: ['/bin/apiserver']
args:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ spec:
- name: DBCONFIG_MYSQLCONFIG_PORT
value: "3306"
image: api-server:test7
imagePullPolicy: Always
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: ds-pipeline-api-server
command: ['/bin/apiserver']
args:
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 @@ -113,7 +113,7 @@ spec:
- name: DBCONFIG_MYSQLCONFIG_PORT
value: "3306"
image: api-server:test8
imagePullPolicy: Always
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: ds-pipeline-api-server
command: ['/bin/apiserver']
args:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ spec:
- name: DBCONFIG_MYSQLCONFIG_PORT
value: "3306"
image: api-server:test9
imagePullPolicy: Always
# imagePullPolicy: default - https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
name: ds-pipeline-api-server
command: ['/bin/apiserver']
args:
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 9181d9e

Please sign in to comment.