From d44a6e03a27ed9f59d85d91be90e378776a10b89 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Boll Date: Fri, 20 Dec 2024 12:10:33 +0100 Subject: [PATCH] testing add diff --- frontend/Makefile | 2 +- frontend/pipeline.yaml | 2 +- run_pipeline.sh | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/Makefile b/frontend/Makefile index 27a7d5b86..a2dd7bef3 100644 --- a/frontend/Makefile +++ b/frontend/Makefile @@ -52,7 +52,7 @@ deploy: TENANT_ID=$(shell az account show --query tenantId --output tsv) && \ kubectl create namespace aro-hcp --dry-run=client -o json | kubectl apply -f - && \ kubectl label namespace aro-hcp "istio.io/rev=$${ISTO_VERSION}" --overwrite=true && \ - helm upgrade --install ${HELM_DRY_RUN} aro-hcp-frontend-dev \ + helm diff --install ${HELM_DRY_RUN} aro-hcp-frontend-dev \ deploy/helm/frontend/ \ --set azure.clientId=$${SECRET_STORE_MI_CLIENT_ID} \ --set azure.tenantId=$${TENANT_ID} \ diff --git a/frontend/pipeline.yaml b/frontend/pipeline.yaml index f674f7e0c..ab4d1dc8b 100644 --- a/frontend/pipeline.yaml +++ b/frontend/pipeline.yaml @@ -12,7 +12,7 @@ resourceGroups: dryRun: variables: - name: HELM_DRY_RUN - value: "--dry-run=server --debug" + value: "--suppress-secrets" variables: - name: ARO_HCP_IMAGE_ACR configRef: svcAcrName diff --git a/run_pipeline.sh b/run_pipeline.sh index b0354dd48..718052fb3 100755 --- a/run_pipeline.sh +++ b/run_pipeline.sh @@ -111,6 +111,7 @@ fi make -s -C ${PROJECT_ROOT_DIR}/tooling/templatize templatize TEMPLATIZE="${PROJECT_ROOT_DIR}/tooling/templatize/templatize" +helm plugin install https://github.com/databus23/helm-diff CONFIG_FILE=${CONFIG_FILE:-${PROJECT_ROOT_DIR}/config/config.yaml} $TEMPLATIZE pipeline run \