From 8f41dcd0e3daf25e025310da9813634c935b7b90 Mon Sep 17 00:00:00 2001 From: Andrii Chubatiuk Date: Thu, 19 Sep 2024 08:45:15 +0300 Subject: [PATCH] pipeline and chart bugfixes (#1513) --- .github/workflows/labeler.yaml | 1 - .github/workflows/update-docs.yaml | 5 ++--- charts/victoria-metrics-operator/templates/webhook.yaml | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/labeler.yaml b/.github/workflows/labeler.yaml index ce7654a2e..de1cb8d13 100644 --- a/.github/workflows/labeler.yaml +++ b/.github/workflows/labeler.yaml @@ -9,7 +9,6 @@ jobs: permissions: issues: write pull-requests: write - triage: runs-on: ubuntu-latest steps: - uses: actions/labeler@v5 diff --git a/.github/workflows/update-docs.yaml b/.github/workflows/update-docs.yaml index 6df0f0f8c..11ebb2ee1 100644 --- a/.github/workflows/update-docs.yaml +++ b/.github/workflows/update-docs.yaml @@ -53,11 +53,10 @@ jobs: --include="*.webp" \ --include="*.md" \ --exclude="*" \ - charts/ ../__vm-repo/docs/helm/ - cp *.md ../_vm-repo/docs/helm/ + charts/ __vm-repo/docs/helm/ + cp *.md __vm-repo/docs/helm/ echo "BUILDTIME=$(date +%s)" >> $GITHUB_OUTPUT echo "SHORT_SHA=$(git rev-parse --short $GITHUB_SHA)" >> $GITHUB_OUTPUT - cp -f README.md ${{ runner.temp }}/README.md for readme in $(find charts/*/README.md) do diff --git a/charts/victoria-metrics-operator/templates/webhook.yaml b/charts/victoria-metrics-operator/templates/webhook.yaml index d5195e455..edf87f423 100644 --- a/charts/victoria-metrics-operator/templates/webhook.yaml +++ b/charts/victoria-metrics-operator/templates/webhook.yaml @@ -20,7 +20,7 @@ webhooks: namespace: {{ include "vm.namespace" $ }} name: {{ include "vm-operator.fullname" $ }} path: /validate-operator-victoriametrics-com-v1beta1-{{ $name }} - port: {{ .Values.service.webhookPort }} + port: {{ $.Values.service.webhookPort }} {{- if not $.Values.admissionWebhooks.certManager.enabled }} caBundle: {{ $tls.caCert }} {{- end }}