From 56995b1e4a7b22b8cc76c1d02fcff99c61703c61 Mon Sep 17 00:00:00 2001 From: Chunlin Yang Date: Wed, 22 Nov 2023 20:25:10 +0800 Subject: [PATCH] operator [R] multicluster-global-hub-operator (0.7.0 1.0.0 1.1.0-dev) --- ...al-hub-operator.clusterserviceversion.yaml | 2 +- .../0.7.0/metadata/annotations.yaml | 4 +- ...al-hub-operator.clusterserviceversion.yaml | 845 ++++++++++++++++++ ...-management.io_multiclusterglobalhubs.yaml | 0 .../1.0.0/metadata/annotations.yaml | 7 + ...al-hub-operator.clusterserviceversion.yaml | 8 +- ...-management.io_multiclusterglobalhubs.yaml | 224 +++++ .../metadata/annotations.yaml | 0 8 files changed, 1083 insertions(+), 7 deletions(-) create mode 100644 operators/multicluster-global-hub-operator/1.0.0/manifests/multicluster-global-hub-operator.clusterserviceversion.yaml rename operators/multicluster-global-hub-operator/{1.0.0-dev => 1.0.0}/manifests/operator.open-cluster-management.io_multiclusterglobalhubs.yaml (100%) create mode 100644 operators/multicluster-global-hub-operator/1.0.0/metadata/annotations.yaml rename operators/multicluster-global-hub-operator/{1.0.0-dev => 1.1.0-dev}/manifests/multicluster-global-hub-operator.clusterserviceversion.yaml (99%) create mode 100644 operators/multicluster-global-hub-operator/1.1.0-dev/manifests/operator.open-cluster-management.io_multiclusterglobalhubs.yaml rename operators/multicluster-global-hub-operator/{1.0.0-dev => 1.1.0-dev}/metadata/annotations.yaml (100%) diff --git a/operators/multicluster-global-hub-operator/0.7.0/manifests/multicluster-global-hub-operator.clusterserviceversion.yaml b/operators/multicluster-global-hub-operator/0.7.0/manifests/multicluster-global-hub-operator.clusterserviceversion.yaml index 461aac20f04..b40d0fd75e0 100644 --- a/operators/multicluster-global-hub-operator/0.7.0/manifests/multicluster-global-hub-operator.clusterserviceversion.yaml +++ b/operators/multicluster-global-hub-operator/0.7.0/manifests/multicluster-global-hub-operator.clusterserviceversion.yaml @@ -799,7 +799,7 @@ spec: maintainers: - email: acm-contact@redhat.com name: acm-contact - maturity: alpha + maturity: beta provider: name: Red Hat, Inc url: https://github.com/stolostron/multicluster-global-hub diff --git a/operators/multicluster-global-hub-operator/0.7.0/metadata/annotations.yaml b/operators/multicluster-global-hub-operator/0.7.0/metadata/annotations.yaml index 60d777c5baa..fcc97afd2ba 100644 --- a/operators/multicluster-global-hub-operator/0.7.0/metadata/annotations.yaml +++ b/operators/multicluster-global-hub-operator/0.7.0/metadata/annotations.yaml @@ -1,6 +1,6 @@ annotations: - operators.operatorframework.io.bundle.channel.default.v1: alpha - operators.operatorframework.io.bundle.channels.v1: alpha + operators.operatorframework.io.bundle.channel.default.v1: release-2.8 + operators.operatorframework.io.bundle.channels.v1: release-2.8 operators.operatorframework.io.bundle.manifests.v1: manifests/ operators.operatorframework.io.bundle.mediatype.v1: registry+v1 operators.operatorframework.io.bundle.metadata.v1: metadata/ diff --git a/operators/multicluster-global-hub-operator/1.0.0/manifests/multicluster-global-hub-operator.clusterserviceversion.yaml b/operators/multicluster-global-hub-operator/1.0.0/manifests/multicluster-global-hub-operator.clusterserviceversion.yaml new file mode 100644 index 00000000000..574396b7f59 --- /dev/null +++ b/operators/multicluster-global-hub-operator/1.0.0/manifests/multicluster-global-hub-operator.clusterserviceversion.yaml @@ -0,0 +1,845 @@ +apiVersion: operators.coreos.com/v1alpha1 +kind: ClusterServiceVersion +metadata: + annotations: + alm-examples: |- + [ + { + "apiVersion": "operator.open-cluster-management.io/v1alpha4", + "kind": "MulticlusterGlobalHub", + "metadata": { + "name": "multiclusterglobalhub" + }, + "spec": { + "dataLayer": { + "postgres": { + "retention": "18m" + } + } + } + } + ] + capabilities: Seamless Upgrades + categories: Integration & Delivery,OpenShift Optional + certified: "false" + containerImage: quay.io/stolostron/multicluster-global-hub-operator:v1.0.0 + createdAt: "2023-10-16T03:07:33Z" + description: Manages the installation and upgrade of the Multicluster Global Hub. + operatorframework.io/suggested-namespace: multicluster-global-hub + operators.operatorframework.io/builder: operator-sdk-v1.31.0 + operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 + repository: https://github.com/stolostron/multicluster-global-hub + support: Red Hat + name: multicluster-global-hub-operator.v1.0.0 + namespace: placeholder +spec: + apiservicedefinitions: {} + customresourcedefinitions: + owned: + - description: MulticlusterGlobalHub defines the configuration for an instance + of the MultiCluster Global Hub + displayName: Multicluster Global Hub + kind: MulticlusterGlobalHub + name: multiclusterglobalhubs.operator.open-cluster-management.io + version: v1alpha4 + description: | + The Multicluster Global Hub Operator contains the components of multicluster global hub. The Operator deploys all of the required components for global multicluster management. The components include `multicluster-global-hub-manager` and `multicluster-global-hub-grafana` in the global hub cluster and `multicluster-global-hub-agent` in the managed hub clusters. + The Operator also deploys the strimzi kafka and crunchy postgres if you do not bring your own kafka and postgres. + + ## Prerequisites + - Red Hat Advanced Cluster Management for Kubernetes (RHACM) 2.7 or later needs to be installed. + + ## How to Install + Install the Multicluster Global Hub Operator by following the instructions that are displayed after you select the Install button. + A pod will be created in `multicluster-global-hub` namespace: + ``` + $ kubectl get pods -n multicluster-global-hub + NAME READY STATUS RESTARTS AGE + multicluster-global-hub-operator-5ccbbc878d-98fdp 1/1 Running 0 19s + ``` + The operator is now providing new Custom Resources Definitions: `multiclusterglobalhubs.operator.open-cluster-management.io` + + ## Using the Multicluster Global Hub Operator + After installed the operator, create an instance of the MulticlusterGlobalHub resource to instantiate the Multicluster Global Hub. + Once an instance of the MulticlusterGlobalHub is created, the following pods are created in the `multicluster-global-hub` namespace: + ``` + $ kubectl get pods -n multicluster-global-hub + NAME READY STATUS RESTARTS AGE + kafka-entity-operator-54ff95c7dc-cmmwc 3/3 Running 0 21h + kafka-kafka-0 1/1 Running 0 21h + kafka-kafka-1 1/1 Running 0 21h + kafka-kafka-2 1/1 Running 0 21h + kafka-zookeeper-0 1/1 Running 0 21h + kafka-zookeeper-1 1/1 Running 0 21h + kafka-zookeeper-2 1/1 Running 0 21h + multicluster-global-hub-grafana-579cdf759d-mp7fm 2/2 Running 0 21h + multicluster-global-hub-grafana-579cdf759d-4hpcg 2/2 Running 0 21h + multicluster-global-hub-manager-7bdcdd745f-5np24 2/2 Running 0 21h + multicluster-global-hub-manager-7bdcdd745f-n9b9n 2/2 Running 0 21h + multicluster-global-hub-operator-59744b8d75-nrwvd 1/1 Running 0 21h + multicluster-global-hub-postgres-0 1/1 Running 0 21h + strimzi-cluster-operator-v0.36.1-684d7cccb7-zjbf9 1/1 Running 0 21h + ``` + + ## Documentation + For documentation about installing and using the Multicluster GlobalHub Operator with Red Hat Advanced Cluster Management for Kubernetes, see [Multicluser Global Hub Documentation](https://github.com/stolostron/multicluster-global-hub/tree/main/doc#readme). + displayName: Multicluster Global Hub Operator + icon: + - base64data: PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3MjEuMTUgNzIxLjE1Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2RiMzkyNzt9LmNscy0ye2ZpbGw6I2NiMzYyODt9LmNscy0ze2ZpbGw6I2ZmZjt9LmNscy00e2ZpbGw6I2UzZTNlMjt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPlByb2R1Y3RfSWNvbi1SZWRfSGF0QWR2YW5jZWRfQ2x1c3Rlcl9NYW5hZ2VtZW50X2Zvcl9LdWJlcm5ldGVzLVJHQjwvdGl0bGU+PGcgaWQ9IkxheWVyXzEiIGRhdGEtbmFtZT0iTGF5ZXIgMSI+PGNpcmNsZSBjbGFzcz0iY2xzLTEiIGN4PSIzNjAuNTciIGN5PSIzNjAuNTciIHI9IjM1OC41OCIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTYxNC4xMywxMDcsMTA3LDYxNC4xM2MxNDAsMTQwLDM2Ny4wNywxNDAsNTA3LjExLDBTNzU0LjE2LDI0Ny4wNiw2MTQuMTMsMTA3WiIvPjxyZWN0IGNsYXNzPSJjbHMtMyIgeD0iMzMwLjg3IiB5PSIyODAuNiIgd2lkdGg9IjIwMy4xNyIgaGVpZ2h0PSIyMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTc4LjkgMzkwLjUyKSByb3RhdGUoLTQ0Ljk2KSIvPjxyZWN0IGNsYXNzPSJjbHMtMyIgeD0iMzA2LjYzIiB5PSIxNjcuODMiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMDQuNDciIHRyYW5zZm9ybT0idHJhbnNsYXRlKC04NS4zMyAxNjIuMjcpIHJvdGF0ZSgtMjUuNDUpIi8+PHJlY3QgY2xhc3M9ImNscy0zIiB4PSIxNjIuOTgiIHk9IjM2NC4xIiB3aWR0aD0iMTk4LjI4IiBoZWlnaHQ9IjIwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDIuMzkgMzMuNjEpIHJvdGF0ZSgtNi43OSkiLz48cmVjdCBjbGFzcz0iY2xzLTMiIHg9IjI0NS4xIiB5PSI0NTEuNTQiIHdpZHRoPSIyMDAuNjIiIGhlaWdodD0iMjAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xNjMuMDEgNzMzLjI2KSByb3RhdGUoLTgxLjMxKSIvPjxyZWN0IGNsYXNzPSJjbHMtMyIgeD0iNDQzLjg1IiB5PSIzMDMuNzYiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMDcuMDQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMDkuOTcgNjM5LjU4KSByb3RhdGUoLTY0LjMpIi8+PGNpcmNsZSBjbGFzcz0iY2xzLTMiIGN4PSI1MDQuMzQiIGN5PSIyMTguODMiIHI9IjQ0LjA4Ii8+PGNpcmNsZSBjbGFzcz0iY2xzLTMiIGN4PSIyNzIuNyIgY3k9IjE3Ny43NSIgcj0iNDQuMDgiLz48Y2lyY2xlIGNsYXNzPSJjbHMtMyIgY3g9IjU0Ny4xMiIgY3k9IjQ1Mi4xNyIgcj0iNDQuMDgiLz48Y2lyY2xlIGNsYXNzPSJjbHMtMyIgY3g9IjE2My42OCIgY3k9IjM4NS44MiIgcj0iNDQuMDgiLz48Y2lyY2xlIGNsYXNzPSJjbHMtMyIgY3g9IjMzMC4yNiIgY3k9IjU2MC43IiByPSI0NC4wOCIvPjxwYXRoIGNsYXNzPSJjbHMtNCIgZD0iTTQ0NC45NCwyNzkuOTIsMjc2LjE5LDQ0OC42N0ExMTkuMzIsMTE5LjMyLDAsMCwwLDQ0NC45NCwyNzkuOTJaIi8+PHBhdGggY2xhc3M9ImNscy0zIiBkPSJNMzc1LjY4LDI0NS43NmExMTkuMzMsMTE5LjMzLDAsMCwwLTk5LjQ5LDIwMi45MUw0NDQuOTQsMjc5LjkyQTExOC44OSwxMTguODksMCwwLDAsMzc1LjY4LDI0NS43NloiLz48L2c+PC9zdmc+ + mediatype: image/svg+xml + install: + spec: + clusterPermissions: + - rules: + - apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create + - apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create + - apiGroups: + - policy.open-cluster-management.io + resources: + - policies + - policies/status + - policies/finalizers + - placementbindings + - placementbindings/finalizers + verbs: + - get + - list + - watch + - update + - patch + - apiGroups: + - apps.open-cluster-management.io + resources: + - placementrules + - placementrules/status + - subscriptionstatuses + - subscriptionstatuses/status + - subscriptionreports + - subscriptionreports/status + - subscriptions/finalizers + verbs: + - create + - get + - list + - watch + - update + - patch + - delete + - apiGroups: + - cluster.open-cluster-management.io + resources: + - placements + - placements/finalizers + - placements/status + - placementdecisions + - placementdecisions/status + verbs: + - create + - get + - list + - watch + - update + - patch + - delete + - apiGroups: + - "" + resources: + - pods + - configmaps + - events + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - cluster.open-cluster-management.io + resources: + - managedclustersets + - managedclustersets/finalizers + - managedclustersetbindings + - managedclustersetbindings/finalizers + - placements + - placements/finalizers + verbs: + - get + - list + - watch + - update + - apiGroups: + - apps.open-cluster-management.io + resources: + - placementrules + - placementrules/finalizers + verbs: + - get + - list + - watch + - update + - apiGroups: + - apps.open-cluster-management.io + resources: + - subscriptions + - channels + verbs: + - get + - list + - watch + - update + - apiGroups: + - app.k8s.io + resources: + - applications + verbs: + - get + - list + - watch + - update + - apiGroups: + - apiextensions.k8s.io + resources: + - customresourcedefinitions + verbs: + - get + - apiGroups: + - "" + resources: + - configmaps + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch + - apiGroups: + - "" + resources: + - events + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch + - apiGroups: + - "" + resources: + - namespaces + verbs: + - create + - delete + - get + - list + - update + - watch + - apiGroups: + - "" + resources: + - secrets + verbs: + - create + - delete + - get + - list + - update + - watch + - apiGroups: + - "" + resources: + - serviceaccounts + verbs: + - create + - delete + - get + - list + - update + - watch + - apiGroups: + - "" + resources: + - services + verbs: + - create + - delete + - get + - list + - update + - watch + - apiGroups: + - addon.open-cluster-management.io + resources: + - addondeploymentconfigs + verbs: + - get + - list + - watch + - apiGroups: + - addon.open-cluster-management.io + resources: + - clustermanagementaddons + verbs: + - create + - delete + - get + - list + - update + - watch + - apiGroups: + - addon.open-cluster-management.io + resources: + - clustermanagementaddons/finalizers + verbs: + - update + - apiGroups: + - addon.open-cluster-management.io + resources: + - managedclusteraddons + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch + - apiGroups: + - addon.open-cluster-management.io + resources: + - managedclusteraddons/finalizers + verbs: + - update + - apiGroups: + - addon.open-cluster-management.io + resources: + - managedclusteraddons/status + verbs: + - patch + - update + - apiGroups: + - admissionregistration.k8s.io + resources: + - mutatingwebhookconfigurations + verbs: + - create + - delete + - get + - list + - update + - watch + - apiGroups: + - app.k8s.io + resources: + - applications + verbs: + - get + - list + - patch + - update + - apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - update + - watch + - apiGroups: + - apps + resources: + - statefulsets + verbs: + - create + - delete + - get + - list + - update + - watch + - apiGroups: + - apps.open-cluster-management.io + resources: + - channels + verbs: + - get + - list + - patch + - update + - apiGroups: + - apps.open-cluster-management.io + resources: + - placementrules + verbs: + - get + - list + - patch + - update + - apiGroups: + - apps.open-cluster-management.io + resources: + - subscriptions + verbs: + - get + - list + - patch + - update + - apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create + - get + - apiGroups: + - certificates.k8s.io + resources: + - certificatesigningrequests + verbs: + - create + - get + - list + - patch + - update + - watch + - apiGroups: + - certificates.k8s.io + resources: + - certificatesigningrequests/approval + verbs: + - create + - get + - list + - patch + - update + - watch + - apiGroups: + - certificates.k8s.io + resources: + - signers + verbs: + - approve + - apiGroups: + - cluster.open-cluster-management.io + resources: + - managedclusters + verbs: + - get + - list + - update + - watch + - apiGroups: + - cluster.open-cluster-management.io + resources: + - managedclustersets + verbs: + - get + - list + - patch + - update + - apiGroups: + - cluster.open-cluster-management.io + resources: + - managedclustersets/bind + verbs: + - create + - delete + - apiGroups: + - cluster.open-cluster-management.io + resources: + - managedclustersets/join + verbs: + - create + - delete + - apiGroups: + - cluster.open-cluster-management.io + resources: + - placements + verbs: + - get + - list + - patch + - update + - apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - get + - list + - patch + - update + - watch + - apiGroups: + - kafka.strimzi.io + resources: + - kafkas + - kafkatopics + - kafkausers + verbs: + - create + - get + - list + - watch + - apiGroups: + - monitoring.coreos.com + resources: + - servicemonitors + verbs: + - create + - delete + - get + - list + - update + - watch + - apiGroups: + - operator.open-cluster-management.io + resources: + - multiclusterglobalhubs + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - operator.open-cluster-management.io + resources: + - multiclusterglobalhubs/finalizers + verbs: + - update + - apiGroups: + - operator.open-cluster-management.io + resources: + - multiclusterglobalhubs/status + verbs: + - get + - patch + - update + - apiGroups: + - operator.open-cluster-management.io + resources: + - multiclusterhubs + verbs: + - get + - list + - patch + - update + - watch + - apiGroups: + - operators.coreos.com + resources: + - subscriptions + verbs: + - create + - delete + - get + - list + - update + - watch + - apiGroups: + - packages.operators.coreos.com + resources: + - packagemanifests + verbs: + - get + - list + - watch + - apiGroups: + - policy.open-cluster-management.io + resources: + - placementbindings + verbs: + - get + - list + - patch + - update + - apiGroups: + - policy.open-cluster-management.io + resources: + - policies + verbs: + - get + - list + - patch + - update + - apiGroups: + - postgres-operator.crunchydata.com + resources: + - postgresclusters + verbs: + - create + - get + - list + - watch + - apiGroups: + - rbac.authorization.k8s.io + resources: + - clusterrolebindings + verbs: + - create + - delete + - get + - list + - update + - watch + - apiGroups: + - rbac.authorization.k8s.io + resources: + - clusterroles + verbs: + - create + - delete + - get + - list + - update + - watch + - apiGroups: + - rbac.authorization.k8s.io + resources: + - rolebindings + verbs: + - create + - delete + - get + - list + - update + - watch + - apiGroups: + - rbac.authorization.k8s.io + resources: + - roles + verbs: + - create + - delete + - get + - list + - update + - watch + - apiGroups: + - route.openshift.io + resources: + - routes + verbs: + - create + - delete + - get + - list + - update + - watch + - apiGroups: + - work.open-cluster-management.io + resources: + - manifestworks + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch + serviceAccountName: multicluster-global-hub-operator + deployments: + - label: + name: multicluster-global-hub-operator + name: multicluster-global-hub-operator + spec: + replicas: 1 + selector: + matchLabels: + name: multicluster-global-hub-operator + strategy: {} + template: + metadata: + annotations: + kubectl.kubernetes.io/default-container: multicluster-global-hub-operator + labels: + name: multicluster-global-hub-operator + spec: + containers: + - args: + - --leader-election + command: + - multicluster-global-hub-operator + env: + - name: POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: RELATED_IMAGE_MULTICLUSTER_GLOBAL_HUB_MANAGER + value: quay.io/stolostron/multicluster-global-hub-manager:v1.0.0 + - name: RELATED_IMAGE_MULTICLUSTER_GLOBAL_HUB_AGENT + value: quay.io/stolostron/multicluster-global-hub-agent:v1.0.0 + - name: RELATED_IMAGE_GRAFANA + value: quay.io/stolostron/grafana:globalhub-1.0 + - name: RELATED_IMAGE_POSTGRESQL + value: quay.io/stolostron/postgresql-13:1-101 + - name: RELATED_IMAGE_OAUTH_PROXY + value: quay.io/stolostron/origin-oauth-proxy:4.9 + image: quay.io/stolostron/multicluster-global-hub-operator:v1.0.0 + livenessProbe: + httpGet: + path: /healthz + port: 8081 + initialDelaySeconds: 15 + periodSeconds: 20 + name: multicluster-global-hub-operator + readinessProbe: + httpGet: + path: /readyz + port: 8081 + initialDelaySeconds: 5 + periodSeconds: 10 + resources: + limits: + memory: 200Mi + requests: + cpu: 1m + memory: 100Mi + securityContext: + allowPrivilegeEscalation: false + securityContext: + runAsNonRoot: true + serviceAccountName: multicluster-global-hub-operator + terminationGracePeriodSeconds: 10 + permissions: + - rules: + - apiGroups: + - "" + resources: + - configmaps + verbs: + - get + - list + - watch + - create + - update + - patch + - delete + - apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - get + - list + - watch + - create + - update + - patch + - delete + - apiGroups: + - "" + resources: + - events + verbs: + - create + - patch + - apiGroups: + - "" + resources: + - pods + - services + - services/finalizers + - endpoints + - persistentvolumeclaims + - events + - configmaps + - secrets + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - apps + resources: + - deployments + - daemonsets + - replicasets + - statefulsets + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - monitoring.coreos.com + resources: + - servicemonitors + verbs: + - get + - create + - apiGroups: + - apps + resourceNames: + - multicluster-global-hub-manager + resources: + - deployments/finalizers + verbs: + - update + - apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - get + - create + - update + - delete + serviceAccountName: multicluster-global-hub-operator + strategy: deployment + installModes: + - supported: true + type: OwnNamespace + - supported: true + type: SingleNamespace + - supported: false + type: MultiNamespace + - supported: false + type: AllNamespaces + keywords: + - multicluster-global-hub + - multiple-hubs + links: + - name: Multicluster Global Hub Operator + url: https://github.com/stolostron/multicluster-global-hub + maintainers: + - email: acm-contact@redhat.com + name: acm-contact + maturity: stable + provider: + name: Red Hat, Inc + url: https://github.com/stolostron/multicluster-global-hub + version: 1.0.0 diff --git a/operators/multicluster-global-hub-operator/1.0.0-dev/manifests/operator.open-cluster-management.io_multiclusterglobalhubs.yaml b/operators/multicluster-global-hub-operator/1.0.0/manifests/operator.open-cluster-management.io_multiclusterglobalhubs.yaml similarity index 100% rename from operators/multicluster-global-hub-operator/1.0.0-dev/manifests/operator.open-cluster-management.io_multiclusterglobalhubs.yaml rename to operators/multicluster-global-hub-operator/1.0.0/manifests/operator.open-cluster-management.io_multiclusterglobalhubs.yaml diff --git a/operators/multicluster-global-hub-operator/1.0.0/metadata/annotations.yaml b/operators/multicluster-global-hub-operator/1.0.0/metadata/annotations.yaml new file mode 100644 index 00000000000..eb03a77b821 --- /dev/null +++ b/operators/multicluster-global-hub-operator/1.0.0/metadata/annotations.yaml @@ -0,0 +1,7 @@ +annotations: + operators.operatorframework.io.bundle.channel.default.v1: release-2.9 + operators.operatorframework.io.bundle.channels.v1: release-2.9 + operators.operatorframework.io.bundle.manifests.v1: manifests/ + operators.operatorframework.io.bundle.mediatype.v1: registry+v1 + operators.operatorframework.io.bundle.metadata.v1: metadata/ + operators.operatorframework.io.bundle.package.v1: multicluster-global-hub-operator diff --git a/operators/multicluster-global-hub-operator/1.0.0-dev/manifests/multicluster-global-hub-operator.clusterserviceversion.yaml b/operators/multicluster-global-hub-operator/1.1.0-dev/manifests/multicluster-global-hub-operator.clusterserviceversion.yaml similarity index 99% rename from operators/multicluster-global-hub-operator/1.0.0-dev/manifests/multicluster-global-hub-operator.clusterserviceversion.yaml rename to operators/multicluster-global-hub-operator/1.1.0-dev/manifests/multicluster-global-hub-operator.clusterserviceversion.yaml index 1296a67f7c2..864f69ef40a 100644 --- a/operators/multicluster-global-hub-operator/1.0.0-dev/manifests/multicluster-global-hub-operator.clusterserviceversion.yaml +++ b/operators/multicluster-global-hub-operator/1.1.0-dev/manifests/multicluster-global-hub-operator.clusterserviceversion.yaml @@ -30,7 +30,7 @@ metadata: operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 repository: https://github.com/stolostron/multicluster-global-hub support: Red Hat - name: multicluster-global-hub-operator.v1.0.0-dev + name: multicluster-global-hub-operator.v1.1.0-dev namespace: placeholder spec: apiservicedefinitions: {} @@ -838,9 +838,9 @@ spec: maintainers: - email: acm-contact@redhat.com name: acm-contact - maturity: alpha + maturity: planning provider: name: Red Hat, Inc url: https://github.com/stolostron/multicluster-global-hub - version: 1.0.0-dev - replaces: multicluster-global-hub-operator.v0.7.0 + version: 1.1.0-dev + replaces: multicluster-global-hub-operator.v1.0.0 \ No newline at end of file diff --git a/operators/multicluster-global-hub-operator/1.1.0-dev/manifests/operator.open-cluster-management.io_multiclusterglobalhubs.yaml b/operators/multicluster-global-hub-operator/1.1.0-dev/manifests/operator.open-cluster-management.io_multiclusterglobalhubs.yaml new file mode 100644 index 00000000000..629b497a098 --- /dev/null +++ b/operators/multicluster-global-hub-operator/1.1.0-dev/manifests/operator.open-cluster-management.io_multiclusterglobalhubs.yaml @@ -0,0 +1,224 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.8.0 + creationTimestamp: null + name: multiclusterglobalhubs.operator.open-cluster-management.io +spec: + group: operator.open-cluster-management.io + names: + kind: MulticlusterGlobalHub + listKind: MulticlusterGlobalHubList + plural: multiclusterglobalhubs + shortNames: + - mgh + - mcgh + singular: multiclusterglobalhub + scope: Namespaced + versions: + - name: v1alpha4 + schema: + openAPIV3Schema: + description: MulticlusterGlobalHub is the Schema for the multiclusterglobalhubs + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + default: + dataLayer: + postgres: + retention: 18m + description: MulticlusterGlobalHubSpec defines the desired state of MulticlusterGlobalHub + properties: + availabilityConfig: + default: High + description: 'Specifies deployment replication for improved availability. + Options are: Basic and High (default)' + type: string + dataLayer: + default: + postgres: + retention: 18m + description: DataLayer can be configured to use a different data layer. + properties: + kafka: + description: KafkaConfig defines the desired state of kafka + properties: + storageSize: + description: Specify the size for storage. + type: string + type: object + postgres: + default: + retention: 18m + description: PostgresConfig defines the desired state of postgres + properties: + retention: + default: 18m + description: Retention is a duration string. Which defines + how long to keep the data in the database. Recommended minimum + value is 1 month, default value is 18 months. A duration + string is a possibly signed sequence of decimal numbers, + each with optional fraction and a unit suffix, such as "1y6m". + Valid time units are "m" and "y". + type: string + storageSize: + description: Specify the size for storage. + type: string + type: object + storageClass: + description: Specify the storageClass for storage. + type: string + type: object + imagePullPolicy: + description: Pull policy of the multicluster global hub images + type: string + imagePullSecret: + description: Pull secret of the multicluster global hub images + type: string + nodeSelector: + additionalProperties: + type: string + description: Spec of NodeSelector + type: object + tolerations: + description: Tolerations causes all components to tolerate any taints. + items: + description: The pod this Toleration is attached to tolerates any + taint that matches the triple using the matching + operator . + properties: + effect: + description: Effect indicates the taint effect to match. Empty + means match all taint effects. When specified, allowed values + are NoSchedule, PreferNoSchedule and NoExecute. + type: string + key: + description: Key is the taint key that the toleration applies + to. Empty means match all taint keys. If the key is empty, + operator must be Exists; this combination means to match all + values and all keys. + type: string + operator: + description: Operator represents a key's relationship to the + value. Valid operators are Exists and Equal. Defaults to Equal. + Exists is equivalent to wildcard for value, so that a pod + can tolerate all taints of a particular category. + type: string + tolerationSeconds: + description: TolerationSeconds represents the period of time + the toleration (which must be of effect NoExecute, otherwise + this field is ignored) tolerates the taint. By default, it + is not set, which means tolerate the taint forever (do not + evict). Zero and negative values will be treated as 0 (evict + immediately) by the system. + format: int64 + type: integer + value: + description: Value is the taint value the toleration matches + to. If the operator is Exists, the value should be empty, + otherwise just a regular string. + type: string + type: object + type: array + required: + - dataLayer + type: object + status: + description: MulticlusterGlobalHubStatus defines the observed state of + MulticlusterGlobalHub + properties: + conditions: + description: MulticlusterGlobalHubStatus defines the observed state + of MulticlusterGlobalHub + items: + description: "Condition contains details for one aspect of the current + state of this API Resource. --- This struct is intended for direct + use as an array at the field path .status.conditions. For example, + \n type FooStatus struct{ // Represents the observations of a + foo's current state. // Known .status.conditions.type are: \"Available\", + \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge + // +listType=map // +listMapKey=type Conditions []metav1.Condition + `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" + protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }" + properties: + lastTransitionTime: + description: lastTransitionTime is the last time the condition + transitioned from one status to another. This should be when + the underlying condition changed. If that is not known, then + using the time when the API field changed is acceptable. + format: date-time + type: string + message: + description: message is a human readable message indicating + details about the transition. This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: observedGeneration represents the .metadata.generation + that the condition was set based upon. For instance, if .metadata.generation + is currently 12, but the .status.conditions[x].observedGeneration + is 9, the condition is out of date with respect to the current + state of the instance. + format: int64 + minimum: 0 + type: integer + reason: + description: reason contains a programmatic identifier indicating + the reason for the condition's last transition. Producers + of specific condition types may define expected values and + meanings for this field, and whether the values are considered + a guaranteed API. The value should be a CamelCase string. + This field may not be empty. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. + --- Many .condition.type values are consistent across resources + like Available, but because arbitrary conditions can be useful + (see .node.status.conditions), the ability to deconflict is + important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + maxLength: 316 + pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ + type: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/operators/multicluster-global-hub-operator/1.0.0-dev/metadata/annotations.yaml b/operators/multicluster-global-hub-operator/1.1.0-dev/metadata/annotations.yaml similarity index 100% rename from operators/multicluster-global-hub-operator/1.0.0-dev/metadata/annotations.yaml rename to operators/multicluster-global-hub-operator/1.1.0-dev/metadata/annotations.yaml