From 644241fd37f6081b89d0bb2cf349848e9c1c716f Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Thu, 22 Jun 2023 13:44:10 +0200 Subject: [PATCH 1/2] fix(patches): adding missing patch --- init-app | 1 + .../overlays/dev/patches/add-registry-pull-secret.patch.yaml | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 misc/k8s/kustomization/overlays/dev/patches/add-registry-pull-secret.patch.yaml diff --git a/init-app b/init-app index 75dfd83..6d60e7a 100755 --- a/init-app +++ b/init-app @@ -77,6 +77,7 @@ init_app() { cd ${appDest} rm -rf .git + rm -rf init-app echo "Setting Dockerfiles" dirs=$(find ${DOCKERFILES_ROOT}/* -type d -name 'myapplication-*') diff --git a/misc/k8s/kustomization/overlays/dev/patches/add-registry-pull-secret.patch.yaml b/misc/k8s/kustomization/overlays/dev/patches/add-registry-pull-secret.patch.yaml new file mode 100644 index 0000000..1e4b8d2 --- /dev/null +++ b/misc/k8s/kustomization/overlays/dev/patches/add-registry-pull-secret.patch.yaml @@ -0,0 +1,4 @@ +- op: add + path: "/spec/template/spec/imagePullSecrets" + value: + - name: regcred-dev -- 2.17.1 From 7ad3f379ab75216e1d2130ab26d08bee179e4db1 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Thu, 22 Jun 2023 13:50:47 +0200 Subject: [PATCH 2/2] fix(patches): use correct patch file name --- ...istry-pull-secret.patch.yaml => add-registry-pull-secret.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename misc/k8s/kustomization/overlays/dev/patches/{add-registry-pull-secret.patch.yaml => add-registry-pull-secret.yaml} (100%) diff --git a/misc/k8s/kustomization/overlays/dev/patches/add-registry-pull-secret.patch.yaml b/misc/k8s/kustomization/overlays/dev/patches/add-registry-pull-secret.yaml similarity index 100% rename from misc/k8s/kustomization/overlays/dev/patches/add-registry-pull-secret.patch.yaml rename to misc/k8s/kustomization/overlays/dev/patches/add-registry-pull-secret.yaml -- 2.17.1