From 047b3ec11cb14095119433273a4895608680af49 Mon Sep 17 00:00:00 2001 From: ericsyh Date: Sun, 18 Aug 2024 22:37:00 +0800 Subject: [PATCH 1/3] fix the license Signed-off-by: ericsyh --- .ci/clusters/values.yaml | 2 +- .ci/publish_chart.sh | 2 +- .ci/release.sh | 2 +- .dockerignore | 2 +- .github/workflows/chart-test.yml | 2 +- .github/workflows/check-license-header.yml | 2 +- .github/workflows/documentbot.yml | 2 +- .github/workflows/e2e_test.yml | 2 +- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/release-certificated-olm.yaml | 2 +- .github/workflows/release-community-olm.yaml | 2 +- .github/workflows/release-operator.yml | 2 +- .github/workflows/style.yml | 2 +- .gitignore | 2 +- .golangci.yml | 2 +- .licenserc.yaml | 2 +- Dockerfile | 2 +- Makefile | 2 +- api/v1alpha1/common.go | 2 +- api/v1alpha1/constants.go | 2 +- api/v1alpha1/groupversion_info.go | 2 +- api/v1alpha1/pulsarconnection_types.go | 2 +- api/v1alpha1/pulsarfunction_types.go | 2 +- api/v1alpha1/pulsarnamespace_types.go | 2 +- api/v1alpha1/pulsarpackage_types.go | 2 +- api/v1alpha1/pulsarpermission_types.go | 2 +- api/v1alpha1/pulsarsink_types.go | 2 +- api/v1alpha1/pulsarsource_types.go | 2 +- api/v1alpha1/pulsartenant_types.go | 2 +- api/v1alpha1/pulsartopic_types.go | 2 +- charts/pulsar-resources-operator/Chart.yaml | 2 +- .../templates/_helpers.tpl | 2 +- .../templates/deployment.yaml | 2 +- .../templates/leader_election_role.yaml | 2 +- .../templates/leader_election_role_binding.yaml | 2 +- .../templates/role.yaml | 2 +- .../templates/role_binding.yaml | 2 +- .../templates/serviceaccount.yaml | 2 +- .../tests/deployment_test.yaml | 2 +- .../tests/serviceaccount_test.yaml | 2 +- charts/pulsar-resources-operator/values.yaml | 2 +- config/crd/kustomization.yaml | 2 +- config/crd/kustomizeconfig.yaml | 2 +- .../cainjection_in_pulsarconnections.yaml | 2 +- .../cainjection_in_pulsargeoreplications.yaml | 2 +- .../patches/cainjection_in_pulsarnamespaces.yaml | 2 +- .../cainjection_in_pulsarpermissions.yaml | 2 +- .../patches/cainjection_in_pulsartenants.yaml | 2 +- .../crd/patches/cainjection_in_pulsartopics.yaml | 2 +- .../patches/webhook_in_pulsarconnections.yaml | 2 +- .../webhook_in_pulsargeoreplications.yaml | 2 +- .../crd/patches/webhook_in_pulsarnamespaces.yaml | 2 +- .../patches/webhook_in_pulsarpermissions.yaml | 2 +- config/crd/patches/webhook_in_pulsartenants.yaml | 2 +- config/crd/patches/webhook_in_pulsartopics.yaml | 2 +- config/default/kustomization.yaml | 2 +- config/default/manager_auth_proxy_patch.yaml | 2 +- config/default/manager_config_patch.yaml | 2 +- config/manager/controller_manager_config.yaml | 2 +- config/manager/kustomization.yaml | 2 +- config/manager/manager.yaml | 2 +- ...resources-operator.clusterserviceversion.yaml | 4 ++-- config/manifests-redhat/kustomization.yaml | 16 +--------------- ...resources-operator.clusterserviceversion.yaml | 5 ++--- config/manifests/kustomization.yaml | 2 +- config/prometheus/kustomization.yaml | 2 +- config/prometheus/monitor.yaml | 2 +- config/rbac/auth_proxy_client_clusterrole.yaml | 2 +- config/rbac/auth_proxy_role.yaml | 2 +- config/rbac/auth_proxy_role_binding.yaml | 2 +- config/rbac/auth_proxy_service.yaml | 2 +- config/rbac/kustomization.yaml | 2 +- config/rbac/leader_election_role.yaml | 2 +- config/rbac/leader_election_role_binding.yaml | 2 +- config/rbac/pulsarconnection_editor_role.yaml | 2 +- config/rbac/pulsarconnection_viewer_role.yaml | 2 +- config/rbac/pulsarfunction_editor_role.yaml | 2 +- config/rbac/pulsarfunction_viewer_role.yaml | 2 +- .../rbac/pulsargeoreplication_editor_role.yaml | 2 +- .../rbac/pulsargeoreplication_viewer_role.yaml | 2 +- config/rbac/pulsarnamespace_editor_role.yaml | 2 +- config/rbac/pulsarnamespace_viewer_role.yaml | 2 +- config/rbac/pulsarpackage_editor_role.yaml | 2 +- config/rbac/pulsarpackage_viewer_role.yaml | 2 +- config/rbac/pulsarpermission_editor_role.yaml | 2 +- config/rbac/pulsarpermission_viewer_role.yaml | 2 +- config/rbac/pulsarsink_editor_role.yaml | 2 +- config/rbac/pulsarsink_viewer_role.yaml | 2 +- config/rbac/pulsarsource_editor_role.yaml | 2 +- config/rbac/pulsarsource_viewer_role.yaml | 2 +- config/rbac/pulsartenant_editor_role.yaml | 2 +- config/rbac/pulsartenant_viewer_role.yaml | 2 +- config/rbac/pulsartopic_editor_role.yaml | 2 +- config/rbac/pulsartopic_viewer_role.yaml | 2 +- config/rbac/role_binding.yaml | 2 +- config/rbac/service_account.yaml | 2 +- config/samples/kustomization.yaml | 2 +- .../resource_v1alpha1_pulsarconnection.yaml | 2 +- .../resource_v1alpha1_pulsarfunction.yaml | 2 +- .../resource_v1alpha1_pulsargeoreplication.yaml | 2 +- .../resource_v1alpha1_pulsarnamespace.yaml | 2 +- .../samples/resource_v1alpha1_pulsarpackage.yaml | 2 +- .../resource_v1alpha1_pulsarpermission.yaml | 2 +- .../samples/resource_v1alpha1_pulsartenant.yaml | 2 +- .../samples/resource_v1alpha1_pulsartopic.yaml | 2 +- config/scorecard/bases/config.yaml | 2 +- config/scorecard/kustomization.yaml | 2 +- config/scorecard/patches/basic.config.yaml | 2 +- config/scorecard/patches/olm.config.yaml | 2 +- controllers/connection_ref_mapper.go | 2 +- controllers/doc.go | 2 +- controllers/pulsarconnection_controller.go | 2 +- controllers/suite_test.go | 2 +- cr.yaml | 2 +- ct.yaml | 2 +- lintconf.yaml | 2 +- main.go | 2 +- pkg/admin/doc.go | 2 +- pkg/admin/dummy.go | 2 +- pkg/admin/errors.go | 2 +- pkg/admin/impl.go | 2 +- pkg/admin/interface.go | 2 +- pkg/connection/doc.go | 2 +- pkg/connection/reconcile_function.go | 2 +- pkg/connection/reconcile_namespace.go | 2 +- pkg/connection/reconcile_package.go | 2 +- pkg/connection/reconcile_permission.go | 2 +- pkg/connection/reconcile_sink.go | 2 +- pkg/connection/reconcile_source.go | 2 +- pkg/connection/reconcile_tenant.go | 2 +- pkg/connection/reconcile_topic.go | 2 +- pkg/connection/reconciler.go | 2 +- pkg/feature/doc.go | 2 +- pkg/feature/feature.go | 2 +- pkg/feature/feature_gate.go | 2 +- pkg/reconciler/doc.go | 2 +- pkg/reconciler/interface.go | 2 +- pkg/utils/doc.go | 2 +- pkg/utils/managed.go | 2 +- redhat.Dockerfile | 4 ++-- scripts/lint.sh | 2 +- scripts/op_man.sh | 2 +- scripts/setup_git_hook.sh | 2 +- scripts/verify_gofmt.sh | 2 +- scripts/verify_govet.sh | 2 +- tests/operator/operator_suite_test.go | 2 +- tests/operator/resources_test.go | 2 +- tests/utils/k8s.go | 2 +- tests/utils/spec.go | 2 +- 149 files changed, 152 insertions(+), 167 deletions(-) diff --git a/.ci/clusters/values.yaml b/.ci/clusters/values.yaml index 42a4391f..3679c126 100644 --- a/.ci/clusters/values.yaml +++ b/.ci/clusters/values.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.ci/publish_chart.sh b/.ci/publish_chart.sh index a8cc7807..d2772025 100755 --- a/.ci/publish_chart.sh +++ b/.ci/publish_chart.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.ci/release.sh b/.ci/release.sh index db20b8e7..69f52801 100755 --- a/.ci/release.sh +++ b/.ci/release.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.dockerignore b/.dockerignore index 6bb5185a..b3b542e6 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.github/workflows/chart-test.yml b/.github/workflows/chart-test.yml index fd06e0de..0421a535 100644 --- a/.github/workflows/chart-test.yml +++ b/.github/workflows/chart-test.yml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.github/workflows/check-license-header.yml b/.github/workflows/check-license-header.yml index 4b56374e..92f14001 100644 --- a/.github/workflows/check-license-header.yml +++ b/.github/workflows/check-license-header.yml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.github/workflows/documentbot.yml b/.github/workflows/documentbot.yml index 0cc9f5ff..cc611b6c 100644 --- a/.github/workflows/documentbot.yml +++ b/.github/workflows/documentbot.yml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.github/workflows/e2e_test.yml b/.github/workflows/e2e_test.yml index 7e6255ca..e6ea5729 100644 --- a/.github/workflows/e2e_test.yml +++ b/.github/workflows/e2e_test.yml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index f76608ab..bbf38219 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.github/workflows/release-certificated-olm.yaml b/.github/workflows/release-certificated-olm.yaml index aa2268b6..ab73af43 100644 --- a/.github/workflows/release-certificated-olm.yaml +++ b/.github/workflows/release-certificated-olm.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.github/workflows/release-community-olm.yaml b/.github/workflows/release-community-olm.yaml index 534c92f3..00d20346 100644 --- a/.github/workflows/release-community-olm.yaml +++ b/.github/workflows/release-community-olm.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.github/workflows/release-operator.yml b/.github/workflows/release-operator.yml index f9d1ccb3..0bdc418d 100644 --- a/.github/workflows/release-operator.yml +++ b/.github/workflows/release-operator.yml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index d6156b7c..56ffb975 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.gitignore b/.gitignore index ec68c012..af430cfa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.golangci.yml b/.golangci.yml index c0b1da3f..da43b9bf 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.licenserc.yaml b/.licenserc.yaml index aa535231..017d18e7 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/Dockerfile b/Dockerfile index ab954349..90566cfb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/Makefile b/Makefile index 94164ea2..1abc704e 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/api/v1alpha1/common.go b/api/v1alpha1/common.go index c6523228..b99f4753 100644 --- a/api/v1alpha1/common.go +++ b/api/v1alpha1/common.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/v1alpha1/constants.go b/api/v1alpha1/constants.go index 7abc58d8..d9019e26 100644 --- a/api/v1alpha1/constants.go +++ b/api/v1alpha1/constants.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/v1alpha1/groupversion_info.go b/api/v1alpha1/groupversion_info.go index d45b0e57..97e8aa2e 100644 --- a/api/v1alpha1/groupversion_info.go +++ b/api/v1alpha1/groupversion_info.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/v1alpha1/pulsarconnection_types.go b/api/v1alpha1/pulsarconnection_types.go index c40d8249..786e3cf1 100644 --- a/api/v1alpha1/pulsarconnection_types.go +++ b/api/v1alpha1/pulsarconnection_types.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/v1alpha1/pulsarfunction_types.go b/api/v1alpha1/pulsarfunction_types.go index 2c56f0fd..bb4b286f 100644 --- a/api/v1alpha1/pulsarfunction_types.go +++ b/api/v1alpha1/pulsarfunction_types.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/v1alpha1/pulsarnamespace_types.go b/api/v1alpha1/pulsarnamespace_types.go index 15d10ca4..bd63c8e3 100644 --- a/api/v1alpha1/pulsarnamespace_types.go +++ b/api/v1alpha1/pulsarnamespace_types.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/v1alpha1/pulsarpackage_types.go b/api/v1alpha1/pulsarpackage_types.go index d975985b..aa018e5f 100644 --- a/api/v1alpha1/pulsarpackage_types.go +++ b/api/v1alpha1/pulsarpackage_types.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/v1alpha1/pulsarpermission_types.go b/api/v1alpha1/pulsarpermission_types.go index 525bb081..15a72343 100644 --- a/api/v1alpha1/pulsarpermission_types.go +++ b/api/v1alpha1/pulsarpermission_types.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/v1alpha1/pulsarsink_types.go b/api/v1alpha1/pulsarsink_types.go index cfcb2ec2..8dacbf1b 100644 --- a/api/v1alpha1/pulsarsink_types.go +++ b/api/v1alpha1/pulsarsink_types.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/v1alpha1/pulsarsource_types.go b/api/v1alpha1/pulsarsource_types.go index cbe5a451..a6b4c1f0 100644 --- a/api/v1alpha1/pulsarsource_types.go +++ b/api/v1alpha1/pulsarsource_types.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/v1alpha1/pulsartenant_types.go b/api/v1alpha1/pulsartenant_types.go index 1640db38..7b79acb2 100644 --- a/api/v1alpha1/pulsartenant_types.go +++ b/api/v1alpha1/pulsartenant_types.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/api/v1alpha1/pulsartopic_types.go b/api/v1alpha1/pulsartopic_types.go index 29cef96b..e873cf80 100644 --- a/api/v1alpha1/pulsartopic_types.go +++ b/api/v1alpha1/pulsartopic_types.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/charts/pulsar-resources-operator/Chart.yaml b/charts/pulsar-resources-operator/Chart.yaml index 2503ef43..2e1c388b 100644 --- a/charts/pulsar-resources-operator/Chart.yaml +++ b/charts/pulsar-resources-operator/Chart.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/charts/pulsar-resources-operator/templates/_helpers.tpl b/charts/pulsar-resources-operator/templates/_helpers.tpl index 6c4086b8..ba461068 100644 --- a/charts/pulsar-resources-operator/templates/_helpers.tpl +++ b/charts/pulsar-resources-operator/templates/_helpers.tpl @@ -1,5 +1,5 @@ {* - Copyright 2022 StreamNative + Copyright 2024 StreamNative Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/charts/pulsar-resources-operator/templates/deployment.yaml b/charts/pulsar-resources-operator/templates/deployment.yaml index 05715966..4a1f287b 100644 --- a/charts/pulsar-resources-operator/templates/deployment.yaml +++ b/charts/pulsar-resources-operator/templates/deployment.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/charts/pulsar-resources-operator/templates/leader_election_role.yaml b/charts/pulsar-resources-operator/templates/leader_election_role.yaml index f3743a59..1814ac7b 100644 --- a/charts/pulsar-resources-operator/templates/leader_election_role.yaml +++ b/charts/pulsar-resources-operator/templates/leader_election_role.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/charts/pulsar-resources-operator/templates/leader_election_role_binding.yaml b/charts/pulsar-resources-operator/templates/leader_election_role_binding.yaml index c58e9b56..829271a7 100644 --- a/charts/pulsar-resources-operator/templates/leader_election_role_binding.yaml +++ b/charts/pulsar-resources-operator/templates/leader_election_role_binding.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/charts/pulsar-resources-operator/templates/role.yaml b/charts/pulsar-resources-operator/templates/role.yaml index 0ed44a43..417bb135 100644 --- a/charts/pulsar-resources-operator/templates/role.yaml +++ b/charts/pulsar-resources-operator/templates/role.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/charts/pulsar-resources-operator/templates/role_binding.yaml b/charts/pulsar-resources-operator/templates/role_binding.yaml index d45a6991..5ada28ac 100644 --- a/charts/pulsar-resources-operator/templates/role_binding.yaml +++ b/charts/pulsar-resources-operator/templates/role_binding.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/charts/pulsar-resources-operator/templates/serviceaccount.yaml b/charts/pulsar-resources-operator/templates/serviceaccount.yaml index 814bbbd4..65029b7e 100644 --- a/charts/pulsar-resources-operator/templates/serviceaccount.yaml +++ b/charts/pulsar-resources-operator/templates/serviceaccount.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/charts/pulsar-resources-operator/tests/deployment_test.yaml b/charts/pulsar-resources-operator/tests/deployment_test.yaml index a8a41d41..02341d22 100644 --- a/charts/pulsar-resources-operator/tests/deployment_test.yaml +++ b/charts/pulsar-resources-operator/tests/deployment_test.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/charts/pulsar-resources-operator/tests/serviceaccount_test.yaml b/charts/pulsar-resources-operator/tests/serviceaccount_test.yaml index 1a544b19..faf3ae76 100644 --- a/charts/pulsar-resources-operator/tests/serviceaccount_test.yaml +++ b/charts/pulsar-resources-operator/tests/serviceaccount_test.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/charts/pulsar-resources-operator/values.yaml b/charts/pulsar-resources-operator/values.yaml index 4899ce47..47a84984 100644 --- a/charts/pulsar-resources-operator/values.yaml +++ b/charts/pulsar-resources-operator/values.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/crd/kustomization.yaml b/config/crd/kustomization.yaml index 956d7198..f4a3f0c8 100644 --- a/config/crd/kustomization.yaml +++ b/config/crd/kustomization.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/crd/kustomizeconfig.yaml b/config/crd/kustomizeconfig.yaml index 4a7b29fa..90ac677a 100644 --- a/config/crd/kustomizeconfig.yaml +++ b/config/crd/kustomizeconfig.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/crd/patches/cainjection_in_pulsarconnections.yaml b/config/crd/patches/cainjection_in_pulsarconnections.yaml index f187265d..b8727633 100644 --- a/config/crd/patches/cainjection_in_pulsarconnections.yaml +++ b/config/crd/patches/cainjection_in_pulsarconnections.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/crd/patches/cainjection_in_pulsargeoreplications.yaml b/config/crd/patches/cainjection_in_pulsargeoreplications.yaml index 90b435b9..1cf48200 100644 --- a/config/crd/patches/cainjection_in_pulsargeoreplications.yaml +++ b/config/crd/patches/cainjection_in_pulsargeoreplications.yaml @@ -1,4 +1,4 @@ -# Copyright 2023 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/crd/patches/cainjection_in_pulsarnamespaces.yaml b/config/crd/patches/cainjection_in_pulsarnamespaces.yaml index f3e51a80..754a356e 100644 --- a/config/crd/patches/cainjection_in_pulsarnamespaces.yaml +++ b/config/crd/patches/cainjection_in_pulsarnamespaces.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/crd/patches/cainjection_in_pulsarpermissions.yaml b/config/crd/patches/cainjection_in_pulsarpermissions.yaml index 6d87a6eb..f5b1a39e 100644 --- a/config/crd/patches/cainjection_in_pulsarpermissions.yaml +++ b/config/crd/patches/cainjection_in_pulsarpermissions.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/crd/patches/cainjection_in_pulsartenants.yaml b/config/crd/patches/cainjection_in_pulsartenants.yaml index 32bf271d..2801df11 100644 --- a/config/crd/patches/cainjection_in_pulsartenants.yaml +++ b/config/crd/patches/cainjection_in_pulsartenants.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/crd/patches/cainjection_in_pulsartopics.yaml b/config/crd/patches/cainjection_in_pulsartopics.yaml index 5b19ed73..11e80cae 100644 --- a/config/crd/patches/cainjection_in_pulsartopics.yaml +++ b/config/crd/patches/cainjection_in_pulsartopics.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/crd/patches/webhook_in_pulsarconnections.yaml b/config/crd/patches/webhook_in_pulsarconnections.yaml index cd3c02a0..40c8409d 100644 --- a/config/crd/patches/webhook_in_pulsarconnections.yaml +++ b/config/crd/patches/webhook_in_pulsarconnections.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/crd/patches/webhook_in_pulsargeoreplications.yaml b/config/crd/patches/webhook_in_pulsargeoreplications.yaml index ed99f0fe..fe02b6f9 100644 --- a/config/crd/patches/webhook_in_pulsargeoreplications.yaml +++ b/config/crd/patches/webhook_in_pulsargeoreplications.yaml @@ -1,4 +1,4 @@ -# Copyright 2023 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/crd/patches/webhook_in_pulsarnamespaces.yaml b/config/crd/patches/webhook_in_pulsarnamespaces.yaml index 7e057d50..71977fa5 100644 --- a/config/crd/patches/webhook_in_pulsarnamespaces.yaml +++ b/config/crd/patches/webhook_in_pulsarnamespaces.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/crd/patches/webhook_in_pulsarpermissions.yaml b/config/crd/patches/webhook_in_pulsarpermissions.yaml index 6da2dc8b..ebbb36eb 100644 --- a/config/crd/patches/webhook_in_pulsarpermissions.yaml +++ b/config/crd/patches/webhook_in_pulsarpermissions.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/crd/patches/webhook_in_pulsartenants.yaml b/config/crd/patches/webhook_in_pulsartenants.yaml index 1bd0afdc..736198c6 100644 --- a/config/crd/patches/webhook_in_pulsartenants.yaml +++ b/config/crd/patches/webhook_in_pulsartenants.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/crd/patches/webhook_in_pulsartopics.yaml b/config/crd/patches/webhook_in_pulsartopics.yaml index 935cf0ca..2389c34d 100644 --- a/config/crd/patches/webhook_in_pulsartopics.yaml +++ b/config/crd/patches/webhook_in_pulsartopics.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/default/kustomization.yaml b/config/default/kustomization.yaml index fda56426..a4bc63cd 100644 --- a/config/default/kustomization.yaml +++ b/config/default/kustomization.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/default/manager_auth_proxy_patch.yaml b/config/default/manager_auth_proxy_patch.yaml index 0e318f26..4b87bf2b 100644 --- a/config/default/manager_auth_proxy_patch.yaml +++ b/config/default/manager_auth_proxy_patch.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/default/manager_config_patch.yaml b/config/default/manager_config_patch.yaml index c050384b..2c0f9f79 100644 --- a/config/default/manager_config_patch.yaml +++ b/config/default/manager_config_patch.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/manager/controller_manager_config.yaml b/config/manager/controller_manager_config.yaml index 9f8b08fd..85b7f1ec 100644 --- a/config/manager/controller_manager_config.yaml +++ b/config/manager/controller_manager_config.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 3d174e50..c48d8c95 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 6dda3574..a4bbb270 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/manifests-redhat/bases/pulsar-resources-operator.clusterserviceversion.yaml b/config/manifests-redhat/bases/pulsar-resources-operator.clusterserviceversion.yaml index 2ad1c7f6..52e72f04 100644 --- a/config/manifests-redhat/bases/pulsar-resources-operator.clusterserviceversion.yaml +++ b/config/manifests-redhat/bases/pulsar-resources-operator.clusterserviceversion.yaml @@ -1,4 +1,4 @@ -# Copyright 2023 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/manifests-redhat/kustomization.yaml b/config/manifests-redhat/kustomization.yaml index 5edb5589..408b5038 100644 --- a/config/manifests-redhat/kustomization.yaml +++ b/config/manifests-redhat/kustomization.yaml @@ -1,18 +1,4 @@ -# 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. - -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/manifests/bases/pulsar-resources-operator.clusterserviceversion.yaml b/config/manifests/bases/pulsar-resources-operator.clusterserviceversion.yaml index 407087cd..2e4a5188 100644 --- a/config/manifests/bases/pulsar-resources-operator.clusterserviceversion.yaml +++ b/config/manifests/bases/pulsar-resources-operator.clusterserviceversion.yaml @@ -1,4 +1,4 @@ -# Copyright 2023 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -41,8 +41,7 @@ spec: kind: PulsarConnection name: pulsarconnections.resource.streamnative.io version: v1alpha1 - - description: PulsarGeoReplication is the Schema for the pulsargeoreplications - API + - description: PulsarGeoReplication is the Schema for the pulsargeoreplications API displayName: Pulsar Geo Replication kind: PulsarGeoReplication name: pulsargeoreplications.resource.streamnative.io diff --git a/config/manifests/kustomization.yaml b/config/manifests/kustomization.yaml index 9495e237..408b5038 100644 --- a/config/manifests/kustomization.yaml +++ b/config/manifests/kustomization.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/prometheus/kustomization.yaml b/config/prometheus/kustomization.yaml index 4d7a6012..7af31dd6 100644 --- a/config/prometheus/kustomization.yaml +++ b/config/prometheus/kustomization.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/prometheus/monitor.yaml b/config/prometheus/monitor.yaml index db648160..ea639185 100644 --- a/config/prometheus/monitor.yaml +++ b/config/prometheus/monitor.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/auth_proxy_client_clusterrole.yaml b/config/rbac/auth_proxy_client_clusterrole.yaml index 5c4287f8..57e126ea 100644 --- a/config/rbac/auth_proxy_client_clusterrole.yaml +++ b/config/rbac/auth_proxy_client_clusterrole.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/auth_proxy_role.yaml b/config/rbac/auth_proxy_role.yaml index b14da63c..06693310 100644 --- a/config/rbac/auth_proxy_role.yaml +++ b/config/rbac/auth_proxy_role.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/auth_proxy_role_binding.yaml b/config/rbac/auth_proxy_role_binding.yaml index 9db03c1f..63735e7a 100644 --- a/config/rbac/auth_proxy_role_binding.yaml +++ b/config/rbac/auth_proxy_role_binding.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/auth_proxy_service.yaml b/config/rbac/auth_proxy_service.yaml index 34b7d8cd..04a449db 100644 --- a/config/rbac/auth_proxy_service.yaml +++ b/config/rbac/auth_proxy_service.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/kustomization.yaml b/config/rbac/kustomization.yaml index a4fe929a..f9d679e1 100644 --- a/config/rbac/kustomization.yaml +++ b/config/rbac/kustomization.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/leader_election_role.yaml b/config/rbac/leader_election_role.yaml index a7ae7f0e..7ffb3f56 100644 --- a/config/rbac/leader_election_role.yaml +++ b/config/rbac/leader_election_role.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/leader_election_role_binding.yaml b/config/rbac/leader_election_role_binding.yaml index 93805871..b72cb10d 100644 --- a/config/rbac/leader_election_role_binding.yaml +++ b/config/rbac/leader_election_role_binding.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/pulsarconnection_editor_role.yaml b/config/rbac/pulsarconnection_editor_role.yaml index 3e78d3fd..442801ce 100644 --- a/config/rbac/pulsarconnection_editor_role.yaml +++ b/config/rbac/pulsarconnection_editor_role.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/pulsarconnection_viewer_role.yaml b/config/rbac/pulsarconnection_viewer_role.yaml index f03ba46e..83a60448 100644 --- a/config/rbac/pulsarconnection_viewer_role.yaml +++ b/config/rbac/pulsarconnection_viewer_role.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/pulsarfunction_editor_role.yaml b/config/rbac/pulsarfunction_editor_role.yaml index b89415f9..e788c4e2 100644 --- a/config/rbac/pulsarfunction_editor_role.yaml +++ b/config/rbac/pulsarfunction_editor_role.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/pulsarfunction_viewer_role.yaml b/config/rbac/pulsarfunction_viewer_role.yaml index 6c22db60..d58a0222 100644 --- a/config/rbac/pulsarfunction_viewer_role.yaml +++ b/config/rbac/pulsarfunction_viewer_role.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/pulsargeoreplication_editor_role.yaml b/config/rbac/pulsargeoreplication_editor_role.yaml index 3ad5cbf0..5669dcfa 100644 --- a/config/rbac/pulsargeoreplication_editor_role.yaml +++ b/config/rbac/pulsargeoreplication_editor_role.yaml @@ -1,4 +1,4 @@ -# Copyright 2023 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/pulsargeoreplication_viewer_role.yaml b/config/rbac/pulsargeoreplication_viewer_role.yaml index 3af069ab..12f47dbf 100644 --- a/config/rbac/pulsargeoreplication_viewer_role.yaml +++ b/config/rbac/pulsargeoreplication_viewer_role.yaml @@ -1,4 +1,4 @@ -# Copyright 2023 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/pulsarnamespace_editor_role.yaml b/config/rbac/pulsarnamespace_editor_role.yaml index 6e0f131d..81ef0674 100644 --- a/config/rbac/pulsarnamespace_editor_role.yaml +++ b/config/rbac/pulsarnamespace_editor_role.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/pulsarnamespace_viewer_role.yaml b/config/rbac/pulsarnamespace_viewer_role.yaml index 1a71d25e..016609f8 100644 --- a/config/rbac/pulsarnamespace_viewer_role.yaml +++ b/config/rbac/pulsarnamespace_viewer_role.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/pulsarpackage_editor_role.yaml b/config/rbac/pulsarpackage_editor_role.yaml index c8d7f1e1..c3ed84f4 100644 --- a/config/rbac/pulsarpackage_editor_role.yaml +++ b/config/rbac/pulsarpackage_editor_role.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/pulsarpackage_viewer_role.yaml b/config/rbac/pulsarpackage_viewer_role.yaml index ab2454ba..da3e4b7c 100644 --- a/config/rbac/pulsarpackage_viewer_role.yaml +++ b/config/rbac/pulsarpackage_viewer_role.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/pulsarpermission_editor_role.yaml b/config/rbac/pulsarpermission_editor_role.yaml index 76a4d950..eebebcd1 100644 --- a/config/rbac/pulsarpermission_editor_role.yaml +++ b/config/rbac/pulsarpermission_editor_role.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/pulsarpermission_viewer_role.yaml b/config/rbac/pulsarpermission_viewer_role.yaml index e06a99e8..bc5134b4 100644 --- a/config/rbac/pulsarpermission_viewer_role.yaml +++ b/config/rbac/pulsarpermission_viewer_role.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/pulsarsink_editor_role.yaml b/config/rbac/pulsarsink_editor_role.yaml index 48e39338..8794329a 100644 --- a/config/rbac/pulsarsink_editor_role.yaml +++ b/config/rbac/pulsarsink_editor_role.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/pulsarsink_viewer_role.yaml b/config/rbac/pulsarsink_viewer_role.yaml index 1c5b10cd..dab182ae 100644 --- a/config/rbac/pulsarsink_viewer_role.yaml +++ b/config/rbac/pulsarsink_viewer_role.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/pulsarsource_editor_role.yaml b/config/rbac/pulsarsource_editor_role.yaml index f2e0baa2..8a3c141c 100644 --- a/config/rbac/pulsarsource_editor_role.yaml +++ b/config/rbac/pulsarsource_editor_role.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/pulsarsource_viewer_role.yaml b/config/rbac/pulsarsource_viewer_role.yaml index 6af7bb85..ecf6446d 100644 --- a/config/rbac/pulsarsource_viewer_role.yaml +++ b/config/rbac/pulsarsource_viewer_role.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/pulsartenant_editor_role.yaml b/config/rbac/pulsartenant_editor_role.yaml index 3935ba34..4fe2e039 100644 --- a/config/rbac/pulsartenant_editor_role.yaml +++ b/config/rbac/pulsartenant_editor_role.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/pulsartenant_viewer_role.yaml b/config/rbac/pulsartenant_viewer_role.yaml index 7d53e39c..0881cc9b 100644 --- a/config/rbac/pulsartenant_viewer_role.yaml +++ b/config/rbac/pulsartenant_viewer_role.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/pulsartopic_editor_role.yaml b/config/rbac/pulsartopic_editor_role.yaml index bd48f354..ee5e7727 100644 --- a/config/rbac/pulsartopic_editor_role.yaml +++ b/config/rbac/pulsartopic_editor_role.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/pulsartopic_viewer_role.yaml b/config/rbac/pulsartopic_viewer_role.yaml index f9c1c01e..e9ecc2fa 100644 --- a/config/rbac/pulsartopic_viewer_role.yaml +++ b/config/rbac/pulsartopic_viewer_role.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/role_binding.yaml b/config/rbac/role_binding.yaml index 42728574..b211632e 100644 --- a/config/rbac/role_binding.yaml +++ b/config/rbac/role_binding.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/rbac/service_account.yaml b/config/rbac/service_account.yaml index 719a2054..d00fdbe3 100644 --- a/config/rbac/service_account.yaml +++ b/config/rbac/service_account.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/samples/kustomization.yaml b/config/samples/kustomization.yaml index 37ae67f8..745738b2 100644 --- a/config/samples/kustomization.yaml +++ b/config/samples/kustomization.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/samples/resource_v1alpha1_pulsarconnection.yaml b/config/samples/resource_v1alpha1_pulsarconnection.yaml index 356d1bb7..6ad9acb0 100644 --- a/config/samples/resource_v1alpha1_pulsarconnection.yaml +++ b/config/samples/resource_v1alpha1_pulsarconnection.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/samples/resource_v1alpha1_pulsarfunction.yaml b/config/samples/resource_v1alpha1_pulsarfunction.yaml index e83461b8..49b2e4ac 100644 --- a/config/samples/resource_v1alpha1_pulsarfunction.yaml +++ b/config/samples/resource_v1alpha1_pulsarfunction.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/samples/resource_v1alpha1_pulsargeoreplication.yaml b/config/samples/resource_v1alpha1_pulsargeoreplication.yaml index 2bf7fd8e..52be129d 100644 --- a/config/samples/resource_v1alpha1_pulsargeoreplication.yaml +++ b/config/samples/resource_v1alpha1_pulsargeoreplication.yaml @@ -1,4 +1,4 @@ -# Copyright 2023 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/samples/resource_v1alpha1_pulsarnamespace.yaml b/config/samples/resource_v1alpha1_pulsarnamespace.yaml index 2b1f41d7..62e09cf6 100644 --- a/config/samples/resource_v1alpha1_pulsarnamespace.yaml +++ b/config/samples/resource_v1alpha1_pulsarnamespace.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/samples/resource_v1alpha1_pulsarpackage.yaml b/config/samples/resource_v1alpha1_pulsarpackage.yaml index 55ebb781..2f80f260 100644 --- a/config/samples/resource_v1alpha1_pulsarpackage.yaml +++ b/config/samples/resource_v1alpha1_pulsarpackage.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/samples/resource_v1alpha1_pulsarpermission.yaml b/config/samples/resource_v1alpha1_pulsarpermission.yaml index 2fa4ad57..5f1d9d55 100644 --- a/config/samples/resource_v1alpha1_pulsarpermission.yaml +++ b/config/samples/resource_v1alpha1_pulsarpermission.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/samples/resource_v1alpha1_pulsartenant.yaml b/config/samples/resource_v1alpha1_pulsartenant.yaml index 4a684c11..5140d0bf 100644 --- a/config/samples/resource_v1alpha1_pulsartenant.yaml +++ b/config/samples/resource_v1alpha1_pulsartenant.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/samples/resource_v1alpha1_pulsartopic.yaml b/config/samples/resource_v1alpha1_pulsartopic.yaml index 4646c824..38077829 100644 --- a/config/samples/resource_v1alpha1_pulsartopic.yaml +++ b/config/samples/resource_v1alpha1_pulsartopic.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/scorecard/bases/config.yaml b/config/scorecard/bases/config.yaml index 9ac17bf5..ca7a6f88 100644 --- a/config/scorecard/bases/config.yaml +++ b/config/scorecard/bases/config.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/scorecard/kustomization.yaml b/config/scorecard/kustomization.yaml index b00ca69e..b252ba7e 100644 --- a/config/scorecard/kustomization.yaml +++ b/config/scorecard/kustomization.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/scorecard/patches/basic.config.yaml b/config/scorecard/patches/basic.config.yaml index 02475433..867dc05d 100644 --- a/config/scorecard/patches/basic.config.yaml +++ b/config/scorecard/patches/basic.config.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/config/scorecard/patches/olm.config.yaml b/config/scorecard/patches/olm.config.yaml index b3bdabd4..033ecbf2 100644 --- a/config/scorecard/patches/olm.config.yaml +++ b/config/scorecard/patches/olm.config.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/controllers/connection_ref_mapper.go b/controllers/connection_ref_mapper.go index 6eed5c56..92d714a4 100644 --- a/controllers/connection_ref_mapper.go +++ b/controllers/connection_ref_mapper.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/controllers/doc.go b/controllers/doc.go index da0293f5..ed1e01ce 100644 --- a/controllers/doc.go +++ b/controllers/doc.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/controllers/pulsarconnection_controller.go b/controllers/pulsarconnection_controller.go index df651962..6937c607 100644 --- a/controllers/pulsarconnection_controller.go +++ b/controllers/pulsarconnection_controller.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/controllers/suite_test.go b/controllers/suite_test.go index b44dd806..797dea79 100644 --- a/controllers/suite_test.go +++ b/controllers/suite_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cr.yaml b/cr.yaml index 098f5742..912e4db9 100644 --- a/cr.yaml +++ b/cr.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ct.yaml b/ct.yaml index 9410eab9..fb2f2c79 100644 --- a/ct.yaml +++ b/ct.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/lintconf.yaml b/lintconf.yaml index e6df3979..30c5fd04 100644 --- a/lintconf.yaml +++ b/lintconf.yaml @@ -1,4 +1,4 @@ -# Copyright 2023 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/main.go b/main.go index 5e0f98bb..f6d51ac8 100644 --- a/main.go +++ b/main.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/admin/doc.go b/pkg/admin/doc.go index 4817aa34..645cbf7c 100644 --- a/pkg/admin/doc.go +++ b/pkg/admin/doc.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/admin/dummy.go b/pkg/admin/dummy.go index 103775c3..c9ad0a29 100644 --- a/pkg/admin/dummy.go +++ b/pkg/admin/dummy.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/admin/errors.go b/pkg/admin/errors.go index bea7fe60..f1a7aa35 100644 --- a/pkg/admin/errors.go +++ b/pkg/admin/errors.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/admin/impl.go b/pkg/admin/impl.go index b6e9897e..faaf0ff7 100644 --- a/pkg/admin/impl.go +++ b/pkg/admin/impl.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/admin/interface.go b/pkg/admin/interface.go index b400d3d5..c7fd27d9 100644 --- a/pkg/admin/interface.go +++ b/pkg/admin/interface.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/connection/doc.go b/pkg/connection/doc.go index 9cf76d4d..33f1b32a 100644 --- a/pkg/connection/doc.go +++ b/pkg/connection/doc.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/connection/reconcile_function.go b/pkg/connection/reconcile_function.go index ce2ff943..9706abc2 100644 --- a/pkg/connection/reconcile_function.go +++ b/pkg/connection/reconcile_function.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/connection/reconcile_namespace.go b/pkg/connection/reconcile_namespace.go index 2cbf5b60..35d55f90 100644 --- a/pkg/connection/reconcile_namespace.go +++ b/pkg/connection/reconcile_namespace.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/connection/reconcile_package.go b/pkg/connection/reconcile_package.go index 9ee099fa..417e279a 100644 --- a/pkg/connection/reconcile_package.go +++ b/pkg/connection/reconcile_package.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/connection/reconcile_permission.go b/pkg/connection/reconcile_permission.go index 85aa3be3..f0eb76e3 100644 --- a/pkg/connection/reconcile_permission.go +++ b/pkg/connection/reconcile_permission.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/connection/reconcile_sink.go b/pkg/connection/reconcile_sink.go index 55fb42bb..df2c1392 100644 --- a/pkg/connection/reconcile_sink.go +++ b/pkg/connection/reconcile_sink.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/connection/reconcile_source.go b/pkg/connection/reconcile_source.go index c0eb434f..a355b171 100644 --- a/pkg/connection/reconcile_source.go +++ b/pkg/connection/reconcile_source.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/connection/reconcile_tenant.go b/pkg/connection/reconcile_tenant.go index 82790c97..1a04a141 100644 --- a/pkg/connection/reconcile_tenant.go +++ b/pkg/connection/reconcile_tenant.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/connection/reconcile_topic.go b/pkg/connection/reconcile_topic.go index 1b7ee03d..c2477494 100644 --- a/pkg/connection/reconcile_topic.go +++ b/pkg/connection/reconcile_topic.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/connection/reconciler.go b/pkg/connection/reconciler.go index 36327d02..300e8bd4 100644 --- a/pkg/connection/reconciler.go +++ b/pkg/connection/reconciler.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/feature/doc.go b/pkg/feature/doc.go index 637f2134..c73d6c7a 100644 --- a/pkg/feature/doc.go +++ b/pkg/feature/doc.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/feature/feature.go b/pkg/feature/feature.go index 64c0333b..d34b8595 100644 --- a/pkg/feature/feature.go +++ b/pkg/feature/feature.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/feature/feature_gate.go b/pkg/feature/feature_gate.go index 5f5e19b3..b993add4 100644 --- a/pkg/feature/feature_gate.go +++ b/pkg/feature/feature_gate.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/reconciler/doc.go b/pkg/reconciler/doc.go index 60a3c231..f1c25085 100644 --- a/pkg/reconciler/doc.go +++ b/pkg/reconciler/doc.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/reconciler/interface.go b/pkg/reconciler/interface.go index 46d7027c..b32a9ddf 100644 --- a/pkg/reconciler/interface.go +++ b/pkg/reconciler/interface.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/utils/doc.go b/pkg/utils/doc.go index f62564f5..7587be68 100644 --- a/pkg/utils/doc.go +++ b/pkg/utils/doc.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/utils/managed.go b/pkg/utils/managed.go index ea1b5153..30cecca5 100644 --- a/pkg/utils/managed.go +++ b/pkg/utils/managed.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/redhat.Dockerfile b/redhat.Dockerfile index e97b6852..27d7140a 100644 --- a/redhat.Dockerfile +++ b/redhat.Dockerfile @@ -1,4 +1,4 @@ -# Copyright 2023 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/scripts/lint.sh b/scripts/lint.sh index f677eb94..4c31eaef 100755 --- a/scripts/lint.sh +++ b/scripts/lint.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/scripts/op_man.sh b/scripts/op_man.sh index 490b0f9b..7dd8eac5 100755 --- a/scripts/op_man.sh +++ b/scripts/op_man.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/scripts/setup_git_hook.sh b/scripts/setup_git_hook.sh index 787d2e0f..1ac090d0 100644 --- a/scripts/setup_git_hook.sh +++ b/scripts/setup_git_hook.sh @@ -1,5 +1,5 @@ #!/usr/bin/bash -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/scripts/verify_gofmt.sh b/scripts/verify_gofmt.sh index 1bdf8a61..b8b3d840 100755 --- a/scripts/verify_gofmt.sh +++ b/scripts/verify_gofmt.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/scripts/verify_govet.sh b/scripts/verify_govet.sh index 1b065931..6fc3fa6a 100755 --- a/scripts/verify_govet.sh +++ b/scripts/verify_govet.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright 2022 StreamNative +# Copyright 2024 StreamNative # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tests/operator/operator_suite_test.go b/tests/operator/operator_suite_test.go index f1933a06..ee2c8375 100644 --- a/tests/operator/operator_suite_test.go +++ b/tests/operator/operator_suite_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/operator/resources_test.go b/tests/operator/resources_test.go index 1bdaa887..d8906368 100644 --- a/tests/operator/resources_test.go +++ b/tests/operator/resources_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/utils/k8s.go b/tests/utils/k8s.go index a7333248..7224353c 100644 --- a/tests/utils/k8s.go +++ b/tests/utils/k8s.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/tests/utils/spec.go b/tests/utils/spec.go index e496bb58..bf37da70 100644 --- a/tests/utils/spec.go +++ b/tests/utils/spec.go @@ -1,4 +1,4 @@ -// Copyright 2022 StreamNative +// Copyright 2024 StreamNative // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. From d54548256186680fbeee1130b2649556c8485374 Mon Sep 17 00:00:00 2001 From: ericsyh Date: Sun, 18 Aug 2024 22:45:48 +0800 Subject: [PATCH 2/3] fix olm example Signed-off-by: ericsyh --- ...ources-operator.clusterserviceversion.yaml | 12 ++++++++++- ...ources-operator.clusterserviceversion.yaml | 20 ++++++++++++++----- 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/config/manifests-redhat/bases/pulsar-resources-operator.clusterserviceversion.yaml b/config/manifests-redhat/bases/pulsar-resources-operator.clusterserviceversion.yaml index 52e72f04..889f41c7 100644 --- a/config/manifests-redhat/bases/pulsar-resources-operator.clusterserviceversion.yaml +++ b/config/manifests-redhat/bases/pulsar-resources-operator.clusterserviceversion.yaml @@ -83,7 +83,17 @@ spec: - description: PulsarGeoReplication is the Schema for the pulsargeoreplications API displayName: Pulsar GeoReplication kind: PulsarGeoReplication - name: pulsargeoreplication.resource.streamnative.io + name: pulsargeoreplications.resource.streamnative.io + version: v1alpha1 + - description: PulsarFunction is the Schema for the pulsarfunctions API + displayName: Pulsar Function + kind: PulsarFunction + name: pulsarfunctions.resource.streamnative.io + version: v1alpha1 + - description: PulsarPackage is the Schema for the pulsarpackages API + displayName: Pulsar Package + kind: PulsarPackage + name: pulsarpackages.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/manifests/bases/pulsar-resources-operator.clusterserviceversion.yaml b/config/manifests/bases/pulsar-resources-operator.clusterserviceversion.yaml index 2e4a5188..ad91489e 100644 --- a/config/manifests/bases/pulsar-resources-operator.clusterserviceversion.yaml +++ b/config/manifests/bases/pulsar-resources-operator.clusterserviceversion.yaml @@ -41,11 +41,6 @@ spec: kind: PulsarConnection name: pulsarconnections.resource.streamnative.io version: v1alpha1 - - description: PulsarGeoReplication is the Schema for the pulsargeoreplications API - displayName: Pulsar Geo Replication - kind: PulsarGeoReplication - name: pulsargeoreplications.resource.streamnative.io - version: v1alpha1 - description: PulsarNamespace is the Schema for the pulsarnamespaces API displayName: Pulsar Namespace kind: PulsarNamespace @@ -66,6 +61,21 @@ 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: pulsargeoreplications.resource.streamnative.io + version: v1alpha1 + - description: PulsarFunction is the Schema for the pulsarfunctions API + displayName: Pulsar Function + kind: PulsarFunction + name: pulsarfunctions.resource.streamnative.io + version: v1alpha1 + - description: PulsarPackage is the Schema for the pulsarpackages API + displayName: Pulsar Package + kind: PulsarPackage + name: pulsarpackages.resource.streamnative.io + version: v1alpha1 description: pulsar resources operator displayName: Pulsar Resources Operator icon: From 9955706bac89414a2ee59834e3ce7783d3bc9f5d Mon Sep 17 00:00:00 2001 From: ericsyh Date: Mon, 2 Sep 2024 10:53:26 +0800 Subject: [PATCH 3/3] fix: olm csv and samples Signed-off-by: ericsyh --- ...ources-operator.clusterserviceversion.yaml | 10 +++++ ...ources-operator.clusterserviceversion.yaml | 10 +++++ .../samples/resource_v1alpha1_pulsarsink.yaml | 41 +++++++++++++++++++ .../resource_v1alpha1_pulsarsource.yaml | 40 ++++++++++++++++++ 4 files changed, 101 insertions(+) create mode 100644 config/samples/resource_v1alpha1_pulsarsink.yaml create mode 100644 config/samples/resource_v1alpha1_pulsarsource.yaml diff --git a/config/manifests-redhat/bases/pulsar-resources-operator.clusterserviceversion.yaml b/config/manifests-redhat/bases/pulsar-resources-operator.clusterserviceversion.yaml index 889f41c7..49fc5b29 100644 --- a/config/manifests-redhat/bases/pulsar-resources-operator.clusterserviceversion.yaml +++ b/config/manifests-redhat/bases/pulsar-resources-operator.clusterserviceversion.yaml @@ -95,6 +95,16 @@ spec: kind: PulsarPackage name: pulsarpackages.resource.streamnative.io version: v1alpha1 + - description: PulsarSink is the Schema for the pulsarsinks API + displayName: Pulsar Sink + kind: PulsarSink + name: pulsarsinks.resource.streamnative.io + version: v1alpha1 + - description: PulsarSource is the Schema for the pulsarsources API + displayName: Pulsar Source + kind: PulsarSource + name: pulsarsources.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/manifests/bases/pulsar-resources-operator.clusterserviceversion.yaml b/config/manifests/bases/pulsar-resources-operator.clusterserviceversion.yaml index ad91489e..a0c077e8 100644 --- a/config/manifests/bases/pulsar-resources-operator.clusterserviceversion.yaml +++ b/config/manifests/bases/pulsar-resources-operator.clusterserviceversion.yaml @@ -76,6 +76,16 @@ spec: kind: PulsarPackage name: pulsarpackages.resource.streamnative.io version: v1alpha1 + - description: PulsarSink is the Schema for the pulsarsinks API + displayName: Pulsar Sink + kind: PulsarSink + name: pulsarsinks.resource.streamnative.io + version: v1alpha1 + - description: PulsarSource is the Schema for the pulsarsources API + displayName: Pulsar Source + kind: PulsarSource + name: pulsarsources.resource.streamnative.io + version: v1alpha1 description: pulsar resources operator displayName: Pulsar Resources Operator icon: diff --git a/config/samples/resource_v1alpha1_pulsarsink.yaml b/config/samples/resource_v1alpha1_pulsarsink.yaml new file mode 100644 index 00000000..88b0d4f3 --- /dev/null +++ b/config/samples/resource_v1alpha1_pulsarsink.yaml @@ -0,0 +1,41 @@ +# Copyright 2024 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: PulsarSink +metadata: + name: test-pulsar-sink + namespace: default +spec: + autoAck: true + className: org.apache.pulsar.io.datagenerator.DataGeneratorPrintSink + cleanupSubscription: false + connectionRef: + name: "test-pulsar-connection" + customRuntimeOptions: {} + inputs: + - sink-input + archive: + url: builtin://data-generator + lifecyclePolicy: CleanUpAfterDeletion + name: test-pulsar-sink + namespace: default + parallelism: 1 + processingGuarantees: EFFECTIVELY_ONCE + secrets: + SECRET1: + key: hello + path: sectest + sourceSubscriptionPosition: Latest + tenant: public \ No newline at end of file diff --git a/config/samples/resource_v1alpha1_pulsarsource.yaml b/config/samples/resource_v1alpha1_pulsarsource.yaml new file mode 100644 index 00000000..dc3c1cd0 --- /dev/null +++ b/config/samples/resource_v1alpha1_pulsarsource.yaml @@ -0,0 +1,40 @@ +# Copyright 2024 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: PulsarSource +metadata: + name: test-pulsar-source + namespace: default +spec: + className: org.apache.pulsar.io.datagenerator.DataGeneratorSource + connectionRef: + name: "test-pulsar-connection" + customRuntimeOptions: + sleepBetweenMessages: "1000" + topicName: sink-input + archive: + url: builtin://data-generator + configs: + sleepBetweenMessages: "1000" + lifecyclePolicy: CleanUpAfterDeletion + name: test-pulsar-source + namespace: default + parallelism: 1 + processingGuarantees: ATLEAST_ONCE + secrets: + SECRET1: + key: hello + path: sectest + tenant: public \ No newline at end of file