Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: "clickhouse.altinity.com/v1"
kind: "ClickHouseOperatorConfiguration"
metadata:
name: "watch-all-namespaces"
spec:
watch:
namespaces:
- ".*"
5 changes: 5 additions & 0 deletions clickhouse-operator/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: clickhouse-operator
resources:
- clickhouse.altinity.com/clickhouseoperatorconfigurations/watch-all-namespaces.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: v1
kind: Namespace
metadata:
name: clickhouse-operator
spec: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: operatorhubio-catalog
spec:
sourceType: grpc
image: quay.io/operatorhubio/catalog:latest
displayName: OperatorHub.io Operators
publisher: OperatorHub.io
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: openshift-marketplace
resources:
- catalogsource.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: clickhouse-operator
resources:
- operatorgroup.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: operators.coreos.com/v1
kind: OperatorGroup
metadata:
name: clickhouse-operator-group
spec:
targetNamespaces:
- clickhouse-operator
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: clickhouse-operator
resources:
- subscription.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: clickhouse-operator-sub
namespace: clickhouse-operator
spec:
channel: latest
installPlanApproval: Automatic
name: clickhouse
source: operatorhubio-catalog
sourceNamespace: openshift-marketplace
9 changes: 9 additions & 0 deletions cluster-scope/bundles/clickhouse-operator/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
commonLabels:
nerc.mghpcc.org/bundle: clickhouse-operator
resources:
- ../../base/core/namespaces/clickhouse-operator
- ../../base/operators.coreos.com/catalogsources/operatorhubio
- ../../base/operators.coreos.com/operatorgroups/clickhouse-operator
- ../../base/operators.coreos.com/subscriptions/clickhouse-operator
1 change: 1 addition & 0 deletions cluster-scope/overlays/nerc-ocp-test/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ resources:
- ../../bundles/authorino-operator
- ../../bundles/servicemesh-operator
- ../../bundles/cluster-observability-operator
- ../../bundles/clickhouse-operator

components:
- ../../components/nerc-oauth-github
Expand Down