From b28a21238e575f05bdffc84d74a8201539ab651f Mon Sep 17 00:00:00 2001 From: Rui Vieira Date: Thu, 20 Jun 2024 09:51:53 +0100 Subject: [PATCH] feat: Add testing overlay (#251) This overlay adds an `ImagePullPolicy: Always` to the operator image for testing purposes. --- config/overlays/testing/image-pull-policy.yaml | 11 +++++++++++ config/overlays/testing/kustomization.yaml | 5 +++++ 2 files changed, 16 insertions(+) create mode 100644 config/overlays/testing/image-pull-policy.yaml create mode 100644 config/overlays/testing/kustomization.yaml diff --git a/config/overlays/testing/image-pull-policy.yaml b/config/overlays/testing/image-pull-policy.yaml new file mode 100644 index 00000000..db7843a9 --- /dev/null +++ b/config/overlays/testing/image-pull-policy.yaml @@ -0,0 +1,11 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: controller-manager + namespace: system +spec: + template: + spec: + containers: + - name: manager + imagePullPolicy: Always diff --git a/config/overlays/testing/kustomization.yaml b/config/overlays/testing/kustomization.yaml new file mode 100644 index 00000000..7cacd7e2 --- /dev/null +++ b/config/overlays/testing/kustomization.yaml @@ -0,0 +1,5 @@ +resources: + - ../../base + +patchesStrategicMerge: + - image-pull-policy.yaml