Skip to content

Commit 2c585f7

Browse files
authored
Move feature overlays to components (#2059)
Move the current feature overlays to be components. This will allow them to be brought into an experimental overlay in the near future. These are currently unused. This is part of the feature-gated API functionality. Signed-off-by: Todd Short <tshort@redhat.com>
1 parent 089aa45 commit 2c585f7

File tree

7 files changed

+6
-24
lines changed

7 files changed

+6
-24
lines changed

config/overlays/featuregate/synthetic-user-permissions/kustomization.yaml renamed to config/components/features/synthetic-user-permissions/kustomization.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
# kustomization file for OLMv1 support for synthetic auth
22
# DO NOT ADD A NAMESPACE HERE
3-
apiVersion: kustomize.config.k8s.io/v1beta1
4-
kind: Kustomization
5-
resources:
6-
- ../../../base/operator-controller
7-
- ../../../base/common
8-
components:
9-
- ../../../components/tls/operator-controller
10-
3+
apiVersion: kustomize.config.k8s.io/v1alpha1
4+
kind: Component
115
patches:
126
- target:
137
kind: Deployment

config/overlays/featuregate/webhook-provider-certmanager/kustomization.yaml renamed to config/components/features/webhook-provider-certmanager/kustomization.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
# kustomization file for cert-manager backed OLMv1 support for installation of bundles with webhooks
22
# DO NOT ADD A NAMESPACE HERE
3-
apiVersion: kustomize.config.k8s.io/v1beta1
4-
kind: Kustomization
5-
resources:
6-
- ../../../base/operator-controller
7-
- ../../../base/common
8-
components:
9-
- ../../../components/tls/operator-controller
10-
3+
apiVersion: kustomize.config.k8s.io/v1alpha1
4+
kind: Component
115
patches:
126
- target:
137
kind: Deployment

config/overlays/featuregate/webhook-provider-openshift-serviceca/kustomization.yaml renamed to config/components/features/webhook-provider-openshift-serviceca/kustomization.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
# kustomization file for openshift-serviceca backed OLMv1 support for installation of bundles with webhooks
22
# DO NOT ADD A NAMESPACE HERE
3-
apiVersion: kustomize.config.k8s.io/v1beta1
4-
kind: Kustomization
5-
resources:
6-
- ../../../base/operator-controller
7-
- ../../../base/common
8-
components:
9-
- ../../../components/tls/operator-controller
10-
3+
apiVersion: kustomize.config.k8s.io/v1alpha1
4+
kind: Component
115
patches:
126
- target:
137
kind: Deployment

0 commit comments

Comments
 (0)