From 06f9a8566cc38c51a247e8db591290a1a8b13103 Mon Sep 17 00:00:00 2001 From: "Gabriel R. Antunes" Date: Mon, 18 Nov 2024 17:10:52 -0400 Subject: [PATCH] chore: cd --- .github/actions/deploy-k8s-kustomize/action.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/actions/deploy-k8s-kustomize/action.yml b/.github/actions/deploy-k8s-kustomize/action.yml index 805bc1b..f0c664d 100644 --- a/.github/actions/deploy-k8s-kustomize/action.yml +++ b/.github/actions/deploy-k8s-kustomize/action.yml @@ -26,9 +26,11 @@ runs: ENV_RUNTIME_SECRET_NAME: "ladesa-ro-sso-secrets" run: | kubectl create secret generic ${ENV_RUNTIME_SECRET_NAME} \ + --namespace="${{ inputs.namespace }}"" \ + --dry-run=client \ + -o=yaml \ --from-env-file=<(echo "${ENV_RUNTIME_KEY_VALUE}") \ - --namespace=${{ inputs.namespace }} \ - ; + | kubectl apply -f; # kubectl kustomize . | envsubst | kubectl apply -f -;