From 644241fd37f6081b89d0bb2cf349848e9c1c716f Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Thu, 22 Jun 2023 13:44:10 +0200 Subject: [PATCH] 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