diff --git a/config/manifests-redhat/bases/pulsar-resources-operator.clusterserviceversion.yaml b/config/manifests-redhat/bases/pulsar-resources-operator.clusterserviceversion.yaml index 049201b6..a516343d 100644 --- a/config/manifests-redhat/bases/pulsar-resources-operator.clusterserviceversion.yaml +++ b/config/manifests-redhat/bases/pulsar-resources-operator.clusterserviceversion.yaml @@ -69,6 +69,11 @@ spec: kind: PulsarTopic name: pulsartopics.resource.streamnative.io version: v1alpha1 + - description: PulsarGeoReplication is the Schema for the pulsargeoreplications API + displayName: Pulsar GeoReplication + kind: PulsarGeoReplication + name: pulsargeoreplication.resource.streamnative.io + version: v1alpha1 description: | Authored by [StreamNative](https://streamnative.io), this Pulsar Resources Operator is a controller that manages the Pulsar resources automatically using the manifest on Kubernetes. Therefore, you can manage the Pulsar resources without the help of `pulsar-admin` or `pulsarctl` CLI tool. It is useful for initializing basic resources when creating a new Pulsar cluster. diff --git a/config/samples/remote_connection.yaml b/config/samples/remote_connection.yaml deleted file mode 100644 index 8037aab8..00000000 --- a/config/samples/remote_connection.yaml +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2022 StreamNative -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: resource.streamnative.io/v1alpha1 -kind: PulsarConnection -metadata: - name: remote-pulsarconnection - namespace: default -spec: - clusterName: remote-brokers - brokerServiceURL: pulsar://remote-brokers-broker-0.brokers-broker-headless.default.svc.cluster.local:6650 - adminServiceURL: http://remote-brokers-broker-0.brokers-broker-headless.default.svc.cluster.local:8080 - authentication: - token: - secretRef: - key: key1 - name: my-secret diff --git a/config/samples/local_connection.yaml b/config/samples/resource_v1alpha1_pulsarconnection.yaml similarity index 69% rename from config/samples/local_connection.yaml rename to config/samples/resource_v1alpha1_pulsarconnection.yaml index 2f3d6e3d..356d1bb7 100644 --- a/config/samples/local_connection.yaml +++ b/config/samples/resource_v1alpha1_pulsarconnection.yaml @@ -15,12 +15,12 @@ apiVersion: resource.streamnative.io/v1alpha1 kind: PulsarConnection metadata: - name: local-pulsarconnection - namespace: default + name: pulsarconnection-sample + namespace: pulsar spec: - clusterName: brokers - brokerServiceURL: pulsar://brokers-broker-0.brokers-broker-headless.default.svc.cluster.local:6650 - adminServiceURL: http://brokers-broker-0.brokers-broker-headless.default.svc.cluster.local:8080 + adminServiceURL: http://c-sn-platform-broker.pulsar.svc.cluster.local:8080 authentication: token: - value: "fdlksjflk" \ No newline at end of file + secretRef: + name: c-sn-platform-vault-secret-env-injection + key: brokerClientAuthenticationParameters \ No newline at end of file diff --git a/config/samples/resource_v1alpha1_pulsarpermission.yaml b/config/samples/resource_v1alpha1_pulsarpermission.yaml index 5bd5523a..2fa4ad57 100644 --- a/config/samples/resource_v1alpha1_pulsarpermission.yaml +++ b/config/samples/resource_v1alpha1_pulsarpermission.yaml @@ -28,7 +28,6 @@ spec: actions: - produce - consume - --- apiVersion: resource.streamnative.io/v1alpha1 kind: PulsarPermission diff --git a/config/samples/test-secert.yaml b/config/samples/test-secert.yaml deleted file mode 100644 index f0bdccc3..00000000 --- a/config/samples/test-secert.yaml +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 2023 StreamNative -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: v1 -kind: Secret -metadata: - name: my-secret -type: Opaque -data: - key1: dGVzdA== - key2: dGVzdA==