Skip to content

Commit 2360f2b

Browse files
committed
more suggestions
1 parent a98b379 commit 2360f2b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

charts/ingress-nginx/tests/controller-deployment_test.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,15 +234,13 @@ tests:
234234

235235
- it: should create a Deployment with the electionID label on the pod template when leader election is enabled
236236
set:
237-
controller.disableLeaderElection: false
238237
asserts:
239238
- equal:
240239
path: spec.template.metadata.labels['nginx.ingress.kubernetes.io/electionID']
241240
value: RELEASE-NAME-ingress-nginx-leader
242241

243242
- it: should create a Deployment with the custom electionID label on the pod template when controller.electionID is set and leader election is enabled
244243
set:
245-
controller.disableLeaderElection: false
246244
controller.electionID: custom-election-id
247245
asserts:
248246
- equal:

0 commit comments

Comments
 (0)