Skip to content

Commit 6bbf4d7

Browse files
authored
✨ Add support for deploying OCI helm charts in OLM v1 (#1971)
* Add support for deploying OCI helm charts in OLM v1 * added support for deploying OCI helm charts which sits behind the HelmChartSupport feature gate * extend the Cache Store() method to allow storing of Helm charts * inspect chart archive contents * added MediaType to the LayerData struct Signed-off-by: Edmund Ochieng <[email protected]> * Helm chart support documentation Signed-off-by: Edmund Ochieng <[email protected]> * add overlays for Helm Chart experimental features Signed-off-by: Edmund Ochieng <[email protected]> --------- Signed-off-by: Edmund Ochieng <[email protected]>
1 parent e02c8de commit 6bbf4d7

File tree

13 files changed

+1585
-6
lines changed

13 files changed

+1585
-6
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"

0 commit comments

Comments
 (0)