diff --git a/Makefile b/Makefile index 1433bb4f7..119740005 100644 --- a/Makefile +++ b/Makefile @@ -138,7 +138,6 @@ io/ioutil.{Discard,NopCloser,ReadAll,ReadDir,ReadFile,TempDir,TempFile,Writefile @go vet -stdmethods=false ./... @echo ">> linting all of the Go files GOGC=${GOGC}" @$(GOLANGCI_LINT) run - # TODO(saswatamcode): Enable this in a separate commit. - # @echo ">> ensuring Copyright headers" - # @go run ./scripts/copyright + @echo ">> ensuring Copyright headers" + @go run ./scripts/copyright $(call require_clean_work_tree,'detected files without copyright, run make lint and commit changes') \ No newline at end of file diff --git a/collectors/metrics/cmd/metrics-collector/main.go b/collectors/metrics/cmd/metrics-collector/main.go index 341be5075..d98f64484 100644 --- a/collectors/metrics/cmd/metrics-collector/main.go +++ b/collectors/metrics/cmd/metrics-collector/main.go @@ -1,4 +1,6 @@ +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package main diff --git a/collectors/metrics/cmd/metrics-collector/main_test.go b/collectors/metrics/cmd/metrics-collector/main_test.go index cc1200022..3b28bdfa6 100644 --- a/collectors/metrics/cmd/metrics-collector/main_test.go +++ b/collectors/metrics/cmd/metrics-collector/main_test.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package main import ( diff --git a/collectors/metrics/pkg/collectrule/evaluator.go b/collectors/metrics/pkg/collectrule/evaluator.go index 841a7c1fd..850379675 100644 --- a/collectors/metrics/pkg/collectrule/evaluator.go +++ b/collectors/metrics/pkg/collectrule/evaluator.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package collectrule diff --git a/collectors/metrics/pkg/collectrule/evaluator_test.go b/collectors/metrics/pkg/collectrule/evaluator_test.go index 3e82bca80..99a28931a 100644 --- a/collectors/metrics/pkg/collectrule/evaluator_test.go +++ b/collectors/metrics/pkg/collectrule/evaluator_test.go @@ -1,5 +1,7 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package collectrule import ( diff --git a/collectors/metrics/pkg/forwarder/forwarder.go b/collectors/metrics/pkg/forwarder/forwarder.go index 8def2ffca..63e77c483 100644 --- a/collectors/metrics/pkg/forwarder/forwarder.go +++ b/collectors/metrics/pkg/forwarder/forwarder.go @@ -1,4 +1,6 @@ +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package forwarder diff --git a/collectors/metrics/pkg/forwarder/forwarder_test.go b/collectors/metrics/pkg/forwarder/forwarder_test.go index e36965c0f..73f489d6f 100644 --- a/collectors/metrics/pkg/forwarder/forwarder_test.go +++ b/collectors/metrics/pkg/forwarder/forwarder_test.go @@ -1,4 +1,7 @@ +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package forwarder import ( diff --git a/collectors/metrics/pkg/http/roundtripper.go b/collectors/metrics/pkg/http/roundtripper.go index 13b4b9aea..5c3c983f0 100644 --- a/collectors/metrics/pkg/http/roundtripper.go +++ b/collectors/metrics/pkg/http/roundtripper.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package http import ( diff --git a/collectors/metrics/pkg/http/routes.go b/collectors/metrics/pkg/http/routes.go index cba2b3bdb..40f74305c 100644 --- a/collectors/metrics/pkg/http/routes.go +++ b/collectors/metrics/pkg/http/routes.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package http import ( diff --git a/collectors/metrics/pkg/logger/logger.go b/collectors/metrics/pkg/logger/logger.go index bf848f0e0..c8bbe7fec 100644 --- a/collectors/metrics/pkg/logger/logger.go +++ b/collectors/metrics/pkg/logger/logger.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package logger import ( diff --git a/collectors/metrics/pkg/metricfamily/anonymize.go b/collectors/metrics/pkg/metricfamily/anonymize.go index a9e5f5ab5..adb72a9b0 100644 --- a/collectors/metrics/pkg/metricfamily/anonymize.go +++ b/collectors/metrics/pkg/metricfamily/anonymize.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import ( diff --git a/collectors/metrics/pkg/metricfamily/count.go b/collectors/metrics/pkg/metricfamily/count.go index 9e04a9ff5..e9a3585d9 100644 --- a/collectors/metrics/pkg/metricfamily/count.go +++ b/collectors/metrics/pkg/metricfamily/count.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import clientmodel "github.com/prometheus/client_model/go" diff --git a/collectors/metrics/pkg/metricfamily/drop_timestamp.go b/collectors/metrics/pkg/metricfamily/drop_timestamp.go index c1b76d242..6a4829a36 100644 --- a/collectors/metrics/pkg/metricfamily/drop_timestamp.go +++ b/collectors/metrics/pkg/metricfamily/drop_timestamp.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import clientmodel "github.com/prometheus/client_model/go" diff --git a/collectors/metrics/pkg/metricfamily/drop_timestamp_test.go b/collectors/metrics/pkg/metricfamily/drop_timestamp_test.go index ecc064b97..43ba61480 100644 --- a/collectors/metrics/pkg/metricfamily/drop_timestamp_test.go +++ b/collectors/metrics/pkg/metricfamily/drop_timestamp_test.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import ( diff --git a/collectors/metrics/pkg/metricfamily/drop_unsorted.go b/collectors/metrics/pkg/metricfamily/drop_unsorted.go index 67cbc88dd..410912965 100644 --- a/collectors/metrics/pkg/metricfamily/drop_unsorted.go +++ b/collectors/metrics/pkg/metricfamily/drop_unsorted.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import clientmodel "github.com/prometheus/client_model/go" diff --git a/collectors/metrics/pkg/metricfamily/elide.go b/collectors/metrics/pkg/metricfamily/elide.go index c8e7f83b3..605d46241 100644 --- a/collectors/metrics/pkg/metricfamily/elide.go +++ b/collectors/metrics/pkg/metricfamily/elide.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import ( diff --git a/collectors/metrics/pkg/metricfamily/elide_test.go b/collectors/metrics/pkg/metricfamily/elide_test.go index 236caec40..18b150623 100644 --- a/collectors/metrics/pkg/metricfamily/elide_test.go +++ b/collectors/metrics/pkg/metricfamily/elide_test.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import ( diff --git a/collectors/metrics/pkg/metricfamily/empty.go b/collectors/metrics/pkg/metricfamily/empty.go index 8879e293c..29a9e4487 100644 --- a/collectors/metrics/pkg/metricfamily/empty.go +++ b/collectors/metrics/pkg/metricfamily/empty.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import clientmodel "github.com/prometheus/client_model/go" diff --git a/collectors/metrics/pkg/metricfamily/expired.go b/collectors/metrics/pkg/metricfamily/expired.go index 62ba50ec7..5888520f2 100644 --- a/collectors/metrics/pkg/metricfamily/expired.go +++ b/collectors/metrics/pkg/metricfamily/expired.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import ( diff --git a/collectors/metrics/pkg/metricfamily/hypershift_transformer.go b/collectors/metrics/pkg/metricfamily/hypershift_transformer.go index 1abbbf021..d3c9f73ea 100644 --- a/collectors/metrics/pkg/metricfamily/hypershift_transformer.go +++ b/collectors/metrics/pkg/metricfamily/hypershift_transformer.go @@ -1,4 +1,7 @@ +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import ( diff --git a/collectors/metrics/pkg/metricfamily/hypershift_transformer_test.go b/collectors/metrics/pkg/metricfamily/hypershift_transformer_test.go index 1fa130b95..c415258d5 100644 --- a/collectors/metrics/pkg/metricfamily/hypershift_transformer_test.go +++ b/collectors/metrics/pkg/metricfamily/hypershift_transformer_test.go @@ -1,4 +1,7 @@ +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import ( diff --git a/collectors/metrics/pkg/metricfamily/invalid.go b/collectors/metrics/pkg/metricfamily/invalid.go index fdd3b5203..cff70ceae 100644 --- a/collectors/metrics/pkg/metricfamily/invalid.go +++ b/collectors/metrics/pkg/metricfamily/invalid.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import ( diff --git a/collectors/metrics/pkg/metricfamily/label.go b/collectors/metrics/pkg/metricfamily/label.go index 0a172d0c5..a3d271baf 100644 --- a/collectors/metrics/pkg/metricfamily/label.go +++ b/collectors/metrics/pkg/metricfamily/label.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import ( diff --git a/collectors/metrics/pkg/metricfamily/multi_transformer.go b/collectors/metrics/pkg/metricfamily/multi_transformer.go index df0e103df..67e6e1a44 100644 --- a/collectors/metrics/pkg/metricfamily/multi_transformer.go +++ b/collectors/metrics/pkg/metricfamily/multi_transformer.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import ( diff --git a/collectors/metrics/pkg/metricfamily/none.go b/collectors/metrics/pkg/metricfamily/none.go index c815d186d..e9199716a 100644 --- a/collectors/metrics/pkg/metricfamily/none.go +++ b/collectors/metrics/pkg/metricfamily/none.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import clientmodel "github.com/prometheus/client_model/go" diff --git a/collectors/metrics/pkg/metricfamily/pack.go b/collectors/metrics/pkg/metricfamily/pack.go index 52e6b3b8a..acec3a785 100644 --- a/collectors/metrics/pkg/metricfamily/pack.go +++ b/collectors/metrics/pkg/metricfamily/pack.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import clientmodel "github.com/prometheus/client_model/go" diff --git a/collectors/metrics/pkg/metricfamily/rename.go b/collectors/metrics/pkg/metricfamily/rename.go index 3e9b25326..553bf3c2e 100644 --- a/collectors/metrics/pkg/metricfamily/rename.go +++ b/collectors/metrics/pkg/metricfamily/rename.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import clientmodel "github.com/prometheus/client_model/go" diff --git a/collectors/metrics/pkg/metricfamily/required.go b/collectors/metrics/pkg/metricfamily/required.go index 43828a2d5..1dc3058b3 100644 --- a/collectors/metrics/pkg/metricfamily/required.go +++ b/collectors/metrics/pkg/metricfamily/required.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import ( diff --git a/collectors/metrics/pkg/metricfamily/sort.go b/collectors/metrics/pkg/metricfamily/sort.go index b44a676cb..0c9ff33e7 100644 --- a/collectors/metrics/pkg/metricfamily/sort.go +++ b/collectors/metrics/pkg/metricfamily/sort.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import ( diff --git a/collectors/metrics/pkg/metricfamily/transform.go b/collectors/metrics/pkg/metricfamily/transform.go index 9d585425a..7e942938c 100644 --- a/collectors/metrics/pkg/metricfamily/transform.go +++ b/collectors/metrics/pkg/metricfamily/transform.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import ( diff --git a/collectors/metrics/pkg/metricfamily/transform_test.go b/collectors/metrics/pkg/metricfamily/transform_test.go index 270d03f49..160c801cc 100644 --- a/collectors/metrics/pkg/metricfamily/transform_test.go +++ b/collectors/metrics/pkg/metricfamily/transform_test.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import ( diff --git a/collectors/metrics/pkg/metricfamily/unsorted.go b/collectors/metrics/pkg/metricfamily/unsorted.go index 47d02c4bc..022bb4015 100644 --- a/collectors/metrics/pkg/metricfamily/unsorted.go +++ b/collectors/metrics/pkg/metricfamily/unsorted.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import ( diff --git a/collectors/metrics/pkg/metricfamily/whitelist.go b/collectors/metrics/pkg/metricfamily/whitelist.go index 5d7fd65e3..f3ec324e0 100644 --- a/collectors/metrics/pkg/metricfamily/whitelist.go +++ b/collectors/metrics/pkg/metricfamily/whitelist.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import ( diff --git a/collectors/metrics/pkg/metricfamily/whitelist_test.go b/collectors/metrics/pkg/metricfamily/whitelist_test.go index a6d53e84b..0328aa748 100644 --- a/collectors/metrics/pkg/metricfamily/whitelist_test.go +++ b/collectors/metrics/pkg/metricfamily/whitelist_test.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricfamily import ( diff --git a/collectors/metrics/pkg/metricsclient/metricsclient.go b/collectors/metrics/pkg/metricsclient/metricsclient.go index 52752b2ff..24f1b76bc 100644 --- a/collectors/metrics/pkg/metricsclient/metricsclient.go +++ b/collectors/metrics/pkg/metricsclient/metricsclient.go @@ -1,4 +1,6 @@ +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package metricsclient diff --git a/collectors/metrics/pkg/metricsclient/metricsclient_test.go b/collectors/metrics/pkg/metricsclient/metricsclient_test.go index fb7271a17..44488a6c0 100644 --- a/collectors/metrics/pkg/metricsclient/metricsclient_test.go +++ b/collectors/metrics/pkg/metricsclient/metricsclient_test.go @@ -1,4 +1,7 @@ +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package metricsclient import ( diff --git a/collectors/metrics/pkg/reader/reader.go b/collectors/metrics/pkg/reader/reader.go index 8a397cae4..e06915607 100644 --- a/collectors/metrics/pkg/reader/reader.go +++ b/collectors/metrics/pkg/reader/reader.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package reader import ( diff --git a/collectors/metrics/pkg/reader/reader_test.go b/collectors/metrics/pkg/reader/reader_test.go index 4c46da2fb..043159423 100644 --- a/collectors/metrics/pkg/reader/reader_test.go +++ b/collectors/metrics/pkg/reader/reader_test.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package reader import ( diff --git a/collectors/metrics/pkg/simulator/simulator.go b/collectors/metrics/pkg/simulator/simulator.go index 992e4f750..2cff45f4b 100644 --- a/collectors/metrics/pkg/simulator/simulator.go +++ b/collectors/metrics/pkg/simulator/simulator.go @@ -1,4 +1,6 @@ +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package simulator diff --git a/collectors/metrics/pkg/simulator/simulator_test.go b/collectors/metrics/pkg/simulator/simulator_test.go index 6839b9cfc..d4162f64e 100644 --- a/collectors/metrics/pkg/simulator/simulator_test.go +++ b/collectors/metrics/pkg/simulator/simulator_test.go @@ -1,4 +1,6 @@ +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package simulator diff --git a/collectors/metrics/pkg/status/status.go b/collectors/metrics/pkg/status/status.go index 391a795d4..4592d4796 100644 --- a/collectors/metrics/pkg/status/status.go +++ b/collectors/metrics/pkg/status/status.go @@ -1,4 +1,6 @@ +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package status diff --git a/collectors/metrics/pkg/status/status_test.go b/collectors/metrics/pkg/status/status_test.go index fc8196b0a..ff8a78974 100644 --- a/collectors/metrics/pkg/status/status_test.go +++ b/collectors/metrics/pkg/status/status_test.go @@ -1,4 +1,7 @@ +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package status import ( diff --git a/examples/gen.go b/examples/gen.go index f65667fb7..d6b45a530 100644 --- a/examples/gen.go +++ b/examples/gen.go @@ -1,20 +1,8 @@ -// Copyright (c) 2022 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project -/* -Copyright 2022. - -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 +// Licensed under the Apache License 2.0 - 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. -*/ +package main /* How to generate minio certs: @@ -22,8 +10,6 @@ How to generate minio certs: 2. run `oc create secret generic minio-tls-secret --from-file=ca.crt=./minio-tls/certs/ca.crt --from-file=public.crt=./minio-tls/certs/public.crt --from-file=private.key=./minio-tls/certs/private.key --dry-run='client' -oyaml --namespace=open-cluster-management-observability > ./minio-tls/minio-tls-secret.yaml` to generate minio-tls-secret.yaml */ -package main - import ( "crypto/rand" "crypto/rsa" diff --git a/loaders/dashboards/cmd/main.go b/loaders/dashboards/cmd/main.go index 49aa38110..70444b0fe 100644 --- a/loaders/dashboards/cmd/main.go +++ b/loaders/dashboards/cmd/main.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package main diff --git a/loaders/dashboards/pkg/controller/dashboard_controller.go b/loaders/dashboards/pkg/controller/dashboard_controller.go index d08a9e0bc..3d3367ef7 100644 --- a/loaders/dashboards/pkg/controller/dashboard_controller.go +++ b/loaders/dashboards/pkg/controller/dashboard_controller.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package controller diff --git a/loaders/dashboards/pkg/controller/dashboard_controller_test.go b/loaders/dashboards/pkg/controller/dashboard_controller_test.go index 9867b5849..e12b66f6a 100644 --- a/loaders/dashboards/pkg/controller/dashboard_controller_test.go +++ b/loaders/dashboards/pkg/controller/dashboard_controller_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package controller diff --git a/loaders/dashboards/pkg/util/grafana_util.go b/loaders/dashboards/pkg/util/grafana_util.go index 2555c8985..6b81a80b8 100644 --- a/loaders/dashboards/pkg/util/grafana_util.go +++ b/loaders/dashboards/pkg/util/grafana_util.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package util diff --git a/loaders/dashboards/pkg/util/grafana_util_test.go b/loaders/dashboards/pkg/util/grafana_util_test.go index 1afd75907..8ffa252ef 100644 --- a/loaders/dashboards/pkg/util/grafana_util_test.go +++ b/loaders/dashboards/pkg/util/grafana_util_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package util diff --git a/operators/endpointmetrics/controllers/observabilityendpoint/match_evaluator.go b/operators/endpointmetrics/controllers/observabilityendpoint/match_evaluator.go index eb6b17bf2..ff0ab5e00 100644 --- a/operators/endpointmetrics/controllers/observabilityendpoint/match_evaluator.go +++ b/operators/endpointmetrics/controllers/observabilityendpoint/match_evaluator.go @@ -1,5 +1,7 @@ -// Copyright (c) 2021 Red Hat, Inc. -// Copyright Contributors to the Open Cluster Management project. +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package observabilityendpoint import ( diff --git a/operators/endpointmetrics/controllers/observabilityendpoint/match_evaluator_test.go b/operators/endpointmetrics/controllers/observabilityendpoint/match_evaluator_test.go index d545f9fd3..b98f809a6 100644 --- a/operators/endpointmetrics/controllers/observabilityendpoint/match_evaluator_test.go +++ b/operators/endpointmetrics/controllers/observabilityendpoint/match_evaluator_test.go @@ -1,5 +1,7 @@ -// Copyright (c) 2021 Red Hat, Inc. -// Copyright Contributors to the Open Cluster Management project. +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package observabilityendpoint import ( diff --git a/operators/endpointmetrics/controllers/observabilityendpoint/metrics_collector.go b/operators/endpointmetrics/controllers/observabilityendpoint/metrics_collector.go index 3e75ccc47..5fffc1905 100644 --- a/operators/endpointmetrics/controllers/observabilityendpoint/metrics_collector.go +++ b/operators/endpointmetrics/controllers/observabilityendpoint/metrics_collector.go @@ -1,5 +1,7 @@ -// Copyright (c) 2021 Red Hat, Inc. -// Copyright Contributors to the Open Cluster Management project. +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package observabilityendpoint import ( diff --git a/operators/endpointmetrics/controllers/observabilityendpoint/metrics_collector_test.go b/operators/endpointmetrics/controllers/observabilityendpoint/metrics_collector_test.go index 259a4ad34..8fa8d98b6 100644 --- a/operators/endpointmetrics/controllers/observabilityendpoint/metrics_collector_test.go +++ b/operators/endpointmetrics/controllers/observabilityendpoint/metrics_collector_test.go @@ -1,5 +1,7 @@ -// Copyright (c) 2021 Red Hat, Inc. -// Copyright Contributors to the Open Cluster Management project. +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package observabilityendpoint import ( diff --git a/operators/endpointmetrics/controllers/observabilityendpoint/observabilityaddon_controller.go b/operators/endpointmetrics/controllers/observabilityendpoint/observabilityaddon_controller.go index f1677e7dd..b546a7796 100644 --- a/operators/endpointmetrics/controllers/observabilityendpoint/observabilityaddon_controller.go +++ b/operators/endpointmetrics/controllers/observabilityendpoint/observabilityaddon_controller.go @@ -1,5 +1,7 @@ -// Copyright (c) 2021 Red Hat, Inc. -// Copyright Contributors to the Open Cluster Management project. +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package observabilityendpoint import ( diff --git a/operators/endpointmetrics/controllers/observabilityendpoint/observabilityaddon_controller_test.go b/operators/endpointmetrics/controllers/observabilityendpoint/observabilityaddon_controller_test.go index 5ec9638f1..08ee82579 100644 --- a/operators/endpointmetrics/controllers/observabilityendpoint/observabilityaddon_controller_test.go +++ b/operators/endpointmetrics/controllers/observabilityendpoint/observabilityaddon_controller_test.go @@ -1,5 +1,7 @@ -// Copyright (c) 2021 Red Hat, Inc. -// Copyright Contributors to the Open Cluster Management project. +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package observabilityendpoint import ( diff --git a/operators/endpointmetrics/controllers/observabilityendpoint/ocp_monitoring_config.go b/operators/endpointmetrics/controllers/observabilityendpoint/ocp_monitoring_config.go index 349fe037c..48faa13fa 100644 --- a/operators/endpointmetrics/controllers/observabilityendpoint/ocp_monitoring_config.go +++ b/operators/endpointmetrics/controllers/observabilityendpoint/ocp_monitoring_config.go @@ -1,5 +1,7 @@ -// Copyright (c) 2021 Red Hat, Inc. -// Copyright Contributors to the Open Cluster Management project. +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package observabilityendpoint import ( diff --git a/operators/endpointmetrics/controllers/observabilityendpoint/ocp_monitoring_config_test.go b/operators/endpointmetrics/controllers/observabilityendpoint/ocp_monitoring_config_test.go index ddee60484..59fe017c5 100644 --- a/operators/endpointmetrics/controllers/observabilityendpoint/ocp_monitoring_config_test.go +++ b/operators/endpointmetrics/controllers/observabilityendpoint/ocp_monitoring_config_test.go @@ -1,5 +1,7 @@ -// Copyright (c) 2021 Red Hat, Inc. -// Copyright Contributors to the Open Cluster Management project. +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package observabilityendpoint import ( diff --git a/operators/endpointmetrics/controllers/observabilityendpoint/ocp_resource.go b/operators/endpointmetrics/controllers/observabilityendpoint/ocp_resource.go index fa88784e2..02b3ad55b 100644 --- a/operators/endpointmetrics/controllers/observabilityendpoint/ocp_resource.go +++ b/operators/endpointmetrics/controllers/observabilityendpoint/ocp_resource.go @@ -1,5 +1,7 @@ -// Copyright (c) 2021 Red Hat, Inc. -// Copyright Contributors to the Open Cluster Management project. +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package observabilityendpoint import ( diff --git a/operators/endpointmetrics/controllers/observabilityendpoint/ocp_resource_test.go b/operators/endpointmetrics/controllers/observabilityendpoint/ocp_resource_test.go index c5339916d..929cabb57 100644 --- a/operators/endpointmetrics/controllers/observabilityendpoint/ocp_resource_test.go +++ b/operators/endpointmetrics/controllers/observabilityendpoint/ocp_resource_test.go @@ -1,5 +1,7 @@ -// Copyright (c) 2021 Red Hat, Inc. -// Copyright Contributors to the Open Cluster Management project. +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package observabilityendpoint import ( diff --git a/operators/endpointmetrics/controllers/observabilityendpoint/predicate_func.go b/operators/endpointmetrics/controllers/observabilityendpoint/predicate_func.go index fdff1c0ab..50256d0c6 100644 --- a/operators/endpointmetrics/controllers/observabilityendpoint/predicate_func.go +++ b/operators/endpointmetrics/controllers/observabilityendpoint/predicate_func.go @@ -1,5 +1,7 @@ -// Copyright (c) 2021 Red Hat, Inc. -// Copyright Contributors to the Open Cluster Management project. +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package observabilityendpoint import ( diff --git a/operators/endpointmetrics/controllers/observabilityendpoint/predicate_func_test.go b/operators/endpointmetrics/controllers/observabilityendpoint/predicate_func_test.go index f413b2422..c142829fe 100644 --- a/operators/endpointmetrics/controllers/observabilityendpoint/predicate_func_test.go +++ b/operators/endpointmetrics/controllers/observabilityendpoint/predicate_func_test.go @@ -1,5 +1,7 @@ -// Copyright (c) 2021 Red Hat, Inc. -// Copyright Contributors to the Open Cluster Management project. +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package observabilityendpoint import ( diff --git a/operators/endpointmetrics/controllers/status/status_controller.go b/operators/endpointmetrics/controllers/status/status_controller.go index 337a18502..a852efe85 100644 --- a/operators/endpointmetrics/controllers/status/status_controller.go +++ b/operators/endpointmetrics/controllers/status/status_controller.go @@ -1,5 +1,7 @@ -// Copyright (c) 2021 Red Hat, Inc. -// Copyright Contributors to the Open Cluster Management project. +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package status import ( diff --git a/operators/endpointmetrics/controllers/status/status_controller_test.go b/operators/endpointmetrics/controllers/status/status_controller_test.go index ec25b4f4f..9dbde648d 100644 --- a/operators/endpointmetrics/controllers/status/status_controller_test.go +++ b/operators/endpointmetrics/controllers/status/status_controller_test.go @@ -1,5 +1,7 @@ -// Copyright (c) 2021 Red Hat, Inc. -// Copyright Contributors to the Open Cluster Management project. +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package status import ( diff --git a/operators/endpointmetrics/main.go b/operators/endpointmetrics/main.go index cf7c864ee..e88418a65 100644 --- a/operators/endpointmetrics/main.go +++ b/operators/endpointmetrics/main.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. -// Copyright Contributors to the Open Cluster Management project. +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package main diff --git a/operators/endpointmetrics/pkg/rendering/renderer.go b/operators/endpointmetrics/pkg/rendering/renderer.go index 6d6b79856..d3e770881 100644 --- a/operators/endpointmetrics/pkg/rendering/renderer.go +++ b/operators/endpointmetrics/pkg/rendering/renderer.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package rendering diff --git a/operators/endpointmetrics/pkg/rendering/renderer_test.go b/operators/endpointmetrics/pkg/rendering/renderer_test.go index 2fb3982a4..e0126ba41 100644 --- a/operators/endpointmetrics/pkg/rendering/renderer_test.go +++ b/operators/endpointmetrics/pkg/rendering/renderer_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package rendering diff --git a/operators/endpointmetrics/pkg/rendering/templates/templates.go b/operators/endpointmetrics/pkg/rendering/templates/templates.go index fbdb3fb19..8bfae2af3 100644 --- a/operators/endpointmetrics/pkg/rendering/templates/templates.go +++ b/operators/endpointmetrics/pkg/rendering/templates/templates.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package templates diff --git a/operators/endpointmetrics/pkg/rendering/templates/templates_test.go b/operators/endpointmetrics/pkg/rendering/templates/templates_test.go index f71e6b0dc..f8ed7962e 100644 --- a/operators/endpointmetrics/pkg/rendering/templates/templates_test.go +++ b/operators/endpointmetrics/pkg/rendering/templates/templates_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package templates diff --git a/operators/endpointmetrics/pkg/util/client.go b/operators/endpointmetrics/pkg/util/client.go index ea130c96a..42eb84a23 100644 --- a/operators/endpointmetrics/pkg/util/client.go +++ b/operators/endpointmetrics/pkg/util/client.go @@ -1,5 +1,7 @@ -// Copyright (c) 2021 Red Hat, Inc. -// Copyright Contributors to the Open Cluster Management project. +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package util import ( diff --git a/operators/endpointmetrics/pkg/util/client_test.go b/operators/endpointmetrics/pkg/util/client_test.go index 26431af55..dff1ba9b1 100644 --- a/operators/endpointmetrics/pkg/util/client_test.go +++ b/operators/endpointmetrics/pkg/util/client_test.go @@ -1,5 +1,7 @@ -// Copyright (c) 2023 Red Hat, Inc. -// Copyright Contributors to the Open Cluster Management project. +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package util import ( diff --git a/operators/endpointmetrics/pkg/util/lease.go b/operators/endpointmetrics/pkg/util/lease.go index 37a0ab833..e0c2ea0ce 100644 --- a/operators/endpointmetrics/pkg/util/lease.go +++ b/operators/endpointmetrics/pkg/util/lease.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. -// Copyright Contributors to the Open Cluster Management project. +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package util diff --git a/operators/endpointmetrics/pkg/util/status.go b/operators/endpointmetrics/pkg/util/status.go index c0ce19109..7b9e0c610 100644 --- a/operators/endpointmetrics/pkg/util/status.go +++ b/operators/endpointmetrics/pkg/util/status.go @@ -1,5 +1,7 @@ -// Copyright (c) 2021 Red Hat, Inc. -// Copyright Contributors to the Open Cluster Management project. +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package util import ( diff --git a/operators/endpointmetrics/pkg/util/status_test.go b/operators/endpointmetrics/pkg/util/status_test.go index f9ea12909..d927d564f 100644 --- a/operators/endpointmetrics/pkg/util/status_test.go +++ b/operators/endpointmetrics/pkg/util/status_test.go @@ -1,5 +1,7 @@ -// Copyright (c) 2021 Red Hat, Inc. -// Copyright Contributors to the Open Cluster Management project. +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package util import ( diff --git a/operators/endpointmetrics/version/version.go b/operators/endpointmetrics/version/version.go index 07d3b08ce..102503721 100644 --- a/operators/endpointmetrics/version/version.go +++ b/operators/endpointmetrics/version/version.go @@ -1,5 +1,7 @@ -// Copyright (c) 2021 Red Hat, Inc. -// Copyright Contributors to the Open Cluster Management project. +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package version var ( diff --git a/operators/multiclusterobservability/api/shared/multiclusterobservability_shared.go b/operators/multiclusterobservability/api/shared/multiclusterobservability_shared.go index 8b6a2638c..e06575070 100644 --- a/operators/multiclusterobservability/api/shared/multiclusterobservability_shared.go +++ b/operators/multiclusterobservability/api/shared/multiclusterobservability_shared.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 // Package shared contains shared API Schema definitions for the observability API group // +kubebuilder:object:generate=true diff --git a/operators/multiclusterobservability/api/v1beta1/groupversion_info.go b/operators/multiclusterobservability/api/v1beta1/groupversion_info.go index 11c717cd7..deecca1f4 100644 --- a/operators/multiclusterobservability/api/v1beta1/groupversion_info.go +++ b/operators/multiclusterobservability/api/v1beta1/groupversion_info.go @@ -1,20 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project -/* -Copyright 2021. - -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. -*/ +// Licensed under the Apache License 2.0 // Package v1beta1 contains API Schema definitions for the observability v1beta1 API group // +kubebuilder:object:generate=true diff --git a/operators/multiclusterobservability/api/v1beta1/multiclusterobservability_conversion.go b/operators/multiclusterobservability/api/v1beta1/multiclusterobservability_conversion.go index 89a758da9..0e210a8da 100644 --- a/operators/multiclusterobservability/api/v1beta1/multiclusterobservability_conversion.go +++ b/operators/multiclusterobservability/api/v1beta1/multiclusterobservability_conversion.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package v1beta1 diff --git a/operators/multiclusterobservability/api/v1beta1/multiclusterobservability_types.go b/operators/multiclusterobservability/api/v1beta1/multiclusterobservability_types.go index d168eacbf..4491d99a6 100644 --- a/operators/multiclusterobservability/api/v1beta1/multiclusterobservability_types.go +++ b/operators/multiclusterobservability/api/v1beta1/multiclusterobservability_types.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package v1beta1 diff --git a/operators/multiclusterobservability/api/v1beta1/observabilityaddon_types.go b/operators/multiclusterobservability/api/v1beta1/observabilityaddon_types.go index aed7e07ab..8fbcd4568 100644 --- a/operators/multiclusterobservability/api/v1beta1/observabilityaddon_types.go +++ b/operators/multiclusterobservability/api/v1beta1/observabilityaddon_types.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package v1beta1 diff --git a/operators/multiclusterobservability/api/v1beta2/groupversion_info.go b/operators/multiclusterobservability/api/v1beta2/groupversion_info.go index 45bd93536..d351eacd5 100644 --- a/operators/multiclusterobservability/api/v1beta2/groupversion_info.go +++ b/operators/multiclusterobservability/api/v1beta2/groupversion_info.go @@ -1,20 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project -/* -Copyright 2021. - -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. -*/ +// Licensed under the Apache License 2.0 // Package v1beta2 contains API Schema definitions for the observability v1beta2 API group // +kubebuilder:object:generate=true diff --git a/operators/multiclusterobservability/api/v1beta2/multiclusterobservability_conversion.go b/operators/multiclusterobservability/api/v1beta2/multiclusterobservability_conversion.go index bfbdd197d..f6c60c5c0 100644 --- a/operators/multiclusterobservability/api/v1beta2/multiclusterobservability_conversion.go +++ b/operators/multiclusterobservability/api/v1beta2/multiclusterobservability_conversion.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package v1beta2 diff --git a/operators/multiclusterobservability/api/v1beta2/multiclusterobservability_types.go b/operators/multiclusterobservability/api/v1beta2/multiclusterobservability_types.go index 342dbf988..e1012ec2d 100644 --- a/operators/multiclusterobservability/api/v1beta2/multiclusterobservability_types.go +++ b/operators/multiclusterobservability/api/v1beta2/multiclusterobservability_types.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package v1beta2 diff --git a/operators/multiclusterobservability/api/v1beta2/multiclusterobservability_webhook.go b/operators/multiclusterobservability/api/v1beta2/multiclusterobservability_webhook.go index b9c0735a0..e4822df66 100644 --- a/operators/multiclusterobservability/api/v1beta2/multiclusterobservability_webhook.go +++ b/operators/multiclusterobservability/api/v1beta2/multiclusterobservability_webhook.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package v1beta2 diff --git a/operators/multiclusterobservability/controllers/multiclusterobservability/grafana.go b/operators/multiclusterobservability/controllers/multiclusterobservability/grafana.go index eb494c3e0..fe5915eed 100644 --- a/operators/multiclusterobservability/controllers/multiclusterobservability/grafana.go +++ b/operators/multiclusterobservability/controllers/multiclusterobservability/grafana.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package multiclusterobservability diff --git a/operators/multiclusterobservability/controllers/multiclusterobservability/grafana_test.go b/operators/multiclusterobservability/controllers/multiclusterobservability/grafana_test.go index 14b822a0c..d278b737d 100644 --- a/operators/multiclusterobservability/controllers/multiclusterobservability/grafana_test.go +++ b/operators/multiclusterobservability/controllers/multiclusterobservability/grafana_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package multiclusterobservability diff --git a/operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_controller.go b/operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_controller.go index 4f6f816b0..11ceafa44 100644 --- a/operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_controller.go +++ b/operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_controller.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package multiclusterobservability diff --git a/operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_controller_test.go b/operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_controller_test.go index 350a5e627..101bd292b 100644 --- a/operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_controller_test.go +++ b/operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_controller_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package multiclusterobservability diff --git a/operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_status.go b/operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_status.go index 4d899a6ad..aa9f68cdc 100644 --- a/operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_status.go +++ b/operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_status.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package multiclusterobservability diff --git a/operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_status_test.go b/operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_status_test.go index e8c955866..647d14b4b 100644 --- a/operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_status_test.go +++ b/operators/multiclusterobservability/controllers/multiclusterobservability/multiclusterobservability_status_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package multiclusterobservability diff --git a/operators/multiclusterobservability/controllers/multiclusterobservability/observatorium.go b/operators/multiclusterobservability/controllers/multiclusterobservability/observatorium.go index 9c7ce3021..7ffdad336 100644 --- a/operators/multiclusterobservability/controllers/multiclusterobservability/observatorium.go +++ b/operators/multiclusterobservability/controllers/multiclusterobservability/observatorium.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package multiclusterobservability diff --git a/operators/multiclusterobservability/controllers/multiclusterobservability/observatorium_test.go b/operators/multiclusterobservability/controllers/multiclusterobservability/observatorium_test.go index a32dd34f1..d7a49acd4 100644 --- a/operators/multiclusterobservability/controllers/multiclusterobservability/observatorium_test.go +++ b/operators/multiclusterobservability/controllers/multiclusterobservability/observatorium_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package multiclusterobservability diff --git a/operators/multiclusterobservability/controllers/multiclusterobservability/storageversionmigration.go b/operators/multiclusterobservability/controllers/multiclusterobservability/storageversionmigration.go index d6557d4e2..03645be0c 100644 --- a/operators/multiclusterobservability/controllers/multiclusterobservability/storageversionmigration.go +++ b/operators/multiclusterobservability/controllers/multiclusterobservability/storageversionmigration.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package multiclusterobservability diff --git a/operators/multiclusterobservability/controllers/multiclusterobservability/storageversionmigration_test.go b/operators/multiclusterobservability/controllers/multiclusterobservability/storageversionmigration_test.go index ccc4f8980..d765568c3 100644 --- a/operators/multiclusterobservability/controllers/multiclusterobservability/storageversionmigration_test.go +++ b/operators/multiclusterobservability/controllers/multiclusterobservability/storageversionmigration_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package multiclusterobservability diff --git a/operators/multiclusterobservability/controllers/placementrule/customize_img.go b/operators/multiclusterobservability/controllers/placementrule/customize_img.go index cd15ad945..88698f1ed 100644 --- a/operators/multiclusterobservability/controllers/placementrule/customize_img.go +++ b/operators/multiclusterobservability/controllers/placementrule/customize_img.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package placementrule diff --git a/operators/multiclusterobservability/controllers/placementrule/customize_img_test.go b/operators/multiclusterobservability/controllers/placementrule/customize_img_test.go index 550f189c3..1b3e8bdfe 100644 --- a/operators/multiclusterobservability/controllers/placementrule/customize_img_test.go +++ b/operators/multiclusterobservability/controllers/placementrule/customize_img_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package placementrule diff --git a/operators/multiclusterobservability/controllers/placementrule/endpoint_metrics_operator.go b/operators/multiclusterobservability/controllers/placementrule/endpoint_metrics_operator.go index c5dbf25f8..25c816628 100644 --- a/operators/multiclusterobservability/controllers/placementrule/endpoint_metrics_operator.go +++ b/operators/multiclusterobservability/controllers/placementrule/endpoint_metrics_operator.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package placementrule diff --git a/operators/multiclusterobservability/controllers/placementrule/hub_info_secret.go b/operators/multiclusterobservability/controllers/placementrule/hub_info_secret.go index a19091839..c36cefb0a 100644 --- a/operators/multiclusterobservability/controllers/placementrule/hub_info_secret.go +++ b/operators/multiclusterobservability/controllers/placementrule/hub_info_secret.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package placementrule diff --git a/operators/multiclusterobservability/controllers/placementrule/hub_info_secret_test.go b/operators/multiclusterobservability/controllers/placementrule/hub_info_secret_test.go index e59422e6a..c9c0d0fc1 100644 --- a/operators/multiclusterobservability/controllers/placementrule/hub_info_secret_test.go +++ b/operators/multiclusterobservability/controllers/placementrule/hub_info_secret_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package placementrule diff --git a/operators/multiclusterobservability/controllers/placementrule/manifestwork.go b/operators/multiclusterobservability/controllers/placementrule/manifestwork.go index 513b36c0d..c85289f27 100644 --- a/operators/multiclusterobservability/controllers/placementrule/manifestwork.go +++ b/operators/multiclusterobservability/controllers/placementrule/manifestwork.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package placementrule diff --git a/operators/multiclusterobservability/controllers/placementrule/manifestwork_test.go b/operators/multiclusterobservability/controllers/placementrule/manifestwork_test.go index 70c27a352..a6ecae52f 100644 --- a/operators/multiclusterobservability/controllers/placementrule/manifestwork_test.go +++ b/operators/multiclusterobservability/controllers/placementrule/manifestwork_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package placementrule diff --git a/operators/multiclusterobservability/controllers/placementrule/mco_predicate.go b/operators/multiclusterobservability/controllers/placementrule/mco_predicate.go index fcb1aa7a7..6b52330bc 100644 --- a/operators/multiclusterobservability/controllers/placementrule/mco_predicate.go +++ b/operators/multiclusterobservability/controllers/placementrule/mco_predicate.go @@ -1,5 +1,7 @@ -// Copyright (c) 2022 Red Hat, Inc. -// Copyright Contributors to the Open Cluster Management project. +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package placementrule import ( diff --git a/operators/multiclusterobservability/controllers/placementrule/mco_predicate_test.go b/operators/multiclusterobservability/controllers/placementrule/mco_predicate_test.go index 85af99ce5..0ce56cc21 100644 --- a/operators/multiclusterobservability/controllers/placementrule/mco_predicate_test.go +++ b/operators/multiclusterobservability/controllers/placementrule/mco_predicate_test.go @@ -1,5 +1,7 @@ -// Copyright (c) 2022 Red Hat, Inc. -// Copyright Contributors to the Open Cluster Management project. +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package placementrule import ( diff --git a/operators/multiclusterobservability/controllers/placementrule/namespace.go b/operators/multiclusterobservability/controllers/placementrule/namespace.go index 35a7fdb9f..8f2452096 100644 --- a/operators/multiclusterobservability/controllers/placementrule/namespace.go +++ b/operators/multiclusterobservability/controllers/placementrule/namespace.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package placementrule diff --git a/operators/multiclusterobservability/controllers/placementrule/namespace_test.go b/operators/multiclusterobservability/controllers/placementrule/namespace_test.go index 8fe710317..ff5d1c217 100644 --- a/operators/multiclusterobservability/controllers/placementrule/namespace_test.go +++ b/operators/multiclusterobservability/controllers/placementrule/namespace_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package placementrule diff --git a/operators/multiclusterobservability/controllers/placementrule/obsaddon.go b/operators/multiclusterobservability/controllers/placementrule/obsaddon.go index e23767d2a..d819e9bb3 100644 --- a/operators/multiclusterobservability/controllers/placementrule/obsaddon.go +++ b/operators/multiclusterobservability/controllers/placementrule/obsaddon.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package placementrule diff --git a/operators/multiclusterobservability/controllers/placementrule/obsaddon_test.go b/operators/multiclusterobservability/controllers/placementrule/obsaddon_test.go index 30685dc05..d1c573429 100644 --- a/operators/multiclusterobservability/controllers/placementrule/obsaddon_test.go +++ b/operators/multiclusterobservability/controllers/placementrule/obsaddon_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package placementrule diff --git a/operators/multiclusterobservability/controllers/placementrule/placementrule_controller.go b/operators/multiclusterobservability/controllers/placementrule/placementrule_controller.go index bf9e602fc..abe3d4985 100644 --- a/operators/multiclusterobservability/controllers/placementrule/placementrule_controller.go +++ b/operators/multiclusterobservability/controllers/placementrule/placementrule_controller.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package placementrule diff --git a/operators/multiclusterobservability/controllers/placementrule/placementrule_controller_test.go b/operators/multiclusterobservability/controllers/placementrule/placementrule_controller_test.go index d870e037b..d9f54b721 100644 --- a/operators/multiclusterobservability/controllers/placementrule/placementrule_controller_test.go +++ b/operators/multiclusterobservability/controllers/placementrule/placementrule_controller_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package placementrule diff --git a/operators/multiclusterobservability/controllers/placementrule/predicate_func.go b/operators/multiclusterobservability/controllers/placementrule/predicate_func.go index 6ccc83b9d..c6346d64b 100644 --- a/operators/multiclusterobservability/controllers/placementrule/predicate_func.go +++ b/operators/multiclusterobservability/controllers/placementrule/predicate_func.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package placementrule import ( diff --git a/operators/multiclusterobservability/controllers/placementrule/predicate_func_test.go b/operators/multiclusterobservability/controllers/placementrule/predicate_func_test.go index 8c1df39bc..bfa6a751e 100644 --- a/operators/multiclusterobservability/controllers/placementrule/predicate_func_test.go +++ b/operators/multiclusterobservability/controllers/placementrule/predicate_func_test.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package placementrule import ( diff --git a/operators/multiclusterobservability/controllers/placementrule/predict_func.go b/operators/multiclusterobservability/controllers/placementrule/predict_func.go index 5a5139152..13d0a0a6a 100644 --- a/operators/multiclusterobservability/controllers/placementrule/predict_func.go +++ b/operators/multiclusterobservability/controllers/placementrule/predict_func.go @@ -1,4 +1,6 @@ +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package placementrule diff --git a/operators/multiclusterobservability/controllers/placementrule/predict_func_test.go b/operators/multiclusterobservability/controllers/placementrule/predict_func_test.go index f63762a0b..4646042af 100644 --- a/operators/multiclusterobservability/controllers/placementrule/predict_func_test.go +++ b/operators/multiclusterobservability/controllers/placementrule/predict_func_test.go @@ -1,4 +1,6 @@ +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package placementrule diff --git a/operators/multiclusterobservability/controllers/placementrule/role.go b/operators/multiclusterobservability/controllers/placementrule/role.go index b4219fd98..a506df5dd 100644 --- a/operators/multiclusterobservability/controllers/placementrule/role.go +++ b/operators/multiclusterobservability/controllers/placementrule/role.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package placementrule diff --git a/operators/multiclusterobservability/controllers/placementrule/role_test.go b/operators/multiclusterobservability/controllers/placementrule/role_test.go index d9b760c20..c1afe8817 100644 --- a/operators/multiclusterobservability/controllers/placementrule/role_test.go +++ b/operators/multiclusterobservability/controllers/placementrule/role_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package placementrule diff --git a/operators/multiclusterobservability/controllers/placementrule/status.go b/operators/multiclusterobservability/controllers/placementrule/status.go index 7d41222f0..a8efda6a9 100644 --- a/operators/multiclusterobservability/controllers/placementrule/status.go +++ b/operators/multiclusterobservability/controllers/placementrule/status.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package placementrule diff --git a/operators/multiclusterobservability/controllers/placementrule/status_test.go b/operators/multiclusterobservability/controllers/placementrule/status_test.go index 4db113e0b..dad5bf919 100644 --- a/operators/multiclusterobservability/controllers/placementrule/status_test.go +++ b/operators/multiclusterobservability/controllers/placementrule/status_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package placementrule diff --git a/operators/multiclusterobservability/main.go b/operators/multiclusterobservability/main.go index 262517de5..423e89cfd 100644 --- a/operators/multiclusterobservability/main.go +++ b/operators/multiclusterobservability/main.go @@ -1,20 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project -/* -Copyright 2021. - -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. -*/ +// Licensed under the Apache License 2.0 package main diff --git a/operators/multiclusterobservability/pkg/certificates/approver.go b/operators/multiclusterobservability/pkg/certificates/approver.go index 31efe88c5..14c833569 100644 --- a/operators/multiclusterobservability/pkg/certificates/approver.go +++ b/operators/multiclusterobservability/pkg/certificates/approver.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package certificates diff --git a/operators/multiclusterobservability/pkg/certificates/approver_test.go b/operators/multiclusterobservability/pkg/certificates/approver_test.go index ebf667cb1..caf4d6807 100644 --- a/operators/multiclusterobservability/pkg/certificates/approver_test.go +++ b/operators/multiclusterobservability/pkg/certificates/approver_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package certificates diff --git a/operators/multiclusterobservability/pkg/certificates/cert_agent.go b/operators/multiclusterobservability/pkg/certificates/cert_agent.go index a3b314002..258632762 100644 --- a/operators/multiclusterobservability/pkg/certificates/cert_agent.go +++ b/operators/multiclusterobservability/pkg/certificates/cert_agent.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package certificates diff --git a/operators/multiclusterobservability/pkg/certificates/cert_agent_test.go b/operators/multiclusterobservability/pkg/certificates/cert_agent_test.go index 39339d461..99b2f3125 100644 --- a/operators/multiclusterobservability/pkg/certificates/cert_agent_test.go +++ b/operators/multiclusterobservability/pkg/certificates/cert_agent_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package certificates diff --git a/operators/multiclusterobservability/pkg/certificates/cert_controller.go b/operators/multiclusterobservability/pkg/certificates/cert_controller.go index 403217515..b09a8f445 100644 --- a/operators/multiclusterobservability/pkg/certificates/cert_controller.go +++ b/operators/multiclusterobservability/pkg/certificates/cert_controller.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package certificates diff --git a/operators/multiclusterobservability/pkg/certificates/cert_controller_test.go b/operators/multiclusterobservability/pkg/certificates/cert_controller_test.go index fb076ffca..411f1670a 100644 --- a/operators/multiclusterobservability/pkg/certificates/cert_controller_test.go +++ b/operators/multiclusterobservability/pkg/certificates/cert_controller_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package certificates diff --git a/operators/multiclusterobservability/pkg/certificates/certificates.go b/operators/multiclusterobservability/pkg/certificates/certificates.go index 1ea200d67..4bcb0fad3 100644 --- a/operators/multiclusterobservability/pkg/certificates/certificates.go +++ b/operators/multiclusterobservability/pkg/certificates/certificates.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package certificates diff --git a/operators/multiclusterobservability/pkg/certificates/certificates_test.go b/operators/multiclusterobservability/pkg/certificates/certificates_test.go index 9c27295d2..d7650f039 100644 --- a/operators/multiclusterobservability/pkg/certificates/certificates_test.go +++ b/operators/multiclusterobservability/pkg/certificates/certificates_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package certificates diff --git a/operators/multiclusterobservability/pkg/certificates/signer.go b/operators/multiclusterobservability/pkg/certificates/signer.go index 16318605f..881dcd107 100644 --- a/operators/multiclusterobservability/pkg/certificates/signer.go +++ b/operators/multiclusterobservability/pkg/certificates/signer.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package certificates diff --git a/operators/multiclusterobservability/pkg/certificates/signer_test.go b/operators/multiclusterobservability/pkg/certificates/signer_test.go index d20b476df..9fcfd57d7 100644 --- a/operators/multiclusterobservability/pkg/certificates/signer_test.go +++ b/operators/multiclusterobservability/pkg/certificates/signer_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package certificates diff --git a/operators/multiclusterobservability/pkg/config/azure_conf.go b/operators/multiclusterobservability/pkg/config/azure_conf.go index 3d8f4bde1..feaf4c955 100644 --- a/operators/multiclusterobservability/pkg/config/azure_conf.go +++ b/operators/multiclusterobservability/pkg/config/azure_conf.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package config diff --git a/operators/multiclusterobservability/pkg/config/config.go b/operators/multiclusterobservability/pkg/config/config.go index 0e0199a47..7f9efe9da 100644 --- a/operators/multiclusterobservability/pkg/config/config.go +++ b/operators/multiclusterobservability/pkg/config/config.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package config diff --git a/operators/multiclusterobservability/pkg/config/config_test.go b/operators/multiclusterobservability/pkg/config/config_test.go index 3ff34ade6..cf4318652 100644 --- a/operators/multiclusterobservability/pkg/config/config_test.go +++ b/operators/multiclusterobservability/pkg/config/config_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package config diff --git a/operators/multiclusterobservability/pkg/config/gcs_conf.go b/operators/multiclusterobservability/pkg/config/gcs_conf.go index e43e4caef..2394e136d 100644 --- a/operators/multiclusterobservability/pkg/config/gcs_conf.go +++ b/operators/multiclusterobservability/pkg/config/gcs_conf.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package config diff --git a/operators/multiclusterobservability/pkg/config/obj_storage_conf.go b/operators/multiclusterobservability/pkg/config/obj_storage_conf.go index 2831d5c2c..946e39f43 100644 --- a/operators/multiclusterobservability/pkg/config/obj_storage_conf.go +++ b/operators/multiclusterobservability/pkg/config/obj_storage_conf.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package config diff --git a/operators/multiclusterobservability/pkg/config/obj_storage_conf_test.go b/operators/multiclusterobservability/pkg/config/obj_storage_conf_test.go index 2cb7410f2..af6f4feb1 100644 --- a/operators/multiclusterobservability/pkg/config/obj_storage_conf_test.go +++ b/operators/multiclusterobservability/pkg/config/obj_storage_conf_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package config diff --git a/operators/multiclusterobservability/pkg/config/s3_conf.go b/operators/multiclusterobservability/pkg/config/s3_conf.go index 446cd0404..c4d8ca684 100644 --- a/operators/multiclusterobservability/pkg/config/s3_conf.go +++ b/operators/multiclusterobservability/pkg/config/s3_conf.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package config diff --git a/operators/multiclusterobservability/pkg/rendering/renderer.go b/operators/multiclusterobservability/pkg/rendering/renderer.go index bdd90c593..2343532af 100644 --- a/operators/multiclusterobservability/pkg/rendering/renderer.go +++ b/operators/multiclusterobservability/pkg/rendering/renderer.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package rendering diff --git a/operators/multiclusterobservability/pkg/rendering/renderer_alertmanager.go b/operators/multiclusterobservability/pkg/rendering/renderer_alertmanager.go index d65e0e55a..66747b5cf 100644 --- a/operators/multiclusterobservability/pkg/rendering/renderer_alertmanager.go +++ b/operators/multiclusterobservability/pkg/rendering/renderer_alertmanager.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package rendering diff --git a/operators/multiclusterobservability/pkg/rendering/renderer_grafana.go b/operators/multiclusterobservability/pkg/rendering/renderer_grafana.go index f9293b7c3..62dd385a6 100644 --- a/operators/multiclusterobservability/pkg/rendering/renderer_grafana.go +++ b/operators/multiclusterobservability/pkg/rendering/renderer_grafana.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package rendering diff --git a/operators/multiclusterobservability/pkg/rendering/renderer_proxy.go b/operators/multiclusterobservability/pkg/rendering/renderer_proxy.go index 8a5341df4..9e3e37af3 100644 --- a/operators/multiclusterobservability/pkg/rendering/renderer_proxy.go +++ b/operators/multiclusterobservability/pkg/rendering/renderer_proxy.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package rendering diff --git a/operators/multiclusterobservability/pkg/rendering/renderer_test.go b/operators/multiclusterobservability/pkg/rendering/renderer_test.go index 731a906ec..57cfe5796 100644 --- a/operators/multiclusterobservability/pkg/rendering/renderer_test.go +++ b/operators/multiclusterobservability/pkg/rendering/renderer_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package rendering diff --git a/operators/multiclusterobservability/pkg/rendering/renderer_thanos.go b/operators/multiclusterobservability/pkg/rendering/renderer_thanos.go index a564a8fc2..383b1ea83 100644 --- a/operators/multiclusterobservability/pkg/rendering/renderer_thanos.go +++ b/operators/multiclusterobservability/pkg/rendering/renderer_thanos.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package rendering diff --git a/operators/multiclusterobservability/pkg/rendering/templates/templates.go b/operators/multiclusterobservability/pkg/rendering/templates/templates.go index dc4e727ac..525949633 100644 --- a/operators/multiclusterobservability/pkg/rendering/templates/templates.go +++ b/operators/multiclusterobservability/pkg/rendering/templates/templates.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package templates diff --git a/operators/multiclusterobservability/pkg/rendering/templates/templates_test.go b/operators/multiclusterobservability/pkg/rendering/templates/templates_test.go index c75d05aa4..8755c4867 100644 --- a/operators/multiclusterobservability/pkg/rendering/templates/templates_test.go +++ b/operators/multiclusterobservability/pkg/rendering/templates/templates_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package templates diff --git a/operators/multiclusterobservability/pkg/servicemonitor/sm_controller.go b/operators/multiclusterobservability/pkg/servicemonitor/sm_controller.go index 407724c50..a587c005a 100644 --- a/operators/multiclusterobservability/pkg/servicemonitor/sm_controller.go +++ b/operators/multiclusterobservability/pkg/servicemonitor/sm_controller.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package servicemonitor diff --git a/operators/multiclusterobservability/pkg/servicemonitor/sm_controller_test.go b/operators/multiclusterobservability/pkg/servicemonitor/sm_controller_test.go index f7376a9ef..3589f895e 100644 --- a/operators/multiclusterobservability/pkg/servicemonitor/sm_controller_test.go +++ b/operators/multiclusterobservability/pkg/servicemonitor/sm_controller_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package servicemonitor diff --git a/operators/multiclusterobservability/pkg/util/backuputil.go b/operators/multiclusterobservability/pkg/util/backuputil.go index 6df79ca08..8451c6b7b 100644 --- a/operators/multiclusterobservability/pkg/util/backuputil.go +++ b/operators/multiclusterobservability/pkg/util/backuputil.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package util diff --git a/operators/multiclusterobservability/pkg/util/clustermanagementaddon.go b/operators/multiclusterobservability/pkg/util/clustermanagementaddon.go index 4fbaded5c..20bd844a3 100644 --- a/operators/multiclusterobservability/pkg/util/clustermanagementaddon.go +++ b/operators/multiclusterobservability/pkg/util/clustermanagementaddon.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package util diff --git a/operators/multiclusterobservability/pkg/util/clustermanagementaddon_test.go b/operators/multiclusterobservability/pkg/util/clustermanagementaddon_test.go index e68caf757..690ff78a6 100644 --- a/operators/multiclusterobservability/pkg/util/clustermanagementaddon_test.go +++ b/operators/multiclusterobservability/pkg/util/clustermanagementaddon_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package util diff --git a/operators/multiclusterobservability/pkg/util/managedclusteraddon.go b/operators/multiclusterobservability/pkg/util/managedclusteraddon.go index 9cc66473e..462fc690d 100644 --- a/operators/multiclusterobservability/pkg/util/managedclusteraddon.go +++ b/operators/multiclusterobservability/pkg/util/managedclusteraddon.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package util diff --git a/operators/multiclusterobservability/pkg/util/managedclusteraddon_test.go b/operators/multiclusterobservability/pkg/util/managedclusteraddon_test.go index c53786f61..979ef7d43 100644 --- a/operators/multiclusterobservability/pkg/util/managedclusteraddon_test.go +++ b/operators/multiclusterobservability/pkg/util/managedclusteraddon_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package util diff --git a/operators/multiclusterobservability/pkg/util/remotewriteendpoint.go b/operators/multiclusterobservability/pkg/util/remotewriteendpoint.go index c77ab7b03..221391705 100644 --- a/operators/multiclusterobservability/pkg/util/remotewriteendpoint.go +++ b/operators/multiclusterobservability/pkg/util/remotewriteendpoint.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package util import ( diff --git a/operators/multiclusterobservability/pkg/util/remotewriteendpoint_test.go b/operators/multiclusterobservability/pkg/util/remotewriteendpoint_test.go index b137dbe29..dc28d7c76 100644 --- a/operators/multiclusterobservability/pkg/util/remotewriteendpoint_test.go +++ b/operators/multiclusterobservability/pkg/util/remotewriteendpoint_test.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package util import ( diff --git a/operators/multiclusterobservability/pkg/webhook/webhook_controller.go b/operators/multiclusterobservability/pkg/webhook/webhook_controller.go index cf151a710..02dfd225a 100644 --- a/operators/multiclusterobservability/pkg/webhook/webhook_controller.go +++ b/operators/multiclusterobservability/pkg/webhook/webhook_controller.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package webhook diff --git a/operators/multiclusterobservability/pkg/webhook/webhook_controller_test.go b/operators/multiclusterobservability/pkg/webhook/webhook_controller_test.go index 5d38b0e48..eef7bbd0a 100644 --- a/operators/multiclusterobservability/pkg/webhook/webhook_controller_test.go +++ b/operators/multiclusterobservability/pkg/webhook/webhook_controller_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package webhook diff --git a/operators/pkg/config/config.go b/operators/pkg/config/config.go index 58e9a3aa6..4f3bba25b 100644 --- a/operators/pkg/config/config.go +++ b/operators/pkg/config/config.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package config diff --git a/operators/pkg/config/types.go b/operators/pkg/config/types.go index e4feaf48d..a2ca1cdc0 100644 --- a/operators/pkg/config/types.go +++ b/operators/pkg/config/types.go @@ -1,5 +1,6 @@ -// Copyright (c) 2022 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package config diff --git a/operators/pkg/deploying/deployer.go b/operators/pkg/deploying/deployer.go index 13d3cac04..6c8bfc6f1 100644 --- a/operators/pkg/deploying/deployer.go +++ b/operators/pkg/deploying/deployer.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package deploying diff --git a/operators/pkg/deploying/deployer_test.go b/operators/pkg/deploying/deployer_test.go index c90bf1090..b59bc4e08 100644 --- a/operators/pkg/deploying/deployer_test.go +++ b/operators/pkg/deploying/deployer_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package deploying diff --git a/operators/pkg/rendering/patching/patcher.go b/operators/pkg/rendering/patching/patcher.go index 7137799f0..d5e4e5caf 100644 --- a/operators/pkg/rendering/patching/patcher.go +++ b/operators/pkg/rendering/patching/patcher.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package patching diff --git a/operators/pkg/rendering/patching/patcher_test.go b/operators/pkg/rendering/patching/patcher_test.go index 99ff88a6a..9061dfdd2 100644 --- a/operators/pkg/rendering/patching/patcher_test.go +++ b/operators/pkg/rendering/patching/patcher_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package patching diff --git a/operators/pkg/rendering/renderer.go b/operators/pkg/rendering/renderer.go index 7ffa15c83..18f37343e 100644 --- a/operators/pkg/rendering/renderer.go +++ b/operators/pkg/rendering/renderer.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package rendering diff --git a/operators/pkg/rendering/templates/templates.go b/operators/pkg/rendering/templates/templates.go index 4b71e24e8..11ce4b595 100644 --- a/operators/pkg/rendering/templates/templates.go +++ b/operators/pkg/rendering/templates/templates.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package templates diff --git a/operators/pkg/util/allowlist.go b/operators/pkg/util/allowlist.go index 544fc18ea..a3d844b9d 100644 --- a/operators/pkg/util/allowlist.go +++ b/operators/pkg/util/allowlist.go @@ -1,5 +1,6 @@ -// Copyright (c) 2022 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package util diff --git a/operators/pkg/util/allowlist_test.go b/operators/pkg/util/allowlist_test.go index 95098580a..6d90da12a 100644 --- a/operators/pkg/util/allowlist_test.go +++ b/operators/pkg/util/allowlist_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2022 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package util diff --git a/operators/pkg/util/client.go b/operators/pkg/util/client.go index 761884ee8..07f38470f 100644 --- a/operators/pkg/util/client.go +++ b/operators/pkg/util/client.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package util diff --git a/operators/pkg/util/client_test.go b/operators/pkg/util/client_test.go index a8a9f1736..994712c47 100644 --- a/operators/pkg/util/client_test.go +++ b/operators/pkg/util/client_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2022 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package util diff --git a/operators/pkg/util/obj_compare.go b/operators/pkg/util/obj_compare.go index 07076c810..0d16bd0fc 100644 --- a/operators/pkg/util/obj_compare.go +++ b/operators/pkg/util/obj_compare.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package util diff --git a/operators/pkg/util/obj_compare_test.go b/operators/pkg/util/obj_compare_test.go index d649eeb67..84a7fbfe7 100644 --- a/operators/pkg/util/obj_compare_test.go +++ b/operators/pkg/util/obj_compare_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package util diff --git a/operators/pkg/util/util.go b/operators/pkg/util/util.go index 70e215be8..23dde5c7c 100644 --- a/operators/pkg/util/util.go +++ b/operators/pkg/util/util.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package util diff --git a/operators/pkg/util/util_test.go b/operators/pkg/util/util_test.go index 3511273f3..a4d44c3d7 100644 --- a/operators/pkg/util/util_test.go +++ b/operators/pkg/util/util_test.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package util import ( diff --git a/proxy/cmd/main.go b/proxy/cmd/main.go index caabe50b2..0e8c58a80 100644 --- a/proxy/cmd/main.go +++ b/proxy/cmd/main.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package main diff --git a/proxy/pkg/config/config.go b/proxy/pkg/config/config.go index 79991ffe6..bdc3cfd62 100644 --- a/proxy/pkg/config/config.go +++ b/proxy/pkg/config/config.go @@ -1,5 +1,6 @@ -// Copyright (c) 2022 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package config diff --git a/proxy/pkg/config/config_test.go b/proxy/pkg/config/config_test.go index 3baa23c80..548eb67b5 100644 --- a/proxy/pkg/config/config_test.go +++ b/proxy/pkg/config/config_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2022 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package config diff --git a/proxy/pkg/config/types.go b/proxy/pkg/config/types.go index 962d7eb20..2a97905a8 100644 --- a/proxy/pkg/config/types.go +++ b/proxy/pkg/config/types.go @@ -1,5 +1,6 @@ -// Copyright (c) 2022 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package config diff --git a/proxy/pkg/proxy/proxy.go b/proxy/pkg/proxy/proxy.go index d9a7920e5..d6799f013 100644 --- a/proxy/pkg/proxy/proxy.go +++ b/proxy/pkg/proxy/proxy.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package proxy diff --git a/proxy/pkg/proxy/proxy_test.go b/proxy/pkg/proxy/proxy_test.go index 5d3b1514d..0867cf462 100644 --- a/proxy/pkg/proxy/proxy_test.go +++ b/proxy/pkg/proxy/proxy_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package proxy diff --git a/proxy/pkg/proxy/tls.go b/proxy/pkg/proxy/tls.go index 1c835bcd1..ddf3afcdd 100644 --- a/proxy/pkg/proxy/tls.go +++ b/proxy/pkg/proxy/tls.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package proxy diff --git a/proxy/pkg/rewrite/rewrite.go b/proxy/pkg/rewrite/rewrite.go index de5d1bca4..7d1f9e0c0 100644 --- a/proxy/pkg/rewrite/rewrite.go +++ b/proxy/pkg/rewrite/rewrite.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package rewrite diff --git a/proxy/pkg/rewrite/rewrite_test.go b/proxy/pkg/rewrite/rewrite_test.go index 7d687536f..529dcfeb3 100644 --- a/proxy/pkg/rewrite/rewrite_test.go +++ b/proxy/pkg/rewrite/rewrite_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package rewrite diff --git a/proxy/pkg/util/user_project.go b/proxy/pkg/util/user_project.go index d1200006a..9a3be1794 100644 --- a/proxy/pkg/util/user_project.go +++ b/proxy/pkg/util/user_project.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package util diff --git a/proxy/pkg/util/user_project_test.go b/proxy/pkg/util/user_project_test.go index 255cb5924..529b2e85c 100644 --- a/proxy/pkg/util/user_project_test.go +++ b/proxy/pkg/util/user_project_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package util diff --git a/proxy/pkg/util/util.go b/proxy/pkg/util/util.go index 3c2de8322..757832b48 100644 --- a/proxy/pkg/util/util.go +++ b/proxy/pkg/util/util.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package util diff --git a/proxy/pkg/util/util_test.go b/proxy/pkg/util/util_test.go index fead740f8..0559df799 100644 --- a/proxy/pkg/util/util_test.go +++ b/proxy/pkg/util/util_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package util diff --git a/scripts/copyright/copyright.go b/scripts/copyright/copyright.go index 9ff4d7a39..a6a327d66 100644 --- a/scripts/copyright/copyright.go +++ b/scripts/copyright/copyright.go @@ -18,7 +18,7 @@ var ( stolostron copyright = []byte(`// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project // Licensed under the Apache License 2.0 - + `) ) diff --git a/tests/pkg/kustomize/render.go b/tests/pkg/kustomize/render.go index 56041e20b..a21df30fc 100644 --- a/tests/pkg/kustomize/render.go +++ b/tests/pkg/kustomize/render.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package kustomize diff --git a/tests/pkg/kustomize/render_test.go b/tests/pkg/kustomize/render_test.go index 94d643005..5734c474e 100644 --- a/tests/pkg/kustomize/render_test.go +++ b/tests/pkg/kustomize/render_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package kustomize diff --git a/tests/pkg/tests/observability-e2e-test_suite_test.go b/tests/pkg/tests/observability-e2e-test_suite_test.go index 3fd81b70d..b8ec5f1a0 100644 --- a/tests/pkg/tests/observability-e2e-test_suite_test.go +++ b/tests/pkg/tests/observability-e2e-test_suite_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package tests diff --git a/tests/pkg/tests/observability_addon_test.go b/tests/pkg/tests/observability_addon_test.go index a3efbe967..8af1950ed 100644 --- a/tests/pkg/tests/observability_addon_test.go +++ b/tests/pkg/tests/observability_addon_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package tests diff --git a/tests/pkg/tests/observability_alert_test.go b/tests/pkg/tests/observability_alert_test.go index 1f1cd94bb..a25df77e5 100644 --- a/tests/pkg/tests/observability_alert_test.go +++ b/tests/pkg/tests/observability_alert_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package tests diff --git a/tests/pkg/tests/observability_certrenew_test.go b/tests/pkg/tests/observability_certrenew_test.go index b712e3fc3..f60f83ff6 100644 --- a/tests/pkg/tests/observability_certrenew_test.go +++ b/tests/pkg/tests/observability_certrenew_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package tests diff --git a/tests/pkg/tests/observability_config_test.go b/tests/pkg/tests/observability_config_test.go index 7a74316a2..00b63d9ec 100644 --- a/tests/pkg/tests/observability_config_test.go +++ b/tests/pkg/tests/observability_config_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package tests diff --git a/tests/pkg/tests/observability_dashboard_test.go b/tests/pkg/tests/observability_dashboard_test.go index da0b3386d..80cd3417e 100644 --- a/tests/pkg/tests/observability_dashboard_test.go +++ b/tests/pkg/tests/observability_dashboard_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package tests diff --git a/tests/pkg/tests/observability_endpoint_preserve_test.go b/tests/pkg/tests/observability_endpoint_preserve_test.go index 8f0a1e4b7..3678a9519 100644 --- a/tests/pkg/tests/observability_endpoint_preserve_test.go +++ b/tests/pkg/tests/observability_endpoint_preserve_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package tests diff --git a/tests/pkg/tests/observability_export_test.go b/tests/pkg/tests/observability_export_test.go index df3f7dfc1..43966bad3 100644 --- a/tests/pkg/tests/observability_export_test.go +++ b/tests/pkg/tests/observability_export_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package tests diff --git a/tests/pkg/tests/observability_grafana_dev_test.go b/tests/pkg/tests/observability_grafana_dev_test.go index 0afa36af5..09ed3da07 100644 --- a/tests/pkg/tests/observability_grafana_dev_test.go +++ b/tests/pkg/tests/observability_grafana_dev_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package tests diff --git a/tests/pkg/tests/observability_grafana_test.go b/tests/pkg/tests/observability_grafana_test.go index 49485d82b..818656160 100644 --- a/tests/pkg/tests/observability_grafana_test.go +++ b/tests/pkg/tests/observability_grafana_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package tests diff --git a/tests/pkg/tests/observability_install_test.go b/tests/pkg/tests/observability_install_test.go index d65a5a85e..8cc2413b9 100644 --- a/tests/pkg/tests/observability_install_test.go +++ b/tests/pkg/tests/observability_install_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package tests diff --git a/tests/pkg/tests/observability_manifestwork_test.go b/tests/pkg/tests/observability_manifestwork_test.go index bad972e47..220a96691 100644 --- a/tests/pkg/tests/observability_manifestwork_test.go +++ b/tests/pkg/tests/observability_manifestwork_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package tests diff --git a/tests/pkg/tests/observability_metrics_test.go b/tests/pkg/tests/observability_metrics_test.go index 8a4283bba..6e6ed9c38 100644 --- a/tests/pkg/tests/observability_metrics_test.go +++ b/tests/pkg/tests/observability_metrics_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package tests diff --git a/tests/pkg/tests/observability_observatorium_preserve_test.go b/tests/pkg/tests/observability_observatorium_preserve_test.go index fb213c378..d2786f420 100644 --- a/tests/pkg/tests/observability_observatorium_preserve_test.go +++ b/tests/pkg/tests/observability_observatorium_preserve_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package tests diff --git a/tests/pkg/tests/observability_reconcile_test.go b/tests/pkg/tests/observability_reconcile_test.go index d80f29bc9..8ed55bac4 100644 --- a/tests/pkg/tests/observability_reconcile_test.go +++ b/tests/pkg/tests/observability_reconcile_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package tests diff --git a/tests/pkg/tests/observability_retention_test.go b/tests/pkg/tests/observability_retention_test.go index ee7975281..66b207cf0 100644 --- a/tests/pkg/tests/observability_retention_test.go +++ b/tests/pkg/tests/observability_retention_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package tests diff --git a/tests/pkg/tests/observability_route_test.go b/tests/pkg/tests/observability_route_test.go index 9c122576b..37c5099f5 100644 --- a/tests/pkg/tests/observability_route_test.go +++ b/tests/pkg/tests/observability_route_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package tests diff --git a/tests/pkg/tests/observability_uninstall_test.go b/tests/pkg/tests/observability_uninstall_test.go index 831da0f3c..5dbb86f8f 100644 --- a/tests/pkg/tests/observability_uninstall_test.go +++ b/tests/pkg/tests/observability_uninstall_test.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package tests diff --git a/tests/pkg/utils/client.go b/tests/pkg/utils/client.go index 322ba71d3..2891387f0 100644 --- a/tests/pkg/utils/client.go +++ b/tests/pkg/utils/client.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package utils diff --git a/tests/pkg/utils/cluster_deploy.go b/tests/pkg/utils/cluster_deploy.go index 9d51b8cd0..c16ecf2a3 100644 --- a/tests/pkg/utils/cluster_deploy.go +++ b/tests/pkg/utils/cluster_deploy.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package utils diff --git a/tests/pkg/utils/install_config.go b/tests/pkg/utils/install_config.go index a70e0c01c..298fefde5 100644 --- a/tests/pkg/utils/install_config.go +++ b/tests/pkg/utils/install_config.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package utils diff --git a/tests/pkg/utils/mco_cert_secret.go b/tests/pkg/utils/mco_cert_secret.go index 09d22e8b1..a7eb0f81f 100644 --- a/tests/pkg/utils/mco_cert_secret.go +++ b/tests/pkg/utils/mco_cert_secret.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package utils diff --git a/tests/pkg/utils/mco_clusterrolebinding.go b/tests/pkg/utils/mco_clusterrolebinding.go index b491c3a63..196520c1b 100644 --- a/tests/pkg/utils/mco_clusterrolebinding.go +++ b/tests/pkg/utils/mco_clusterrolebinding.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package utils diff --git a/tests/pkg/utils/mco_configmaps.go b/tests/pkg/utils/mco_configmaps.go index be2102cc4..cb47c2b9e 100644 --- a/tests/pkg/utils/mco_configmaps.go +++ b/tests/pkg/utils/mco_configmaps.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package utils diff --git a/tests/pkg/utils/mco_dashboard.go b/tests/pkg/utils/mco_dashboard.go index c3a753b2c..1c81c6d42 100644 --- a/tests/pkg/utils/mco_dashboard.go +++ b/tests/pkg/utils/mco_dashboard.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package utils diff --git a/tests/pkg/utils/mco_deploy.go b/tests/pkg/utils/mco_deploy.go index 5bc6391c4..8b04e9d79 100644 --- a/tests/pkg/utils/mco_deploy.go +++ b/tests/pkg/utils/mco_deploy.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package utils diff --git a/tests/pkg/utils/mco_deployments.go b/tests/pkg/utils/mco_deployments.go index 466d58529..fa2841d83 100644 --- a/tests/pkg/utils/mco_deployments.go +++ b/tests/pkg/utils/mco_deployments.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package utils diff --git a/tests/pkg/utils/mco_export.go b/tests/pkg/utils/mco_export.go index 4a97b74ad..c316aac16 100644 --- a/tests/pkg/utils/mco_export.go +++ b/tests/pkg/utils/mco_export.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package utils diff --git a/tests/pkg/utils/mco_grafana.go b/tests/pkg/utils/mco_grafana.go index 3dd550c0f..74d3f5b97 100644 --- a/tests/pkg/utils/mco_grafana.go +++ b/tests/pkg/utils/mco_grafana.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package utils diff --git a/tests/pkg/utils/mco_managedcluster.go b/tests/pkg/utils/mco_managedcluster.go index 75e9abe4e..a92b4e205 100644 --- a/tests/pkg/utils/mco_managedcluster.go +++ b/tests/pkg/utils/mco_managedcluster.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package utils diff --git a/tests/pkg/utils/mco_metric.go b/tests/pkg/utils/mco_metric.go index d2db02ff1..16318114c 100644 --- a/tests/pkg/utils/mco_metric.go +++ b/tests/pkg/utils/mco_metric.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package utils diff --git a/tests/pkg/utils/mco_namespace.go b/tests/pkg/utils/mco_namespace.go index 5c66aa37b..33aad8e91 100644 --- a/tests/pkg/utils/mco_namespace.go +++ b/tests/pkg/utils/mco_namespace.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package utils diff --git a/tests/pkg/utils/mco_oba.go b/tests/pkg/utils/mco_oba.go index 630295de3..75fa39166 100644 --- a/tests/pkg/utils/mco_oba.go +++ b/tests/pkg/utils/mco_oba.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package utils import ( diff --git a/tests/pkg/utils/mco_pods.go b/tests/pkg/utils/mco_pods.go index 63ce6173a..4a3d567f7 100644 --- a/tests/pkg/utils/mco_pods.go +++ b/tests/pkg/utils/mco_pods.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package utils diff --git a/tests/pkg/utils/mco_router_ca.go b/tests/pkg/utils/mco_router_ca.go index 6e8ef8d96..91a053532 100644 --- a/tests/pkg/utils/mco_router_ca.go +++ b/tests/pkg/utils/mco_router_ca.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package utils diff --git a/tests/pkg/utils/mco_sa.go b/tests/pkg/utils/mco_sa.go index fac52ef85..54a37d775 100644 --- a/tests/pkg/utils/mco_sa.go +++ b/tests/pkg/utils/mco_sa.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package utils diff --git a/tests/pkg/utils/mco_statefulset.go b/tests/pkg/utils/mco_statefulset.go index e12ae78dd..5dcbe8618 100644 --- a/tests/pkg/utils/mco_statefulset.go +++ b/tests/pkg/utils/mco_statefulset.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package utils diff --git a/tests/pkg/utils/options.go b/tests/pkg/utils/options.go index 4c7bc8578..fd7b474f7 100644 --- a/tests/pkg/utils/options.go +++ b/tests/pkg/utils/options.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package utils diff --git a/tests/pkg/utils/utils.go b/tests/pkg/utils/utils.go index 80ab93455..9dade9afa 100644 --- a/tests/pkg/utils/utils.go +++ b/tests/pkg/utils/utils.go @@ -1,5 +1,6 @@ -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 package utils diff --git a/tools/simulator/alert-forward/main.go b/tools/simulator/alert-forward/main.go index 445344e57..2805b8557 100644 --- a/tools/simulator/alert-forward/main.go +++ b/tools/simulator/alert-forward/main.go @@ -1,3 +1,7 @@ +// Copyright (c) Red Hat, Inc. +// Copyright Contributors to the Open Cluster Management project +// Licensed under the Apache License 2.0 + package main import (