Skip to content

Commit e82bd63

Browse files
authored
ci: new env variable to set --feature-gates (#1166)
**What problem does this PR solve?**: Expose an env variable to enable `--feature-gates` when deploying a dev/CI cluster. **Which issue(s) this PR fixes**: Fixes # **How Has This Been Tested?**: <!-- Please describe the tests that you ran to verify your changes. Provide output from the tests and any manual steps needed to replicate the tests. --> **Special notes for your reviewer**: <!-- Use this to provide any additional information to the reviewers. This may include: - Best way to review the PR. - Where the author wants the most review attention on. - etc. -->
1 parent f0048d0 commit e82bd63

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

make/dev.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Copyright 2023 Nutanix. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4+
CAREN_FEATURE_GATES ?= ""
5+
46
.PHONY: dev.run-on-kind
57
dev.run-on-kind: export KUBECONFIG := $(KIND_KUBECONFIG)
68
dev.run-on-kind: kind.create clusterctl.init
@@ -16,6 +18,7 @@ dev.run-on-kind:
1618
--set-string image.repository=ko.local/cluster-api-runtime-extensions-nutanix \
1719
--set-string image.tag=$(SNAPSHOT_VERSION) \
1820
--set-string helmRepository.images.bundleInitializer.tag=$(SNAPSHOT_VERSION) \
21+
--set extraArgs.feature-gates="$(CAREN_FEATURE_GATES)" \
1922
--wait --wait-for-jobs
2023
kubectl rollout restart deployment cluster-api-runtime-extensions-nutanix
2124
kubectl rollout restart deployment helm-repository

0 commit comments

Comments
 (0)