diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index a0ad32d932..0945bf463f 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -5,7 +5,6 @@ on: - 'main' paths-ignore: - 'README.md' - - 'charts/**' - 'docs/**' - '.github/config.yml' pull_request: @@ -13,7 +12,6 @@ on: - 'main' paths-ignore: - 'README.md' - - 'charts/**' - 'docs/**' - '.github/config.yml' @@ -96,7 +94,7 @@ jobs: sed -i -e "s|nameOverride:.*|nameOverride: kyverno|g" charts/kyverno/values.yaml sed -i -e "s|fullnameOverride:.*|fullnameOverride: kyverno|g" charts/kyverno/values.yaml sed -i -e "s|namespace:.*|namespace: kyverno|g" charts/kyverno/values.yaml - sed -i -e "s|tag:.*|tag: $(git describe --match "v[0-9]*")|g" charts/kyverno/values.yaml + sed -i -e "s|tag: # replaced in e2e tests|tag: $(git describe --match "v[0-9]*")|" charts/kyverno/values.yaml - name: Run chart-testing (install) run: | diff --git a/charts/kyverno/values.yaml b/charts/kyverno/values.yaml index 7f33fca209..0f1cf391f7 100644 --- a/charts/kyverno/values.yaml +++ b/charts/kyverno/values.yaml @@ -26,14 +26,14 @@ rbac: image: repository: ghcr.io/kyverno/kyverno # Defaults to appVersion in Chart.yaml if omitted - tag: + tag: # replaced in e2e tests pullPolicy: IfNotPresent pullSecrets: [] # - secretName initImage: repository: ghcr.io/kyverno/kyvernopre # If initImage.tag is missing, defaults to image.tag - tag: + tag: # replaced in e2e tests # If initImage.pullPolicy is missing, defaults to image.pullPolicy pullPolicy: # No pull secrets just for initImage; just add to image.pullSecrets