From a8f8a838d42501622906f6683c4b349e80879bfb Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Tue, 19 Sep 2023 14:02:13 +0200 Subject: [PATCH] configure nginx n dedicated steps --- .github/workflows/helm-community.yml | 7 +++++-- .github/workflows/helm-enterprise.yml | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/helm-community.yml b/.github/workflows/helm-community.yml index bf69d2bec..1a859edfc 100644 --- a/.github/workflows/helm-community.yml +++ b/.github/workflows/helm-community.yml @@ -43,12 +43,15 @@ jobs: - name: Create registries auth secret if: ${{ ! github.event.repository.fork }} run: | - kubectl -n ingress-nginx patch cm ingress-nginx-controller \ - -p '{"data": {"allow-snippet-annotations":"true"}}' kubectl create secret generic regcred \ --from-file=.dockerconfigjson=$HOME/.docker/config.json \ --type=kubernetes.io/dockerconfigjson + - name: Set nginx ingress config + run: | + kubectl -n ingress-nginx patch cm ingress-nginx-controller \ + -p '{"data": {"allow-snippet-annotations":"true"}}' + - name: Helm install run: | helm dep up ./helm/alfresco-content-services diff --git a/.github/workflows/helm-enterprise.yml b/.github/workflows/helm-enterprise.yml index ecc2b2af3..e0e101069 100644 --- a/.github/workflows/helm-enterprise.yml +++ b/.github/workflows/helm-enterprise.yml @@ -103,12 +103,15 @@ jobs: - name: Create registries auth secret run: | - kubectl -n ingress-nginx patch cm ingress-nginx-controller \ - -p '{"data": {"allow-snippet-annotations":"true"}}' kubectl create secret generic regcred \ --from-file=.dockerconfigjson=$HOME/.docker/config.json \ --type=kubernetes.io/dockerconfigjson + - name: Set nginx ingress config + run: | + kubectl -n ingress-nginx patch cm ingress-nginx-controller \ + -p '{"data": {"allow-snippet-annotations":"true"}}' + - name: Helm install run: | helm dep up ./helm/alfresco-content-services