Skip to content

Commit ce8a66e

Browse files
authored
Add FEATURE_GATES env to controller deployment template (#559)
Description of changes: This change will allow us to include environment variable for feature gates, specifically when testing specific ones By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 8f0f520 commit ce8a66e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

templates/config/controller/deployment.yaml.tpl

+4
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ spec:
4141
- "$(LEADER_ELECTION_NAMESPACE)"
4242
- --reconcile-default-max-concurrent-syncs
4343
- "$(RECONCILE_DEFAULT_MAX_CONCURRENT_SYNCS)"
44+
- --feature-gates
45+
- "$(FEATURE_GATES)"
4446
image: controller:latest
4547
name: controller
4648
ports:
@@ -76,6 +78,8 @@ spec:
7678
value: "ack-system"
7779
- name: "RECONCILE_DEFAULT_MAX_CONCURRENT_SYNCS"
7880
value: "1"
81+
- name: "FEATURE_GATES"
82+
value: ""
7983
securityContext:
8084
allowPrivilegeEscalation: false
8185
privileged: false

0 commit comments

Comments
 (0)