Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
test added following kevin review
Browse files Browse the repository at this point in the history
  • Loading branch information
mloiseleur authored and traefiker committed Jan 3, 2024
1 parent 5a01bb9 commit 4025763
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions traefik-hub/tests/deployment_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,18 @@ tests:
- contains:
path: spec.template.spec.containers[0].args
content: --providers.kubernetesingress.ingressclass="bar"
- it: should set custom name inchart ingressClass on both providers
set:
ingressClass:
enabled: true
name: mying
asserts:
- contains:
path: spec.template.spec.containers[0].args
content: --providers.kubernetescrd.ingressclass="mying"
- contains:
path: spec.template.spec.containers[0].args
content: --providers.kubernetesingress.ingressclass="mying"
- it: should add and mount an extraVolume when set
set:
extraVolumes:
Expand Down

0 comments on commit 4025763

Please sign in to comment.