Skip to content

Commit

Permalink
feat: update catalogsource, og, and sub (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
whg517 authored Jul 8, 2024
1 parent 0f14b75 commit fdd66cb
Show file tree
Hide file tree
Showing 51 changed files with 168 additions and 167 deletions.
Empty file added deploy/demos/.gitkeep
Empty file.
3 changes: 0 additions & 3 deletions deploy/demos/README.md

This file was deleted.

Empty file.
3 changes: 0 additions & 3 deletions deploy/examples/alluxio/README.MD

This file was deleted.

12 changes: 5 additions & 7 deletions deploy/examples/commons/catalog.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: kds-catalog
name: kubedata-catalog
namespace: olm
spec:
sourceType: grpc
grpcPodConfig:
securityContextConfig: restricted
image: quay.io/zncdatadev/catalog:latest
displayName: kds catalog
publisher: zncdata-labs
image: quay.io/zncdatadev/kubedata-catalog:latest
displayName: Kubernetes Data Stack Operators
publisher: ZNCDataDev Community
updateStrategy:
registryPoll:
interval: 5m
interval: 20m
5 changes: 0 additions & 5 deletions deploy/examples/commons/namespace.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: kubedatastack-operators
---
apiVersion: v1
kind: Namespace
metadata:
name: kubedatastack
6 changes: 3 additions & 3 deletions deploy/examples/commons/operator-group.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
kind: OperatorGroup
apiVersion: operators.coreos.com/v1
metadata:
name: kubedatastack
namespace: kubedatastack-operators
name: kubedata-operators
namespace: kubedatastack
spec:
targetNamespaces:
- kubedatastack
- kubedatastack
8 changes: 4 additions & 4 deletions deploy/examples/commons/subscription.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: commons-sub
namespace: kubedatastack-operators
name: commons-operator
namespace: kubedatastack
spec:
channel: stable
name: commons-operator
source: kds-catalog
source: kubedata-catalog
sourceNamespace: olm
installPlanApproval: Automated
installPlanApproval: Automated
12 changes: 5 additions & 7 deletions deploy/examples/dolphinscheduler/catalog.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: kds-catalog
name: kubedata-catalog
namespace: olm
spec:
sourceType: grpc
grpcPodConfig:
securityContextConfig: restricted
image: quay.io/zncdatadev/catalog:latest
displayName: kds catalog
publisher: zncdata-labs
image: quay.io/zncdatadev/kubedata-catalog:latest
displayName: Kubernetes Data Stack Operators
publisher: ZNCDataDev Community
updateStrategy:
registryPoll:
interval: 5m
interval: 20m
5 changes: 0 additions & 5 deletions deploy/examples/dolphinscheduler/namespace.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: kubedatastack-operators
---
apiVersion: v1
kind: Namespace
metadata:
name: kubedatastack
6 changes: 3 additions & 3 deletions deploy/examples/dolphinscheduler/operator-group.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
kind: OperatorGroup
apiVersion: operators.coreos.com/v1
metadata:
name: kubedatastack
namespace: kubedatastack-operators
name: kubedata-operators
namespace: kubedatastack
spec:
targetNamespaces:
- kubedatastack
- kubedatastack
8 changes: 4 additions & 4 deletions deploy/examples/dolphinscheduler/subscription.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: dolphinscheduler-sub
namespace: kubedatastack-operators
name: dolphinscheduler-operator
namespace: kubedatastack
spec:
channel: stable
name: dolphinscheduler-operator
source: kds-catalog
source: kubedata-catalog
sourceNamespace: olm
installPlanApproval: Automated
installPlanApproval: Automated
12 changes: 5 additions & 7 deletions deploy/examples/hdfs/catalog.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: kds-catalog
name: kubedata-catalog
namespace: olm
spec:
sourceType: grpc
grpcPodConfig:
securityContextConfig: restricted
image: quay.io/zncdatadev/catalog:latest
displayName: kds catalog
publisher: zncdata-labs
image: quay.io/zncdatadev/kubedata-catalog:latest
displayName: Kubernetes Data Stack Operators
publisher: ZNCDataDev Community
updateStrategy:
registryPoll:
interval: 5m
interval: 20m
5 changes: 0 additions & 5 deletions deploy/examples/hdfs/namespace.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: kubedatastack-operators
---
apiVersion: v1
kind: Namespace
metadata:
name: kubedatastack
6 changes: 3 additions & 3 deletions deploy/examples/hdfs/operator-group.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
kind: OperatorGroup
apiVersion: operators.coreos.com/v1
metadata:
name: kubedatastack
namespace: kubedatastack-operators
name: kubedata-operators
namespace: kubedatastack
spec:
targetNamespaces:
- kubedatastack
- kubedatastack
8 changes: 4 additions & 4 deletions deploy/examples/hdfs/subscription.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: hdfs-sub
namespace: kubedatastack-operators
name: hdfs-operator
namespace: kubedatastack
spec:
channel: stable
name: hdfs-operator
source: kds-catalog
source: kubedata-catalog
sourceNamespace: olm
installPlanApproval: Automated
installPlanApproval: Automated
Empty file added deploy/examples/hive/.gitkeep
Empty file.
3 changes: 0 additions & 3 deletions deploy/examples/hive/README.MD

This file was deleted.

12 changes: 5 additions & 7 deletions deploy/examples/kafka/catalog.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: kds-catalog
name: kubedata-catalog
namespace: olm
spec:
sourceType: grpc
grpcPodConfig:
securityContextConfig: restricted
image: quay.io/zncdatadev/catalog:latest
displayName: kds catalog
publisher: zncdata-labs
image: quay.io/zncdatadev/kubedata-catalog:latest
displayName: Kubernetes Data Stack Operators
publisher: ZNCDataDev Community
updateStrategy:
registryPoll:
interval: 5m
interval: 20m
5 changes: 0 additions & 5 deletions deploy/examples/kafka/namespace.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: kubedatastack-operators
---
apiVersion: v1
kind: Namespace
metadata:
name: kubedatastack
6 changes: 3 additions & 3 deletions deploy/examples/kafka/operator-group.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
kind: OperatorGroup
apiVersion: operators.coreos.com/v1
metadata:
name: kubedatastack
namespace: kubedatastack-operators
name: kubedata-operators
namespace: kubedatastack
spec:
targetNamespaces:
- kubedatastack
- kubedatastack
8 changes: 4 additions & 4 deletions deploy/examples/kafka/subscription.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: kafka-sub
namespace: kubedatastack-operators
name: kafka-operator
namespace: kubedatastack
spec:
channel: stable
name: kafka-operator
source: kds-catalog
source: kubedata-catalog
sourceNamespace: olm
installPlanApproval: Automated
installPlanApproval: Automated
3 changes: 0 additions & 3 deletions deploy/examples/listener/README.MD

This file was deleted.

13 changes: 13 additions & 0 deletions deploy/examples/listener/catalog.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: kubedata-catalog
namespace: olm
spec:
sourceType: grpc
image: quay.io/zncdatadev/kubedata-catalog:latest
displayName: Kubernetes Data Stack Operators
publisher: ZNCDataDev Community
updateStrategy:
registryPoll:
interval: 20m
4 changes: 4 additions & 0 deletions deploy/examples/listener/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: kubedatastack
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
kind: OperatorGroup
apiVersion: operators.coreos.com/v1
metadata:
name: kubedatastack
namespace: kubedatastack-operators
name: kubedata-operators
namespace: kubedatastack
spec:
targetNamespaces:
- kubedatastack
- kubedatastack
11 changes: 11 additions & 0 deletions deploy/examples/listener/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: listener-operator
namespace: kubedatastack
spec:
channel: stable
name: listener-operator
source: kubedata-catalog
sourceNamespace: olm
installPlanApproval: Automated
3 changes: 0 additions & 3 deletions deploy/examples/secret/README.MD

This file was deleted.

13 changes: 13 additions & 0 deletions deploy/examples/secret/catalog.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: kubedata-catalog
namespace: olm
spec:
sourceType: grpc
image: quay.io/zncdatadev/kubedata-catalog:latest
displayName: Kubernetes Data Stack Operators
publisher: ZNCDataDev Community
updateStrategy:
registryPoll:
interval: 20m
4 changes: 4 additions & 0 deletions deploy/examples/secret/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: kubedatastack
8 changes: 8 additions & 0 deletions deploy/examples/secret/operator-group.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
kind: OperatorGroup
apiVersion: operators.coreos.com/v1
metadata:
name: kubedata-operators
namespace: kubedatastack
spec:
targetNamespaces:
- kubedatastack
11 changes: 11 additions & 0 deletions deploy/examples/secret/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: secret-operator
namespace: kubedatastack
spec:
channel: stable
name: secret-operator
source: kubedata-catalog
sourceNamespace: olm
installPlanApproval: Automated
13 changes: 13 additions & 0 deletions deploy/examples/spark-k8s/catalog.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: kubedata-catalog
namespace: olm
spec:
sourceType: grpc
image: quay.io/zncdatadev/kubedata-catalog:latest
displayName: Kubernetes Data Stack Operators
publisher: ZNCDataDev Community
updateStrategy:
registryPoll:
interval: 20m
File renamed without changes.
4 changes: 4 additions & 0 deletions deploy/examples/spark-k8s/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: kubedatastack
8 changes: 8 additions & 0 deletions deploy/examples/spark-k8s/operator-group.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
kind: OperatorGroup
apiVersion: operators.coreos.com/v1
metadata:
name: kubedata-operators
namespace: kubedatastack
spec:
targetNamespaces:
- kubedatastack
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: spark-k8s-sub
name: spark-k8s-operator
namespace: kubedatastack
spec:
channel: stable
name: spark-k8s-operator
source: kds-catalog
source: kubedata-catalog
sourceNamespace: olm
installPlanApproval: Automatic # or Automatic
installPlanApproval: Automated
Loading

0 comments on commit fdd66cb

Please sign in to comment.