Skip to content

Commit

Permalink
fix: CI
Browse files Browse the repository at this point in the history
  • Loading branch information
darkweaver87 committed Jan 10, 2025
1 parent fdbf4b6 commit b99068e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
9 changes: 6 additions & 3 deletions hack/ct.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ git config --global --add safe.directory /charts
case "${ACTION}" in
install-with-crds)
ACTION="install"
ct "${ACTION}" --config=.github/chart-testing.yaml --charts traefik-crds/ --skip-clean-up
# # --skip-clean-up is here because helm uninstall doesn't have a --skip-crds flag ...
ct "${ACTION}" --config=.github/chart-testing.yaml --charts traefik/ --helm-extra-args '--skip-crds' --skip-clean-up

# deleting existing CRDs
kubectl get customresourcedefinitions.apiextensions.k8s.io -o name | grep traefik.io | xargs kubectl delete crd
ct "${ACTION}" --namespace traefik --config=.github/chart-testing.yaml --charts traefik-crds/
ct "${ACTION}" --namespace traefik --config=.github/chart-testing.yaml --charts traefik/
;;
install)
kubectl create namespace traefik
ct "${ACTION}" --config=.github/chart-testing.yaml --charts traefik/
;;
*)
Expand Down
12 changes: 2 additions & 10 deletions traefik-crds/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,10 @@
"type": "boolean"
},
"gatewayAPI": {
"default": false,
"type": [
"string",
"boolean"
]
"type": "boolean"
},
"hub": {
"default": false,
"type": [
"string",
"boolean"
]
"type": "boolean"
},
"traefik": {
"type": "boolean"
Expand Down

0 comments on commit b99068e

Please sign in to comment.