From 66c9d1cfaf69613004ca43af713c974bc9ace187 Mon Sep 17 00:00:00 2001 From: Guy Margalit Date: Fri, 15 Nov 2019 05:23:02 +0200 Subject: [PATCH] Use default imagePullPolicy to force pull latest tags --- deploy/internal/statefulset-core.yaml | 3 --- deploy/operator.yaml | 1 - doc/backing-store-crd.md | 1 - pkg/bundle/deploy.go | 8 ++------ 4 files changed, 2 insertions(+), 11 deletions(-) diff --git a/deploy/internal/statefulset-core.yaml b/deploy/internal/statefulset-core.yaml index a0db14445..05b5e72c2 100644 --- a/deploy/internal/statefulset-core.yaml +++ b/deploy/internal/statefulset-core.yaml @@ -49,7 +49,6 @@ spec: #----------------# - name: init image: NOOBAA_CORE_IMAGE - imagePullPolicy: IfNotPresent command: - /noobaa_init_files/noobaa_init.sh - init_mongo @@ -62,7 +61,6 @@ spec: #----------------# - name: core image: NOOBAA_CORE_IMAGE - imagePullPolicy: IfNotPresent volumeMounts: - name: logs mountPath: /log @@ -142,7 +140,6 @@ spec: #--------------------# - name: db image: NOOBAA_DB_IMAGE - imagePullPolicy: IfNotPresent command: - bash - -c diff --git a/deploy/operator.yaml b/deploy/operator.yaml index 77f271e5f..271627af5 100644 --- a/deploy/operator.yaml +++ b/deploy/operator.yaml @@ -17,7 +17,6 @@ spec: containers: - name: noobaa-operator image: noobaa/noobaa-operator:2.0.7 - imagePullPolicy: IfNotPresent resources: limits: cpu: "250m" diff --git a/doc/backing-store-crd.md b/doc/backing-store-crd.md index 0cd8a7b30..3c03bc9e4 100644 --- a/doc/backing-store-crd.md +++ b/doc/backing-store-crd.md @@ -153,7 +153,6 @@ spec: spec: containers: - name: noobaa-agent - imagePullPolicy: IfNotPresent resources: requests: cpu: "100m" diff --git a/pkg/bundle/deploy.go b/pkg/bundle/deploy.go index 0a8d67720..7b6eed726 100644 --- a/pkg/bundle/deploy.go +++ b/pkg/bundle/deploy.go @@ -1037,7 +1037,7 @@ spec: name: s3-https ` -const Sha256_deploy_internal_statefulset_core_yaml = "effdb488acaf67b4cfbb2e1120f17a9d7283206f4a65f1cc1e687473d2bd96fd" +const Sha256_deploy_internal_statefulset_core_yaml = "e358c0cbd92be099dcea3f032b9ba780b2d6ed4ad9257a4e13902aa640a3c1f2" const File_deploy_internal_statefulset_core_yaml = `apiVersion: apps/v1 kind: StatefulSet @@ -1090,7 +1090,6 @@ spec: #----------------# - name: init image: NOOBAA_CORE_IMAGE - imagePullPolicy: IfNotPresent command: - /noobaa_init_files/noobaa_init.sh - init_mongo @@ -1103,7 +1102,6 @@ spec: #----------------# - name: core image: NOOBAA_CORE_IMAGE - imagePullPolicy: IfNotPresent volumeMounts: - name: logs mountPath: /log @@ -1183,7 +1181,6 @@ spec: #--------------------# - name: db image: NOOBAA_DB_IMAGE - imagePullPolicy: IfNotPresent command: - bash - -c @@ -1811,7 +1808,7 @@ spec: sourceNamespace: marketplace ` -const Sha256_deploy_operator_yaml = "bead9e44ebb85a2684e1d17f3c20c02ad8fedb461041db0c61305655538f79c0" +const Sha256_deploy_operator_yaml = "1ae40b1d77b51126d95632a9d28cc8302bf978ecde799868472531eb7758cb3a" const File_deploy_operator_yaml = `apiVersion: apps/v1 kind: Deployment @@ -1832,7 +1829,6 @@ spec: containers: - name: noobaa-operator image: noobaa/noobaa-operator:2.0.7 - imagePullPolicy: IfNotPresent resources: limits: cpu: "250m"