Skip to content

Commit 02f39cc

Browse files
committed
add overlays for Helm Chart experimental features
Signed-off-by: Edmund Ochieng <[email protected]>
1 parent 76b7f7c commit 02f39cc

File tree

6 files changed

+17
-1
lines changed

6 files changed

+17
-1
lines changed

config/components/base/experimental/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ components:
1313
- ../../features/single-own-namespace
1414
- ../../features/preflight-permissions
1515
- ../../features/apiv1-metas-handler
16+
- ../../features/helm-chart
1617
# This one is downstream only, so we shant use it
1718
# - ../../features/webhook-provider-openshift-serviceca
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# DO NOT ADD A NAMESPACE HERE
2+
---
3+
apiVersion: kustomize.config.k8s.io/v1alpha1
4+
kind: Component
5+
patches:
6+
- target:
7+
kind: Deployment
8+
name: operator-controller-controller-manager
9+
path: patches/enable-featuregate.yaml
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# enable Helm chart support feature gate
2+
- op: add
3+
path: /spec/template/spec/containers/0/args/-
4+
value: "--feature-gates=HelmChartSupport=true"

internal/shared/util/image/helm_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func Test_hasChart(t *testing.T) {
5757
}
5858
tests := []struct {
5959
name string
60-
args
60+
args args
6161
want bool
6262
}{
6363
{

manifests/experimental-e2e.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1714,6 +1714,7 @@ spec:
17141714
- --feature-gates=WebhookProviderCertManager=true
17151715
- --feature-gates=SingleOwnNamespaceInstallSupport=true
17161716
- --feature-gates=PreflightPermissions=true
1717+
- --feature-gates=HelmChartSupport=true
17171718
- --catalogd-cas-dir=/var/certs
17181719
- --pull-cas-dir=/var/certs
17191720
- --tls-cert=/var/certs/tls.cert

manifests/experimental.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1683,6 +1683,7 @@ spec:
16831683
- --feature-gates=WebhookProviderCertManager=true
16841684
- --feature-gates=SingleOwnNamespaceInstallSupport=true
16851685
- --feature-gates=PreflightPermissions=true
1686+
- --feature-gates=HelmChartSupport=true
16861687
- --catalogd-cas-dir=/var/certs
16871688
- --pull-cas-dir=/var/certs
16881689
- --tls-cert=/var/certs/tls.cert

0 commit comments

Comments
 (0)