Skip to content

Commit

Permalink
Manage namespace in kustomization for subscriptions
Browse files Browse the repository at this point in the history
Let's be consistent about where we're setting namespaces for operator
subscriptions.
  • Loading branch information
larsks committed Jun 18, 2022
1 parent b045570 commit 4e40409
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: open-cluster-management
resources:
- subscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: acm
namespace: open-cluster-management
spec:
channel: release-2.5
installPlanApproval: Automatic
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: openshift-operators
resources:
- subscription.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
labels:
operators.coreos.com/ocs-operator.cert-manager: ""
name: cert-manager
namespace: openshift-operators
spec:
channel: stable
installPlanApproval: Automatic
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: openshift-operators
resources:
- subscription.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
labels:
operators.coreos.com/openshift-gitops-operator.openshift-operators: ""
name: openshift-gitops-operator
namespace: openshift-operators
spec:
channel: stable
installPlanApproval: Automatic
Expand Down

0 comments on commit 4e40409

Please sign in to comment.