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:
parent
d6a6974a5f
commit
adb785831f
2 changed files with 3 additions and 5 deletions
4
.github/workflows/e2e.yaml
vendored
4
.github/workflows/e2e.yaml
vendored
|
@ -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: |
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue