1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

fix | e2e test cases are failing with busybox image (#2422)

* removing charts from push and pull ignore

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* updated tag replace logic

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* linting fix

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
This commit is contained in:
Pooja Singh 2021-09-22 01:37:46 +05:30 committed by GitHub
parent d6a6974a5f
commit adb785831f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View file

@ -5,7 +5,6 @@ on:
- 'main' - 'main'
paths-ignore: paths-ignore:
- 'README.md' - 'README.md'
- 'charts/**'
- 'docs/**' - 'docs/**'
- '.github/config.yml' - '.github/config.yml'
pull_request: pull_request:
@ -13,7 +12,6 @@ on:
- 'main' - 'main'
paths-ignore: paths-ignore:
- 'README.md' - 'README.md'
- 'charts/**'
- 'docs/**' - 'docs/**'
- '.github/config.yml' - '.github/config.yml'
@ -96,7 +94,7 @@ jobs:
sed -i -e "s|nameOverride:.*|nameOverride: kyverno|g" charts/kyverno/values.yaml 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|fullnameOverride:.*|fullnameOverride: kyverno|g" charts/kyverno/values.yaml
sed -i -e "s|namespace:.*|namespace: 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) - name: Run chart-testing (install)
run: | run: |

View file

@ -26,14 +26,14 @@ rbac:
image: image:
repository: ghcr.io/kyverno/kyverno repository: ghcr.io/kyverno/kyverno
# Defaults to appVersion in Chart.yaml if omitted # Defaults to appVersion in Chart.yaml if omitted
tag: tag: # replaced in e2e tests
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
pullSecrets: [] pullSecrets: []
# - secretName # - secretName
initImage: initImage:
repository: ghcr.io/kyverno/kyvernopre repository: ghcr.io/kyverno/kyvernopre
# If initImage.tag is missing, defaults to image.tag # If initImage.tag is missing, defaults to image.tag
tag: tag: # replaced in e2e tests
# If initImage.pullPolicy is missing, defaults to image.pullPolicy # If initImage.pullPolicy is missing, defaults to image.pullPolicy
pullPolicy: pullPolicy:
# No pull secrets just for initImage; just add to image.pullSecrets # No pull secrets just for initImage; just add to image.pullSecrets