From 73f6dcfb8ef1199ac9148c1bf6415dd58d2911cc Mon Sep 17 00:00:00 2001 From: Zhiwei Yin Date: Mon, 28 Sep 2020 14:05:59 +0800 Subject: [PATCH] delete imagePullPolicy --- .../manifests/cluster-manager.clusterserviceversion.yaml | 1 - deploy/cluster-manager/operator.yaml | 1 - .../klusterlet/manifests/klusterlet.clusterserviceversion.yaml | 1 - deploy/klusterlet/operator.yaml | 1 - .../cluster-manager-registration-deployment.yaml | 1 - .../cluster-manager-registration-webhook-deployment.yaml | 1 - .../cluster-manager-work-webhook-deployment.yaml | 1 - manifests/klusterlet/klusterlet-registration-deployment.yaml | 1 - manifests/klusterlet/klusterlet-work-deployment.yaml | 1 - pkg/operators/clustermanager/bindata/bindata.go | 3 --- pkg/operators/klusterlet/bindata/bindata.go | 2 -- 11 files changed, 14 deletions(-) diff --git a/deploy/cluster-manager/olm-catalog/cluster-manager/manifests/cluster-manager.clusterserviceversion.yaml b/deploy/cluster-manager/olm-catalog/cluster-manager/manifests/cluster-manager.clusterserviceversion.yaml index 2bb5263a5..dd25d3c03 100644 --- a/deploy/cluster-manager/olm-catalog/cluster-manager/manifests/cluster-manager.clusterserviceversion.yaml +++ b/deploy/cluster-manager/olm-catalog/cluster-manager/manifests/cluster-manager.clusterserviceversion.yaml @@ -236,7 +236,6 @@ spec: - /registration-operator - hub image: quay.io/open-cluster-management/registration-operator:latest - imagePullPolicy: IfNotPresent livenessProbe: httpGet: path: /healthz diff --git a/deploy/cluster-manager/operator.yaml b/deploy/cluster-manager/operator.yaml index 92073ccbf..db501bea2 100644 --- a/deploy/cluster-manager/operator.yaml +++ b/deploy/cluster-manager/operator.yaml @@ -40,7 +40,6 @@ spec: containers: - name: registration-operator image: quay.io/open-cluster-management/registration-operator:latest - imagePullPolicy: IfNotPresent args: - "/registration-operator" - "hub" diff --git a/deploy/klusterlet/olm-catalog/klusterlet/manifests/klusterlet.clusterserviceversion.yaml b/deploy/klusterlet/olm-catalog/klusterlet/manifests/klusterlet.clusterserviceversion.yaml index c62931cdf..6895ae45b 100644 --- a/deploy/klusterlet/olm-catalog/klusterlet/manifests/klusterlet.clusterserviceversion.yaml +++ b/deploy/klusterlet/olm-catalog/klusterlet/manifests/klusterlet.clusterserviceversion.yaml @@ -237,7 +237,6 @@ spec: - /registration-operator - klusterlet image: quay.io/open-cluster-management/registration-operator:latest - imagePullPolicy: IfNotPresent livenessProbe: httpGet: path: /healthz diff --git a/deploy/klusterlet/operator.yaml b/deploy/klusterlet/operator.yaml index 91fdfa427..b6f0933f1 100644 --- a/deploy/klusterlet/operator.yaml +++ b/deploy/klusterlet/operator.yaml @@ -40,7 +40,6 @@ spec: containers: - name: klusterlet image: quay.io/open-cluster-management/registration-operator:latest - imagePullPolicy: IfNotPresent args: - "/registration-operator" - "klusterlet" diff --git a/manifests/cluster-manager/cluster-manager-registration-deployment.yaml b/manifests/cluster-manager/cluster-manager-registration-deployment.yaml index fb95178cb..b80fa4d19 100644 --- a/manifests/cluster-manager/cluster-manager-registration-deployment.yaml +++ b/manifests/cluster-manager/cluster-manager-registration-deployment.yaml @@ -40,7 +40,6 @@ spec: containers: - name: hub-registration-controller image: {{ .RegistrationImage }} - imagePullPolicy: IfNotPresent args: - "/registration" - "controller" diff --git a/manifests/cluster-manager/cluster-manager-registration-webhook-deployment.yaml b/manifests/cluster-manager/cluster-manager-registration-webhook-deployment.yaml index 088559b79..42ed2a798 100644 --- a/manifests/cluster-manager/cluster-manager-registration-webhook-deployment.yaml +++ b/manifests/cluster-manager/cluster-manager-registration-webhook-deployment.yaml @@ -40,7 +40,6 @@ spec: containers: - name: {{ .ClusterManagerName }}-registration-webhook-sa image: {{ .RegistrationImage }} - imagePullPolicy: IfNotPresent args: - "/registration" - "webhook" diff --git a/manifests/cluster-manager/cluster-manager-work-webhook-deployment.yaml b/manifests/cluster-manager/cluster-manager-work-webhook-deployment.yaml index c915b76f4..9b64a638c 100644 --- a/manifests/cluster-manager/cluster-manager-work-webhook-deployment.yaml +++ b/manifests/cluster-manager/cluster-manager-work-webhook-deployment.yaml @@ -40,7 +40,6 @@ spec: containers: - name: {{ .ClusterManagerName }}-work-webhook-sa image: {{ .WorkImage }} - imagePullPolicy: IfNotPresent args: - "/work" - "webhook" diff --git a/manifests/klusterlet/klusterlet-registration-deployment.yaml b/manifests/klusterlet/klusterlet-registration-deployment.yaml index 52dc91209..83c5b5610 100644 --- a/manifests/klusterlet/klusterlet-registration-deployment.yaml +++ b/manifests/klusterlet/klusterlet-registration-deployment.yaml @@ -40,7 +40,6 @@ spec: containers: - name: registration-controller image: {{ .RegistrationImage }} - imagePullPolicy: IfNotPresent args: - "/registration" - "agent" diff --git a/manifests/klusterlet/klusterlet-work-deployment.yaml b/manifests/klusterlet/klusterlet-work-deployment.yaml index e676ede29..40f016123 100644 --- a/manifests/klusterlet/klusterlet-work-deployment.yaml +++ b/manifests/klusterlet/klusterlet-work-deployment.yaml @@ -40,7 +40,6 @@ spec: containers: - name: klusterlet-manifestwork-agent image: {{ .WorkImage }} - imagePullPolicy: IfNotPresent args: - "/work" - "agent" diff --git a/pkg/operators/clustermanager/bindata/bindata.go b/pkg/operators/clustermanager/bindata/bindata.go index 76ab7bdf6..dc4c26a66 100644 --- a/pkg/operators/clustermanager/bindata/bindata.go +++ b/pkg/operators/clustermanager/bindata/bindata.go @@ -991,7 +991,6 @@ spec: containers: - name: hub-registration-controller image: {{ .RegistrationImage }} - imagePullPolicy: IfNotPresent args: - "/registration" - "controller" @@ -1225,7 +1224,6 @@ spec: containers: - name: {{ .ClusterManagerName }}-registration-webhook-sa image: {{ .RegistrationImage }} - imagePullPolicy: IfNotPresent args: - "/registration" - "webhook" @@ -1569,7 +1567,6 @@ spec: containers: - name: {{ .ClusterManagerName }}-work-webhook-sa image: {{ .WorkImage }} - imagePullPolicy: IfNotPresent args: - "/work" - "webhook" diff --git a/pkg/operators/klusterlet/bindata/bindata.go b/pkg/operators/klusterlet/bindata/bindata.go index 6b69e8584..d461392aa 100644 --- a/pkg/operators/klusterlet/bindata/bindata.go +++ b/pkg/operators/klusterlet/bindata/bindata.go @@ -288,7 +288,6 @@ spec: containers: - name: registration-controller image: {{ .RegistrationImage }} - imagePullPolicy: IfNotPresent args: - "/registration" - "agent" @@ -586,7 +585,6 @@ spec: containers: - name: klusterlet-manifestwork-agent image: {{ .WorkImage }} - imagePullPolicy: IfNotPresent args: - "/work" - "agent"