diff --git a/builder/builder-2.2-istio-integ.yaml b/builder/builder-2.2-istio-integ.yaml index aae3781e..efee1e6c 100644 --- a/builder/builder-2.2-istio-integ.yaml +++ b/builder/builder-2.2-istio-integ.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: batch/v1 kind: Job metadata: diff --git a/builder/builder-2.2-istio-unit.yaml b/builder/builder-2.2-istio-unit.yaml index 547395a4..759ba345 100644 --- a/builder/builder-2.2-istio-unit.yaml +++ b/builder/builder-2.2-istio-unit.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: batch/v1 kind: Job metadata: diff --git a/images.yaml b/images.yaml index a8f4dede..188eefe2 100644 --- a/images.yaml +++ b/images.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# 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. + # This file contains all the images used in maistra-test-tool (for each architecture). bookinfo-mongodb: diff --git a/pkg/app/app.go b/pkg/app/app.go index d1c11936..4a3ff807 100644 --- a/pkg/app/app.go +++ b/pkg/app/app.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package app import ( diff --git a/pkg/app/bookinfo.go b/pkg/app/bookinfo.go index 713f5e3e..d72ebd32 100644 --- a/pkg/app/bookinfo.go +++ b/pkg/app/bookinfo.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package app import ( diff --git a/pkg/app/fortio.go b/pkg/app/fortio.go index c48f2138..a9be91ca 100644 --- a/pkg/app/fortio.go +++ b/pkg/app/fortio.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package app import ( diff --git a/pkg/app/httpbin.go b/pkg/app/httpbin.go index 0ceee7fb..1bd9fa42 100644 --- a/pkg/app/httpbin.go +++ b/pkg/app/httpbin.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package app import ( diff --git a/pkg/app/minio.go b/pkg/app/minio.go index 254c5a4d..36e8f158 100644 --- a/pkg/app/minio.go +++ b/pkg/app/minio.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package app import ( diff --git a/pkg/app/nginx.go b/pkg/app/nginx.go index a72ea70a..b15ef5e9 100644 --- a/pkg/app/nginx.go +++ b/pkg/app/nginx.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package app import ( diff --git a/pkg/app/redis.go b/pkg/app/redis.go index 193e268c..adfbafb5 100644 --- a/pkg/app/redis.go +++ b/pkg/app/redis.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package app import ( diff --git a/pkg/app/sleep.go b/pkg/app/sleep.go index 1eb2cb26..9f4d21c5 100644 --- a/pkg/app/sleep.go +++ b/pkg/app/sleep.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package app import ( diff --git a/pkg/app/yaml/bookinfo-gateway.yaml b/pkg/app/yaml/bookinfo-gateway.yaml index 3dbdb203..64ba68fd 100644 --- a/pkg/app/yaml/bookinfo-gateway.yaml +++ b/pkg/app/yaml/bookinfo-gateway.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: Gateway metadata: diff --git a/pkg/app/yaml/destination-rule-all-mtls.yaml b/pkg/app/yaml/destination-rule-all-mtls.yaml index 2a19c3fb..a804443f 100644 --- a/pkg/app/yaml/destination-rule-all-mtls.yaml +++ b/pkg/app/yaml/destination-rule-all-mtls.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: DestinationRule metadata: diff --git a/pkg/app/yaml/destination-rule-all.yaml b/pkg/app/yaml/destination-rule-all.yaml index 96be6993..524bbbcb 100644 --- a/pkg/app/yaml/destination-rule-all.yaml +++ b/pkg/app/yaml/destination-rule-all.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: DestinationRule metadata: diff --git a/pkg/app/yaml/nginx.yaml b/pkg/app/yaml/nginx.yaml index 87e27513..9ffb33c1 100644 --- a/pkg/app/yaml/nginx.yaml +++ b/pkg/app/yaml/nginx.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: v1 kind: Service metadata: diff --git a/pkg/app/yaml/virtual-service-all-v1.yaml b/pkg/app/yaml/virtual-service-all-v1.yaml index ad85644d..5a06761c 100644 --- a/pkg/app/yaml/virtual-service-all-v1.yaml +++ b/pkg/app/yaml/virtual-service-all-v1.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: diff --git a/pkg/app/yaml/virtual-service-reviews-v2.yaml b/pkg/app/yaml/virtual-service-reviews-v2.yaml index 362e40c8..266b577e 100644 --- a/pkg/app/yaml/virtual-service-reviews-v2.yaml +++ b/pkg/app/yaml/virtual-service-reviews-v2.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: diff --git a/pkg/app/yaml/virtual-service-reviews-v3.yaml b/pkg/app/yaml/virtual-service-reviews-v3.yaml index 8acc8e09..92108ca7 100644 --- a/pkg/app/yaml/virtual-service-reviews-v3.yaml +++ b/pkg/app/yaml/virtual-service-reviews-v3.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: diff --git a/pkg/certmanageroperator/install.go b/pkg/certmanageroperator/install.go index e8e39574..2af49a4b 100644 --- a/pkg/certmanageroperator/install.go +++ b/pkg/certmanageroperator/install.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package certmanageroperator import ( diff --git a/pkg/certmanageroperator/yaml/cert-manager-operator.yaml b/pkg/certmanageroperator/yaml/cert-manager-operator.yaml index ee7f22b8..44d53f38 100644 --- a/pkg/certmanageroperator/yaml/cert-manager-operator.yaml +++ b/pkg/certmanageroperator/yaml/cert-manager-operator.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: operators.coreos.com/v1 kind: OperatorGroup metadata: diff --git a/pkg/certmanageroperator/yaml/root-ca.yaml b/pkg/certmanageroperator/yaml/root-ca.yaml index 153defba..a5a1fa29 100644 --- a/pkg/certmanageroperator/yaml/root-ca.yaml +++ b/pkg/certmanageroperator/yaml/root-ca.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: cert-manager.io/v1 kind: Issuer metadata: diff --git a/pkg/metallb/install.go b/pkg/metallb/install.go index 55cd7cbd..c347e341 100644 --- a/pkg/metallb/install.go +++ b/pkg/metallb/install.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package metallb import ( diff --git a/pkg/metallb/yaml/metallb-operator.yaml b/pkg/metallb/yaml/metallb-operator.yaml index f3a6f324..ba16c2b9 100644 --- a/pkg/metallb/yaml/metallb-operator.yaml +++ b/pkg/metallb/yaml/metallb-operator.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: v1 kind: Namespace metadata: diff --git a/pkg/metallb/yaml/metallb.yaml b/pkg/metallb/yaml/metallb.yaml index 4c381069..0d8ab634 100644 --- a/pkg/metallb/yaml/metallb.yaml +++ b/pkg/metallb/yaml/metallb.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: metallb.io/v1beta1 kind: MetalLB metadata: diff --git a/pkg/tempo/install.go b/pkg/tempo/install.go index af476d16..fd668b21 100644 --- a/pkg/tempo/install.go +++ b/pkg/tempo/install.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package tempo import ( diff --git a/pkg/tempo/yaml/open-telemetry-operator.yaml b/pkg/tempo/yaml/open-telemetry-operator.yaml index fc2e5ecb..1c4bb64a 100644 --- a/pkg/tempo/yaml/open-telemetry-operator.yaml +++ b/pkg/tempo/yaml/open-telemetry-operator.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: operators.coreos.com/v1 kind: OperatorGroup metadata: diff --git a/pkg/tempo/yaml/tempo-operator.yaml b/pkg/tempo/yaml/tempo-operator.yaml index b1617973..e38d035f 100644 --- a/pkg/tempo/yaml/tempo-operator.yaml +++ b/pkg/tempo/yaml/tempo-operator.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: operators.coreos.com/v1 kind: OperatorGroup metadata: diff --git a/pkg/tempo/yaml/tempoStack.yaml b/pkg/tempo/yaml/tempoStack.yaml index 0a9758c1..49e5697b 100644 --- a/pkg/tempo/yaml/tempoStack.yaml +++ b/pkg/tempo/yaml/tempoStack.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# 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. + kind: TempoStack apiVersion: tempo.grafana.com/v1alpha1 metadata: diff --git a/pkg/tests/non-dependant/bug_multiple_smcp_test.go b/pkg/tests/non-dependant/bug_multiple_smcp_test.go index ea98e19e..17d5f1c3 100644 --- a/pkg/tests/non-dependant/bug_multiple_smcp_test.go +++ b/pkg/tests/non-dependant/bug_multiple_smcp_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package non_dependant import ( diff --git a/pkg/tests/non-dependant/main_test.go b/pkg/tests/non-dependant/main_test.go index 412d9f84..216559a5 100644 --- a/pkg/tests/non-dependant/main_test.go +++ b/pkg/tests/non-dependant/main_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package non_dependant import ( diff --git a/pkg/tests/non-dependant/olm_webhooks_test.go b/pkg/tests/non-dependant/olm_webhooks_test.go index 95b2e0a3..48b5b856 100644 --- a/pkg/tests/non-dependant/olm_webhooks_test.go +++ b/pkg/tests/non-dependant/olm_webhooks_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package non_dependant import ( diff --git a/pkg/tests/ossm-federation/main_test.go b/pkg/tests/ossm-federation/main_test.go index 6c3db4fe..f239806f 100644 --- a/pkg/tests/ossm-federation/main_test.go +++ b/pkg/tests/ossm-federation/main_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package ossm_federation import ( diff --git a/pkg/tests/ossm-federation/testdata/failover/east-mesh/configmap.yaml b/pkg/tests/ossm-federation/testdata/failover/east-mesh/configmap.yaml index a9569614..3fe68cb2 100644 --- a/pkg/tests/ossm-federation/testdata/failover/east-mesh/configmap.yaml +++ b/pkg/tests/ossm-federation/testdata/failover/east-mesh/configmap.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: v1 kind: ConfigMap metadata: diff --git a/pkg/tests/ossm-federation/testdata/failover/east-mesh/destinationrule-failover.yaml b/pkg/tests/ossm-federation/testdata/failover/east-mesh/destinationrule-failover.yaml index 4a732777..174b37b0 100644 --- a/pkg/tests/ossm-federation/testdata/failover/east-mesh/destinationrule-failover.yaml +++ b/pkg/tests/ossm-federation/testdata/failover/east-mesh/destinationrule-failover.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1beta1 kind: DestinationRule metadata: diff --git a/pkg/tests/ossm-federation/testdata/failover/east-mesh/importedserviceset.yaml b/pkg/tests/ossm-federation/testdata/failover/east-mesh/importedserviceset.yaml index dd50e428..2dc8b40f 100644 --- a/pkg/tests/ossm-federation/testdata/failover/east-mesh/importedserviceset.yaml +++ b/pkg/tests/ossm-federation/testdata/failover/east-mesh/importedserviceset.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: federation.maistra.io/v1 kind: ImportedServiceSet metadata: diff --git a/pkg/tests/ossm-federation/testdata/failover/east-mesh/mongodb-remote-virtualservice.yaml b/pkg/tests/ossm-federation/testdata/failover/east-mesh/mongodb-remote-virtualservice.yaml index e0c6a980..1cb34899 100644 --- a/pkg/tests/ossm-federation/testdata/failover/east-mesh/mongodb-remote-virtualservice.yaml +++ b/pkg/tests/ossm-federation/testdata/failover/east-mesh/mongodb-remote-virtualservice.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# 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. + # VirtualService resource that redirects the local service to the remote # services. This only works with passthrough. diff --git a/pkg/tests/ossm-federation/testdata/failover/east-mesh/mongodb-service.yaml b/pkg/tests/ossm-federation/testdata/failover/east-mesh/mongodb-service.yaml index 43f7a745..d59fd557 100644 --- a/pkg/tests/ossm-federation/testdata/failover/east-mesh/mongodb-service.yaml +++ b/pkg/tests/ossm-federation/testdata/failover/east-mesh/mongodb-service.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# 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. + # This is required, as apparently a VirtualService matching # mongodb.east-mesh-bookinfo.svc.cluster.local does not create DNS entry for routing kind: Service diff --git a/pkg/tests/ossm-federation/testdata/failover/east-mesh/ratings-split-virtualservice.yaml b/pkg/tests/ossm-federation/testdata/failover/east-mesh/ratings-split-virtualservice.yaml index 5ff07b4f..816f88dd 100644 --- a/pkg/tests/ossm-federation/testdata/failover/east-mesh/ratings-split-virtualservice.yaml +++ b/pkg/tests/ossm-federation/testdata/failover/east-mesh/ratings-split-virtualservice.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# 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. + # VirtualService resource that redirects the local service to the remote # services. This only works with passthrough. diff --git a/pkg/tests/ossm-federation/testdata/failover/east-mesh/servicemeshpeer.yaml b/pkg/tests/ossm-federation/testdata/failover/east-mesh/servicemeshpeer.yaml index 99b048ad..3fdf1bac 100644 --- a/pkg/tests/ossm-federation/testdata/failover/east-mesh/servicemeshpeer.yaml +++ b/pkg/tests/ossm-federation/testdata/failover/east-mesh/servicemeshpeer.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: federation.maistra.io/v1 kind: ServiceMeshPeer metadata: diff --git a/pkg/tests/ossm-federation/testdata/failover/east-mesh/smcp.yaml b/pkg/tests/ossm-federation/testdata/failover/east-mesh/smcp.yaml index f5c49718..9e9ade36 100644 --- a/pkg/tests/ossm-federation/testdata/failover/east-mesh/smcp.yaml +++ b/pkg/tests/ossm-federation/testdata/failover/east-mesh/smcp.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/pkg/tests/ossm-federation/testdata/failover/east-mesh/smmr.yaml b/pkg/tests/ossm-federation/testdata/failover/east-mesh/smmr.yaml index 8dba2e97..dd7d4c8b 100644 --- a/pkg/tests/ossm-federation/testdata/failover/east-mesh/smmr.yaml +++ b/pkg/tests/ossm-federation/testdata/failover/east-mesh/smmr.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v1 kind: ServiceMeshMemberRoll metadata: diff --git a/pkg/tests/ossm-federation/testdata/failover/west-mesh/authorizationpolicy-direct-to-direct.yaml b/pkg/tests/ossm-federation/testdata/failover/west-mesh/authorizationpolicy-direct-to-direct.yaml index 66fe26e2..27eec8f1 100644 --- a/pkg/tests/ossm-federation/testdata/failover/west-mesh/authorizationpolicy-direct-to-direct.yaml +++ b/pkg/tests/ossm-federation/testdata/failover/west-mesh/authorizationpolicy-direct-to-direct.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# 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. + # AuthorizationPolicy resources that apply when ingress gateway is using # AUTO_PASSTHROUGH. In these cases, the gateway does not authenticate, so # the policy cannot match against principals. Note, if proxying on the import diff --git a/pkg/tests/ossm-federation/testdata/failover/west-mesh/authorizationpolicy-direct-to-proxied.yaml b/pkg/tests/ossm-federation/testdata/failover/west-mesh/authorizationpolicy-direct-to-proxied.yaml index 36e36a37..5fcc61da 100644 --- a/pkg/tests/ossm-federation/testdata/failover/west-mesh/authorizationpolicy-direct-to-proxied.yaml +++ b/pkg/tests/ossm-federation/testdata/failover/west-mesh/authorizationpolicy-direct-to-proxied.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# 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. + # These work when using aliased services. In these cases, the gateway # performs authentication, so principals can be checked. Note, if using # passthrough on the import side, the principals should match the client diff --git a/pkg/tests/ossm-federation/testdata/failover/west-mesh/configmap.yaml b/pkg/tests/ossm-federation/testdata/failover/west-mesh/configmap.yaml index 8120c4cd..56de06cd 100644 --- a/pkg/tests/ossm-federation/testdata/failover/west-mesh/configmap.yaml +++ b/pkg/tests/ossm-federation/testdata/failover/west-mesh/configmap.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: v1 kind: ConfigMap metadata: diff --git a/pkg/tests/ossm-federation/testdata/failover/west-mesh/exportedserviceset.yaml b/pkg/tests/ossm-federation/testdata/failover/west-mesh/exportedserviceset.yaml index 622650c6..0d0dd5ea 100644 --- a/pkg/tests/ossm-federation/testdata/failover/west-mesh/exportedserviceset.yaml +++ b/pkg/tests/ossm-federation/testdata/failover/west-mesh/exportedserviceset.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: federation.maistra.io/v1 kind: ExportedServiceSet metadata: diff --git a/pkg/tests/ossm-federation/testdata/failover/west-mesh/servicemeshpeer.yaml b/pkg/tests/ossm-federation/testdata/failover/west-mesh/servicemeshpeer.yaml index 74f1b36c..2f35fe96 100644 --- a/pkg/tests/ossm-federation/testdata/failover/west-mesh/servicemeshpeer.yaml +++ b/pkg/tests/ossm-federation/testdata/failover/west-mesh/servicemeshpeer.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: federation.maistra.io/v1 kind: ServiceMeshPeer metadata: diff --git a/pkg/tests/ossm-federation/testdata/failover/west-mesh/smcp.yaml b/pkg/tests/ossm-federation/testdata/failover/west-mesh/smcp.yaml index 8b61530d..781de064 100644 --- a/pkg/tests/ossm-federation/testdata/failover/west-mesh/smcp.yaml +++ b/pkg/tests/ossm-federation/testdata/failover/west-mesh/smcp.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/pkg/tests/ossm-federation/testdata/failover/west-mesh/smmr.yaml b/pkg/tests/ossm-federation/testdata/failover/west-mesh/smmr.yaml index ba7d1de5..91ddddb4 100644 --- a/pkg/tests/ossm-federation/testdata/failover/west-mesh/smmr.yaml +++ b/pkg/tests/ossm-federation/testdata/failover/west-mesh/smmr.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v1 kind: ServiceMeshMemberRoll metadata: diff --git a/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/configmap.yaml b/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/configmap.yaml index a9569614..3fe68cb2 100644 --- a/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/configmap.yaml +++ b/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/configmap.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: v1 kind: ConfigMap metadata: diff --git a/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/importedserviceset.yaml b/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/importedserviceset.yaml index f45188ed..46c6a5b1 100644 --- a/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/importedserviceset.yaml +++ b/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/importedserviceset.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: federation.maistra.io/v1 kind: ImportedServiceSet metadata: diff --git a/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/mongodb-remote-virtualservice.yaml b/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/mongodb-remote-virtualservice.yaml index d71f5ded..701d6b32 100644 --- a/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/mongodb-remote-virtualservice.yaml +++ b/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/mongodb-remote-virtualservice.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# 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. + # VirtualService resource that redirects the local service to the remote # services. This only works with passthrough. diff --git a/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/mongodb-service.yaml b/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/mongodb-service.yaml index 11a3788b..7938caa6 100644 --- a/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/mongodb-service.yaml +++ b/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/mongodb-service.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# 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. + # This is required, as apparently a VirtualService matching # mongodb.east-mesh-bookinfo.svc.cluster.local does not create DNS entry for routing kind: Service diff --git a/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/ratings-split-virtualservice.yaml b/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/ratings-split-virtualservice.yaml index 341e9e29..158fff5c 100644 --- a/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/ratings-split-virtualservice.yaml +++ b/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/ratings-split-virtualservice.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# 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. + # VirtualService resource that redirects the local service to the remote # services. This only works with passthrough. diff --git a/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/servicemeshpeer.yaml b/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/servicemeshpeer.yaml index 99b048ad..3fdf1bac 100644 --- a/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/servicemeshpeer.yaml +++ b/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/servicemeshpeer.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: federation.maistra.io/v1 kind: ServiceMeshPeer metadata: diff --git a/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/smcp.yaml b/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/smcp.yaml index 10b1b7b1..efb5eaa8 100644 --- a/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/smcp.yaml +++ b/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/smcp.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/smmr.yaml b/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/smmr.yaml index 88349083..87642c4b 100644 --- a/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/smmr.yaml +++ b/pkg/tests/ossm-federation/testdata/traffic-splitting/east-mesh/smmr.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v1 kind: ServiceMeshMemberRoll metadata: diff --git a/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/authorizationpolicy-direct-to-direct.yaml b/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/authorizationpolicy-direct-to-direct.yaml index 66fe26e2..27eec8f1 100644 --- a/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/authorizationpolicy-direct-to-direct.yaml +++ b/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/authorizationpolicy-direct-to-direct.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# 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. + # AuthorizationPolicy resources that apply when ingress gateway is using # AUTO_PASSTHROUGH. In these cases, the gateway does not authenticate, so # the policy cannot match against principals. Note, if proxying on the import diff --git a/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/authorizationpolicy-direct-to-proxied.yaml b/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/authorizationpolicy-direct-to-proxied.yaml index 36e36a37..5fcc61da 100644 --- a/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/authorizationpolicy-direct-to-proxied.yaml +++ b/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/authorizationpolicy-direct-to-proxied.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# 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. + # These work when using aliased services. In these cases, the gateway # performs authentication, so principals can be checked. Note, if using # passthrough on the import side, the principals should match the client diff --git a/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/configmap.yaml b/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/configmap.yaml index 8120c4cd..56de06cd 100644 --- a/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/configmap.yaml +++ b/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/configmap.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: v1 kind: ConfigMap metadata: diff --git a/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/exportedserviceset.yaml b/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/exportedserviceset.yaml index d28cbc94..fc576c3d 100644 --- a/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/exportedserviceset.yaml +++ b/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/exportedserviceset.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: federation.maistra.io/v1 kind: ExportedServiceSet metadata: diff --git a/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/servicemeshpeer.yaml b/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/servicemeshpeer.yaml index 74f1b36c..2f35fe96 100644 --- a/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/servicemeshpeer.yaml +++ b/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/servicemeshpeer.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: federation.maistra.io/v1 kind: ServiceMeshPeer metadata: diff --git a/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/smcp.yaml b/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/smcp.yaml index fae3d790..d50cdd9b 100644 --- a/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/smcp.yaml +++ b/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/smcp.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/smcp_custom_cert.yaml b/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/smcp_custom_cert.yaml index d6b5dabe..b6eafd56 100644 --- a/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/smcp_custom_cert.yaml +++ b/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/smcp_custom_cert.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/smmr.yaml b/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/smmr.yaml index f0b81e97..73c7069d 100644 --- a/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/smmr.yaml +++ b/pkg/tests/ossm-federation/testdata/traffic-splitting/west-mesh/smmr.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v1 kind: ServiceMeshMemberRoll metadata: diff --git a/pkg/tests/ossm/ior_test.go b/pkg/tests/ossm/ior_test.go index a23c5c66..733c957a 100644 --- a/pkg/tests/ossm/ior_test.go +++ b/pkg/tests/ossm/ior_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package ossm import ( diff --git a/pkg/tests/ossm/main_test.go b/pkg/tests/ossm/main_test.go index 1f2d9a69..9ad557c7 100644 --- a/pkg/tests/ossm/main_test.go +++ b/pkg/tests/ossm/main_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package ossm import ( diff --git a/pkg/tests/ossm/operator/clusterwide_mode_test.go b/pkg/tests/ossm/operator/clusterwide_mode_test.go index 7f0d6e89..557bc7e1 100644 --- a/pkg/tests/ossm/operator/clusterwide_mode_test.go +++ b/pkg/tests/ossm/operator/clusterwide_mode_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package operator import ( diff --git a/pkg/tests/ossm/operator/main_test.go b/pkg/tests/ossm/operator/main_test.go index f3784b62..8a9a62ac 100644 --- a/pkg/tests/ossm/operator/main_test.go +++ b/pkg/tests/ossm/operator/main_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package operator import ( diff --git a/pkg/tests/ossm/operator/operator_deadlock_test.go b/pkg/tests/ossm/operator/operator_deadlock_test.go index ae2ef8f7..29e7c3fd 100644 --- a/pkg/tests/ossm/operator/operator_deadlock_test.go +++ b/pkg/tests/ossm/operator/operator_deadlock_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package operator import ( diff --git a/pkg/tests/ossm/operator/operator_readiness_test.go b/pkg/tests/ossm/operator/operator_readiness_test.go index 0686197f..15bb0ae0 100644 --- a/pkg/tests/ossm/operator/operator_readiness_test.go +++ b/pkg/tests/ossm/operator/operator_readiness_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package operator import ( diff --git a/pkg/tests/ossm/prometheus_scoped_scraping_test.go b/pkg/tests/ossm/prometheus_scoped_scraping_test.go index f015fc9b..490da2de 100644 --- a/pkg/tests/ossm/prometheus_scoped_scraping_test.go +++ b/pkg/tests/ossm/prometheus_scoped_scraping_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package ossm import ( diff --git a/pkg/tests/ossm/route_prevent_additional_ingress_test.go b/pkg/tests/ossm/route_prevent_additional_ingress_test.go index def71311..d775de0a 100644 --- a/pkg/tests/ossm/route_prevent_additional_ingress_test.go +++ b/pkg/tests/ossm/route_prevent_additional_ingress_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package ossm import ( diff --git a/pkg/tests/ossm/setup.go b/pkg/tests/ossm/setup.go index d0948208..ce18f6ce 100644 --- a/pkg/tests/ossm/setup.go +++ b/pkg/tests/ossm/setup.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package ossm import ( diff --git a/pkg/tests/ossm/smm_test.go b/pkg/tests/ossm/smm_test.go index f26aeb69..8e9d2902 100644 --- a/pkg/tests/ossm/smm_test.go +++ b/pkg/tests/ossm/smm_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package ossm import ( diff --git a/pkg/tests/ossm/yaml/catalogsource-maistra.yaml b/pkg/tests/ossm/yaml/catalogsource-maistra.yaml index 7c4314c0..4c9cf982 100644 --- a/pkg/tests/ossm/yaml/catalogsource-maistra.yaml +++ b/pkg/tests/ossm/yaml/catalogsource-maistra.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: operators.coreos.com/v1alpha1 kind: CatalogSource metadata: diff --git a/pkg/tests/ossm/yaml/envoyfilter-ratelimit.yaml b/pkg/tests/ossm/yaml/envoyfilter-ratelimit.yaml index 49da2f3e..c5c1b9b7 100644 --- a/pkg/tests/ossm/yaml/envoyfilter-ratelimit.yaml +++ b/pkg/tests/ossm/yaml/envoyfilter-ratelimit.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: EnvoyFilter metadata: diff --git a/pkg/tests/ossm/yaml/smcp-patch-rate-limiting.yaml b/pkg/tests/ossm/yaml/smcp-patch-rate-limiting.yaml index 40918647..b3d264fc 100644 --- a/pkg/tests/ossm/yaml/smcp-patch-rate-limiting.yaml +++ b/pkg/tests/ossm/yaml/smcp-patch-rate-limiting.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# 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. + spec: techPreview: rateLimiting: diff --git a/pkg/tests/ossm/yaml/smcp.yaml b/pkg/tests/ossm/yaml/smcp.yaml index 209a44e6..4912d08a 100644 --- a/pkg/tests/ossm/yaml/smcp.yaml +++ b/pkg/tests/ossm/yaml/smcp.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/pkg/tests/ossm/yaml/smmr.yaml b/pkg/tests/ossm/yaml/smmr.yaml index 50d2f2bd..79ebe2f6 100644 --- a/pkg/tests/ossm/yaml/smmr.yaml +++ b/pkg/tests/ossm/yaml/smmr.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v1 kind: ServiceMeshMemberRoll metadata: diff --git a/pkg/tests/ossm/yaml/subscription-jaeger.yaml b/pkg/tests/ossm/yaml/subscription-jaeger.yaml index 3323ed92..1591af27 100644 --- a/pkg/tests/ossm/yaml/subscription-jaeger.yaml +++ b/pkg/tests/ossm/yaml/subscription-jaeger.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: diff --git a/pkg/tests/ossm/yaml/subscription-kiali.yaml b/pkg/tests/ossm/yaml/subscription-kiali.yaml index c0afc663..c1ce9927 100644 --- a/pkg/tests/ossm/yaml/subscription-kiali.yaml +++ b/pkg/tests/ossm/yaml/subscription-kiali.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: diff --git a/pkg/tests/ossm/yaml/subscription-ossm.yaml b/pkg/tests/ossm/yaml/subscription-ossm.yaml index d3952310..f2e4fb27 100644 --- a/pkg/tests/ossm/yaml/subscription-ossm.yaml +++ b/pkg/tests/ossm/yaml/subscription-ossm.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: diff --git a/pkg/tests/tasks/extensions/main_test.go b/pkg/tests/tasks/extensions/main_test.go index 43a0fe21..09ba2a78 100644 --- a/pkg/tests/tasks/extensions/main_test.go +++ b/pkg/tests/tasks/extensions/main_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package extensions import ( diff --git a/pkg/tests/tasks/extensions/threescale_wasm_plugin_test.go b/pkg/tests/tasks/extensions/threescale_wasm_plugin_test.go index 90b204d3..67d035d3 100644 --- a/pkg/tests/tasks/extensions/threescale_wasm_plugin_test.go +++ b/pkg/tests/tasks/extensions/threescale_wasm_plugin_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package extensions import ( diff --git a/pkg/tests/tasks/extensions/yaml/3scale-backend-service-entry.yaml b/pkg/tests/tasks/extensions/yaml/3scale-backend-service-entry.yaml index 2db6214d..051ba180 100644 --- a/pkg/tests/tasks/extensions/yaml/3scale-backend-service-entry.yaml +++ b/pkg/tests/tasks/extensions/yaml/3scale-backend-service-entry.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1beta1 kind: ServiceEntry metadata: diff --git a/pkg/tests/tasks/extensions/yaml/3scale-backend.yaml b/pkg/tests/tasks/extensions/yaml/3scale-backend.yaml index f1611b40..3e12b7c8 100644 --- a/pkg/tests/tasks/extensions/yaml/3scale-backend.yaml +++ b/pkg/tests/tasks/extensions/yaml/3scale-backend.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/pkg/tests/tasks/extensions/yaml/3scale-system-service-entry.yaml b/pkg/tests/tasks/extensions/yaml/3scale-system-service-entry.yaml index 2c13c96d..c5bd6f97 100644 --- a/pkg/tests/tasks/extensions/yaml/3scale-system-service-entry.yaml +++ b/pkg/tests/tasks/extensions/yaml/3scale-system-service-entry.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1beta1 kind: ServiceEntry metadata: diff --git a/pkg/tests/tasks/extensions/yaml/3scale-system.yaml b/pkg/tests/tasks/extensions/yaml/3scale-system.yaml index d56cb804..44922621 100644 --- a/pkg/tests/tasks/extensions/yaml/3scale-system.yaml +++ b/pkg/tests/tasks/extensions/yaml/3scale-system.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/pkg/tests/tasks/extensions/yaml/jwt-authn.tmpl.yaml b/pkg/tests/tasks/extensions/yaml/jwt-authn.tmpl.yaml index 0760f249..ed651736 100644 --- a/pkg/tests/tasks/extensions/yaml/jwt-authn.tmpl.yaml +++ b/pkg/tests/tasks/extensions/yaml/jwt-authn.tmpl.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: security.istio.io/v1beta1 kind: RequestAuthentication metadata: diff --git a/pkg/tests/tasks/extensions/yaml/mesh.tmpl.yaml b/pkg/tests/tasks/extensions/yaml/mesh.tmpl.yaml index 56435fe0..dc9da841 100644 --- a/pkg/tests/tasks/extensions/yaml/mesh.tmpl.yaml +++ b/pkg/tests/tasks/extensions/yaml/mesh.tmpl.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/pkg/tests/tasks/extensions/yaml/wasm-plugin.tmpl.yaml b/pkg/tests/tasks/extensions/yaml/wasm-plugin.tmpl.yaml index 9e08aa25..62f2dedd 100644 --- a/pkg/tests/tasks/extensions/yaml/wasm-plugin.tmpl.yaml +++ b/pkg/tests/tasks/extensions/yaml/wasm-plugin.tmpl.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: extensions.istio.io/v1alpha1 kind: WasmPlugin metadata: diff --git a/pkg/tests/tasks/injection/main_test.go b/pkg/tests/tasks/injection/main_test.go index 45d8a948..aef49f4b 100644 --- a/pkg/tests/tasks/injection/main_test.go +++ b/pkg/tests/tasks/injection/main_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package injection import ( diff --git a/pkg/tests/tasks/injection/native_sidecars_test.go b/pkg/tests/tasks/injection/native_sidecars_test.go index f1e2b068..7ad91266 100644 --- a/pkg/tests/tasks/injection/native_sidecars_test.go +++ b/pkg/tests/tasks/injection/native_sidecars_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package injection import ( diff --git a/pkg/tests/tasks/injection/tproxy_test.go b/pkg/tests/tasks/injection/tproxy_test.go index 93d6acf7..dcff36aa 100644 --- a/pkg/tests/tasks/injection/tproxy_test.go +++ b/pkg/tests/tasks/injection/tproxy_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package injection import ( diff --git a/pkg/tests/tasks/injection/yaml/mesh.tmpl.yaml b/pkg/tests/tasks/injection/yaml/mesh.tmpl.yaml index 8fecff3b..d4320f83 100644 --- a/pkg/tests/tasks/injection/yaml/mesh.tmpl.yaml +++ b/pkg/tests/tasks/injection/yaml/mesh.tmpl.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/pkg/tests/tasks/observability/custom_prometheus_test.go b/pkg/tests/tasks/observability/custom_prometheus_test.go index 88330e62..6454f71d 100644 --- a/pkg/tests/tasks/observability/custom_prometheus_test.go +++ b/pkg/tests/tasks/observability/custom_prometheus_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package observability import ( diff --git a/pkg/tests/tasks/observability/federated_openshift_monitoring_test.go b/pkg/tests/tasks/observability/federated_openshift_monitoring_test.go index 820a1417..ee8e1a67 100644 --- a/pkg/tests/tasks/observability/federated_openshift_monitoring_test.go +++ b/pkg/tests/tasks/observability/federated_openshift_monitoring_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package observability import ( diff --git a/pkg/tests/tasks/observability/main_test.go b/pkg/tests/tasks/observability/main_test.go index 53bc36c8..a135ccf4 100644 --- a/pkg/tests/tasks/observability/main_test.go +++ b/pkg/tests/tasks/observability/main_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package observability import ( diff --git a/pkg/tests/tasks/observability/openshift_monitoring_test.go b/pkg/tests/tasks/observability/openshift_monitoring_test.go index fb88bd5d..066eccc7 100644 --- a/pkg/tests/tasks/observability/openshift_monitoring_test.go +++ b/pkg/tests/tasks/observability/openshift_monitoring_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package observability import ( diff --git a/pkg/tests/tasks/observability/yaml/cluster-monitoring-config.tmpl.yaml b/pkg/tests/tasks/observability/yaml/cluster-monitoring-config.tmpl.yaml index ea895697..e1ea8bee 100644 --- a/pkg/tests/tasks/observability/yaml/cluster-monitoring-config.tmpl.yaml +++ b/pkg/tests/tasks/observability/yaml/cluster-monitoring-config.tmpl.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: v1 kind: ConfigMap metadata: diff --git a/pkg/tests/tasks/observability/yaml/enable-prometheus-metrics.yaml b/pkg/tests/tasks/observability/yaml/enable-prometheus-metrics.yaml index f98c1dba..d8b22c00 100644 --- a/pkg/tests/tasks/observability/yaml/enable-prometheus-metrics.yaml +++ b/pkg/tests/tasks/observability/yaml/enable-prometheus-metrics.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: telemetry.istio.io/v1alpha1 kind: Telemetry metadata: diff --git a/pkg/tests/tasks/observability/yaml/federated-monitor.yaml b/pkg/tests/tasks/observability/yaml/federated-monitor.yaml index 7dc85a32..17df03d3 100644 --- a/pkg/tests/tasks/observability/yaml/federated-monitor.yaml +++ b/pkg/tests/tasks/observability/yaml/federated-monitor.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: diff --git a/pkg/tests/tasks/observability/yaml/federated-monitoring-mesh.tmpl.yaml b/pkg/tests/tasks/observability/yaml/federated-monitoring-mesh.tmpl.yaml index d8a63a5d..28b0c364 100644 --- a/pkg/tests/tasks/observability/yaml/federated-monitoring-mesh.tmpl.yaml +++ b/pkg/tests/tasks/observability/yaml/federated-monitoring-mesh.tmpl.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/pkg/tests/tasks/observability/yaml/istio-proxy-monitor.yaml b/pkg/tests/tasks/observability/yaml/istio-proxy-monitor.yaml index d17bcc88..acbb904e 100644 --- a/pkg/tests/tasks/observability/yaml/istio-proxy-monitor.yaml +++ b/pkg/tests/tasks/observability/yaml/istio-proxy-monitor.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: monitoring.coreos.com/v1 kind: PodMonitor metadata: diff --git a/pkg/tests/tasks/observability/yaml/istiod-monitor.yaml b/pkg/tests/tasks/observability/yaml/istiod-monitor.yaml index afb70693..20f8d5cd 100644 --- a/pkg/tests/tasks/observability/yaml/istiod-monitor.yaml +++ b/pkg/tests/tasks/observability/yaml/istiod-monitor.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: diff --git a/pkg/tests/tasks/observability/yaml/kiali-cluster-monitoring-view.tmpl.yaml b/pkg/tests/tasks/observability/yaml/kiali-cluster-monitoring-view.tmpl.yaml index 373ad7e0..fe58a556 100644 --- a/pkg/tests/tasks/observability/yaml/kiali-cluster-monitoring-view.tmpl.yaml +++ b/pkg/tests/tasks/observability/yaml/kiali-cluster-monitoring-view.tmpl.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: diff --git a/pkg/tests/tasks/observability/yaml/kiali-user-workload-monitoring.tmpl.yaml b/pkg/tests/tasks/observability/yaml/kiali-user-workload-monitoring.tmpl.yaml index 5fa92178..325e25d6 100644 --- a/pkg/tests/tasks/observability/yaml/kiali-user-workload-monitoring.tmpl.yaml +++ b/pkg/tests/tasks/observability/yaml/kiali-user-workload-monitoring.tmpl.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: kiali.io/v1alpha1 kind: Kiali metadata: diff --git a/pkg/tests/tasks/observability/yaml/mesh.tmpl.yaml b/pkg/tests/tasks/observability/yaml/mesh.tmpl.yaml index ed7df64a..36996c4d 100644 --- a/pkg/tests/tasks/observability/yaml/mesh.tmpl.yaml +++ b/pkg/tests/tasks/observability/yaml/mesh.tmpl.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/pkg/tests/tasks/observability/yaml/network-policy.yaml b/pkg/tests/tasks/observability/yaml/network-policy.yaml index 5e04af11..08056d09 100644 --- a/pkg/tests/tasks/observability/yaml/network-policy.yaml +++ b/pkg/tests/tasks/observability/yaml/network-policy.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: diff --git a/pkg/tests/tasks/security/authentication/main_test.go b/pkg/tests/tasks/security/authentication/main_test.go index f1e83d84..c226a77e 100644 --- a/pkg/tests/tasks/security/authentication/main_test.go +++ b/pkg/tests/tasks/security/authentication/main_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package authentication import ( diff --git a/pkg/tests/tasks/security/authorization/main_test.go b/pkg/tests/tasks/security/authorization/main_test.go index 1fd60b3f..39ee7b2d 100644 --- a/pkg/tests/tasks/security/authorization/main_test.go +++ b/pkg/tests/tasks/security/authorization/main_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package authorization import ( diff --git a/pkg/tests/tasks/security/certificate/alpn_filter_non_istio_test.go b/pkg/tests/tasks/security/certificate/alpn_filter_non_istio_test.go index c8a6fd71..95c4433f 100644 --- a/pkg/tests/tasks/security/certificate/alpn_filter_non_istio_test.go +++ b/pkg/tests/tasks/security/certificate/alpn_filter_non_istio_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package certificate import ( diff --git a/pkg/tests/tasks/security/certificate/main_test.go b/pkg/tests/tasks/security/certificate/main_test.go index 755a8967..b30616fc 100644 --- a/pkg/tests/tasks/security/certificate/main_test.go +++ b/pkg/tests/tasks/security/certificate/main_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package certificate import ( diff --git a/pkg/tests/tasks/security/certmanager/istio_csr_test.go b/pkg/tests/tasks/security/certmanager/istio_csr_test.go index 926f8242..8d6549c4 100644 --- a/pkg/tests/tasks/security/certmanager/istio_csr_test.go +++ b/pkg/tests/tasks/security/certmanager/istio_csr_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package certmanager import ( diff --git a/pkg/tests/tasks/security/certmanager/main_test.go b/pkg/tests/tasks/security/certmanager/main_test.go index b659680e..5399b957 100644 --- a/pkg/tests/tasks/security/certmanager/main_test.go +++ b/pkg/tests/tasks/security/certmanager/main_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package certmanager import ( diff --git a/pkg/tests/tasks/security/certmanager/plugin_ca_test.go b/pkg/tests/tasks/security/certmanager/plugin_ca_test.go index 68aba4b5..53622c30 100644 --- a/pkg/tests/tasks/security/certmanager/plugin_ca_test.go +++ b/pkg/tests/tasks/security/certmanager/plugin_ca_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package certmanager import ( diff --git a/pkg/tests/tasks/security/certmanager/yaml/cacerts/cacerts.yaml b/pkg/tests/tasks/security/certmanager/yaml/cacerts/cacerts.yaml index a1f6b758..3d9c52f2 100644 --- a/pkg/tests/tasks/security/certmanager/yaml/cacerts/cacerts.yaml +++ b/pkg/tests/tasks/security/certmanager/yaml/cacerts/cacerts.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: cert-manager.io/v1 kind: Certificate metadata: diff --git a/pkg/tests/tasks/security/certmanager/yaml/cacerts/mesh.yaml b/pkg/tests/tasks/security/certmanager/yaml/cacerts/mesh.yaml index d2b9785b..7656e7a4 100644 --- a/pkg/tests/tasks/security/certmanager/yaml/cacerts/mesh.yaml +++ b/pkg/tests/tasks/security/certmanager/yaml/cacerts/mesh.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/pkg/tests/tasks/security/certmanager/yaml/istio-csr/istio-ca.yaml b/pkg/tests/tasks/security/certmanager/yaml/istio-csr/istio-ca.yaml index 9427b032..f482502b 100644 --- a/pkg/tests/tasks/security/certmanager/yaml/istio-csr/istio-ca.yaml +++ b/pkg/tests/tasks/security/certmanager/yaml/istio-csr/istio-ca.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: cert-manager.io/v1 kind: Certificate metadata: diff --git a/pkg/tests/tasks/security/certmanager/yaml/istio-csr/istio-csr.yaml b/pkg/tests/tasks/security/certmanager/yaml/istio-csr/istio-csr.yaml index aa6ffb90..c57eeaf7 100644 --- a/pkg/tests/tasks/security/certmanager/yaml/istio-csr/istio-csr.yaml +++ b/pkg/tests/tasks/security/certmanager/yaml/istio-csr/istio-csr.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# 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. + replicaCount: 2 image: diff --git a/pkg/tests/tasks/security/certmanager/yaml/istio-csr/mesh.yaml b/pkg/tests/tasks/security/certmanager/yaml/istio-csr/mesh.yaml index 8a47789b..0523586a 100644 --- a/pkg/tests/tasks/security/certmanager/yaml/istio-csr/mesh.yaml +++ b/pkg/tests/tasks/security/certmanager/yaml/istio-csr/mesh.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/pkg/tests/tasks/traffic/common.go b/pkg/tests/tasks/traffic/common.go index cfa2b834..647a5c51 100644 --- a/pkg/tests/tasks/traffic/common.go +++ b/pkg/tests/tasks/traffic/common.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package traffic import ( diff --git a/pkg/tests/tasks/traffic/egress/main_test.go b/pkg/tests/tasks/traffic/egress/main_test.go index 41d87083..33dd0eb7 100644 --- a/pkg/tests/tasks/traffic/egress/main_test.go +++ b/pkg/tests/tasks/traffic/egress/main_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package egress import ( diff --git a/pkg/tests/tasks/traffic/egress/yaml/external-httpbin-http-gateway.yaml b/pkg/tests/tasks/traffic/egress/yaml/external-httpbin-http-gateway.yaml index 024519a1..893d0100 100644 --- a/pkg/tests/tasks/traffic/egress/yaml/external-httpbin-http-gateway.yaml +++ b/pkg/tests/tasks/traffic/egress/yaml/external-httpbin-http-gateway.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: Gateway metadata: diff --git a/pkg/tests/tasks/traffic/egress/yaml/external-httpbin.yaml b/pkg/tests/tasks/traffic/egress/yaml/external-httpbin.yaml index c1c326ec..9bbbf262 100644 --- a/pkg/tests/tasks/traffic/egress/yaml/external-httpbin.yaml +++ b/pkg/tests/tasks/traffic/egress/yaml/external-httpbin.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: ServiceEntry metadata: diff --git a/pkg/tests/tasks/traffic/egress/yaml/external-nginx-tls-istio-mutual-gateway.yaml b/pkg/tests/tasks/traffic/egress/yaml/external-nginx-tls-istio-mutual-gateway.yaml index 55923f71..d4b668dc 100644 --- a/pkg/tests/tasks/traffic/egress/yaml/external-nginx-tls-istio-mutual-gateway.yaml +++ b/pkg/tests/tasks/traffic/egress/yaml/external-nginx-tls-istio-mutual-gateway.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: Gateway metadata: diff --git a/pkg/tests/tasks/traffic/egress/yaml/external-nginx-tls-passthrough-gateway.yaml b/pkg/tests/tasks/traffic/egress/yaml/external-nginx-tls-passthrough-gateway.yaml index 151bb475..2256bb93 100644 --- a/pkg/tests/tasks/traffic/egress/yaml/external-nginx-tls-passthrough-gateway.yaml +++ b/pkg/tests/tasks/traffic/egress/yaml/external-nginx-tls-passthrough-gateway.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: Gateway metadata: diff --git a/pkg/tests/tasks/traffic/egress/yaml/external-nginx.yaml b/pkg/tests/tasks/traffic/egress/yaml/external-nginx.yaml index 324fb572..3196c433 100644 --- a/pkg/tests/tasks/traffic/egress/yaml/external-nginx.yaml +++ b/pkg/tests/tasks/traffic/egress/yaml/external-nginx.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: ServiceEntry metadata: diff --git a/pkg/tests/tasks/traffic/egress/yaml/mesh-route-http-requests-to-https-port.yaml b/pkg/tests/tasks/traffic/egress/yaml/mesh-route-http-requests-to-https-port.yaml index 1df4266e..a56fa8a7 100644 --- a/pkg/tests/tasks/traffic/egress/yaml/mesh-route-http-requests-to-https-port.yaml +++ b/pkg/tests/tasks/traffic/egress/yaml/mesh-route-http-requests-to-https-port.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: diff --git a/pkg/tests/tasks/traffic/egress/yaml/originate-mtls-sds-to-nginx.yaml b/pkg/tests/tasks/traffic/egress/yaml/originate-mtls-sds-to-nginx.yaml index 27dc7780..5cb34d16 100644 --- a/pkg/tests/tasks/traffic/egress/yaml/originate-mtls-sds-to-nginx.yaml +++ b/pkg/tests/tasks/traffic/egress/yaml/originate-mtls-sds-to-nginx.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: DestinationRule metadata: diff --git a/pkg/tests/tasks/traffic/egress/yaml/originate-mtls-to-nginx.yaml b/pkg/tests/tasks/traffic/egress/yaml/originate-mtls-to-nginx.yaml index 8038c88c..0f828816 100644 --- a/pkg/tests/tasks/traffic/egress/yaml/originate-mtls-to-nginx.yaml +++ b/pkg/tests/tasks/traffic/egress/yaml/originate-mtls-to-nginx.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: DestinationRule metadata: diff --git a/pkg/tests/tasks/traffic/egress/yaml/originate-tls-to-nginx.yaml b/pkg/tests/tasks/traffic/egress/yaml/originate-tls-to-nginx.yaml index 2367e0eb..cd143a3c 100644 --- a/pkg/tests/tasks/traffic/egress/yaml/originate-tls-to-nginx.yaml +++ b/pkg/tests/tasks/traffic/egress/yaml/originate-tls-to-nginx.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: DestinationRule metadata: diff --git a/pkg/tests/tasks/traffic/ingress/gatewayapi_test.go b/pkg/tests/tasks/traffic/ingress/gatewayapi_test.go index 150643f5..c3e30814 100644 --- a/pkg/tests/tasks/traffic/ingress/gatewayapi_test.go +++ b/pkg/tests/tasks/traffic/ingress/gatewayapi_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package ingress import ( diff --git a/pkg/tests/tasks/traffic/ingress/main_test.go b/pkg/tests/tasks/traffic/ingress/main_test.go index 90fc6396..68e624e7 100644 --- a/pkg/tests/tasks/traffic/ingress/main_test.go +++ b/pkg/tests/tasks/traffic/ingress/main_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package ingress import ( diff --git a/pkg/tests/tasks/traffic/ingress/yaml/gateway-httpbin-mtls.yaml b/pkg/tests/tasks/traffic/ingress/yaml/gateway-httpbin-mtls.yaml index f0a36c4c..ee62f51d 100644 --- a/pkg/tests/tasks/traffic/ingress/yaml/gateway-httpbin-mtls.yaml +++ b/pkg/tests/tasks/traffic/ingress/yaml/gateway-httpbin-mtls.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: Gateway metadata: diff --git a/pkg/tests/tasks/traffic/ingress/yaml/gateway-multiple-hosts.yaml b/pkg/tests/tasks/traffic/ingress/yaml/gateway-multiple-hosts.yaml index 1c7308a0..188de5e8 100644 --- a/pkg/tests/tasks/traffic/ingress/yaml/gateway-multiple-hosts.yaml +++ b/pkg/tests/tasks/traffic/ingress/yaml/gateway-multiple-hosts.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: Gateway metadata: diff --git a/pkg/tests/tasks/traffic/ingress/yaml/hello-world.yaml b/pkg/tests/tasks/traffic/ingress/yaml/hello-world.yaml index 169e3fc4..7c11f173 100644 --- a/pkg/tests/tasks/traffic/ingress/yaml/hello-world.yaml +++ b/pkg/tests/tasks/traffic/ingress/yaml/hello-world.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: v1 kind: Service metadata: diff --git a/pkg/tests/tasks/traffic/ingress/yaml/httpbin-tls-gateway-https.yaml b/pkg/tests/tasks/traffic/ingress/yaml/httpbin-tls-gateway-https.yaml index e00bfd4f..c3cb6df9 100644 --- a/pkg/tests/tasks/traffic/ingress/yaml/httpbin-tls-gateway-https.yaml +++ b/pkg/tests/tasks/traffic/ingress/yaml/httpbin-tls-gateway-https.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: Gateway metadata: diff --git a/pkg/tests/tasks/traffic/main_test.go b/pkg/tests/tasks/traffic/main_test.go index 4473d00d..1b3f4215 100644 --- a/pkg/tests/tasks/traffic/main_test.go +++ b/pkg/tests/tasks/traffic/main_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package traffic import ( diff --git a/pkg/tests/tasks/traffic/yaml/virtualservice-ratings-abort500.yaml b/pkg/tests/tasks/traffic/yaml/virtualservice-ratings-abort500.yaml index 79b46a1c..88b4131b 100644 --- a/pkg/tests/tasks/traffic/yaml/virtualservice-ratings-abort500.yaml +++ b/pkg/tests/tasks/traffic/yaml/virtualservice-ratings-abort500.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: diff --git a/pkg/tests/tasks/traffic/yaml/virtualservice-ratings-fixed-delay.yaml b/pkg/tests/tasks/traffic/yaml/virtualservice-ratings-fixed-delay.yaml index 6c4e19da..ef4eeabd 100644 --- a/pkg/tests/tasks/traffic/yaml/virtualservice-ratings-fixed-delay.yaml +++ b/pkg/tests/tasks/traffic/yaml/virtualservice-ratings-fixed-delay.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: diff --git a/pkg/tests/tasks/traffic/yaml/virtualservice-reviews-ratings-timeout.yaml b/pkg/tests/tasks/traffic/yaml/virtualservice-reviews-ratings-timeout.yaml index 7ab8fa95..45419438 100644 --- a/pkg/tests/tasks/traffic/yaml/virtualservice-reviews-ratings-timeout.yaml +++ b/pkg/tests/tasks/traffic/yaml/virtualservice-reviews-ratings-timeout.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: diff --git a/pkg/tests/tasks/traffic/yaml/virtualservice-reviews-reviews-v3.yaml b/pkg/tests/tasks/traffic/yaml/virtualservice-reviews-reviews-v3.yaml index 98bf09e9..e3fdf93c 100644 --- a/pkg/tests/tasks/traffic/yaml/virtualservice-reviews-reviews-v3.yaml +++ b/pkg/tests/tasks/traffic/yaml/virtualservice-reviews-reviews-v3.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: diff --git a/pkg/tests/tasks/traffic/yaml/virtualservice-reviews-split-v1-v3-50-50.yaml b/pkg/tests/tasks/traffic/yaml/virtualservice-reviews-split-v1-v3-50-50.yaml index b23708ad..01319d88 100644 --- a/pkg/tests/tasks/traffic/yaml/virtualservice-reviews-split-v1-v3-50-50.yaml +++ b/pkg/tests/tasks/traffic/yaml/virtualservice-reviews-split-v1-v3-50-50.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: diff --git a/pkg/util/cert/cert.go b/pkg/util/cert/cert.go index da32bb7f..28a383e3 100644 --- a/pkg/util/cert/cert.go +++ b/pkg/util/cert/cert.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package cert import ( diff --git a/pkg/util/cert/cert_test.go b/pkg/util/cert/cert_test.go index dc5b5836..d098da88 100644 --- a/pkg/util/cert/cert_test.go +++ b/pkg/util/cert/cert_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package cert import ( diff --git a/pkg/util/check/assert/common.go b/pkg/util/check/assert/common.go index 3c601037..13a611eb 100644 --- a/pkg/util/check/assert/common.go +++ b/pkg/util/check/assert/common.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package assert import ( diff --git a/pkg/util/check/assert/http_response.go b/pkg/util/check/assert/http_response.go index 2ad67b70..2ce1ea88 100644 --- a/pkg/util/check/assert/http_response.go +++ b/pkg/util/check/assert/http_response.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package assert import ( diff --git a/pkg/util/check/assert/output.go b/pkg/util/check/assert/output.go index 16440a1e..ea9fcb1f 100644 --- a/pkg/util/check/assert/output.go +++ b/pkg/util/check/assert/output.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package assert import ( diff --git a/pkg/util/check/common/common.go b/pkg/util/check/common/common.go index af4316e6..05a305c6 100644 --- a/pkg/util/check/common/common.go +++ b/pkg/util/check/common/common.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package common import ( diff --git a/pkg/util/check/common/http_response.go b/pkg/util/check/common/http_response.go index 528befeb..780e3d8d 100644 --- a/pkg/util/check/common/http_response.go +++ b/pkg/util/check/common/http_response.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package common import ( diff --git a/pkg/util/check/common/output.go b/pkg/util/check/common/output.go index 9a67c163..75e791c9 100644 --- a/pkg/util/check/common/output.go +++ b/pkg/util/check/common/output.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package common import ( diff --git a/pkg/util/check/require/common.go b/pkg/util/check/require/common.go index 8595a1ac..28a37835 100644 --- a/pkg/util/check/require/common.go +++ b/pkg/util/check/require/common.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package require import ( diff --git a/pkg/util/check/require/http_response.go b/pkg/util/check/require/http_response.go index c375ba39..52778aaf 100644 --- a/pkg/util/check/require/http_response.go +++ b/pkg/util/check/require/http_response.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package require import ( diff --git a/pkg/util/check/require/output.go b/pkg/util/check/require/output.go index 04ff692f..76ddef85 100644 --- a/pkg/util/check/require/output.go +++ b/pkg/util/check/require/output.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package require import ( diff --git a/pkg/util/cni/cni.go b/pkg/util/cni/cni.go index f94d59a4..cc7ddb70 100644 --- a/pkg/util/cni/cni.go +++ b/pkg/util/cni/cni.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package cni import "github.com/maistra/maistra-test-tool/pkg/util/version" diff --git a/pkg/util/curl/curl.go b/pkg/util/curl/curl.go index 4752d1db..471cb5f1 100644 --- a/pkg/util/curl/curl.go +++ b/pkg/util/curl/curl.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package curl import ( diff --git a/pkg/util/env/env.go b/pkg/util/env/env.go index 0307798e..935b7266 100644 --- a/pkg/util/env/env.go +++ b/pkg/util/env/env.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package env import ( diff --git a/pkg/util/gatewayapi/gatewayapi.go b/pkg/util/gatewayapi/gatewayapi.go index abd51a84..91dcfe10 100644 --- a/pkg/util/gatewayapi/gatewayapi.go +++ b/pkg/util/gatewayapi/gatewayapi.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package gatewayapi import ( diff --git a/pkg/util/helm/helm.go b/pkg/util/helm/helm.go index 72c75352..2955391f 100644 --- a/pkg/util/helm/helm.go +++ b/pkg/util/helm/helm.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package helm import ( diff --git a/pkg/util/heredoc/heredoc.go b/pkg/util/heredoc/heredoc.go index f9c1c8b0..415182fc 100644 --- a/pkg/util/heredoc/heredoc.go +++ b/pkg/util/heredoc/heredoc.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package heredoc import ( diff --git a/pkg/util/heredoc/heredoc_test.go b/pkg/util/heredoc/heredoc_test.go index 5a3bd67a..11e6f164 100644 --- a/pkg/util/heredoc/heredoc_test.go +++ b/pkg/util/heredoc/heredoc_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package heredoc import "testing" diff --git a/pkg/util/istio/istio.go b/pkg/util/istio/istio.go index 9a4b4334..b89184cf 100644 --- a/pkg/util/istio/istio.go +++ b/pkg/util/istio/istio.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package istio import ( diff --git a/pkg/util/istioctl/istioctl.go b/pkg/util/istioctl/istioctl.go index 337a34c2..0495fee0 100644 --- a/pkg/util/istioctl/istioctl.go +++ b/pkg/util/istioctl/istioctl.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package istioctl import ( diff --git a/pkg/util/nonce.go b/pkg/util/nonce.go index 7f8570a9..e0a98688 100644 --- a/pkg/util/nonce.go +++ b/pkg/util/nonce.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package util import ( diff --git a/pkg/util/ns/namespaces.go b/pkg/util/ns/namespaces.go index d3f72007..4250ce2c 100644 --- a/pkg/util/ns/namespaces.go +++ b/pkg/util/ns/namespaces.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package ns const ( diff --git a/pkg/util/oc/oc.go b/pkg/util/oc/oc.go index 5699d210..f7c6c76f 100644 --- a/pkg/util/oc/oc.go +++ b/pkg/util/oc/oc.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package oc import ( diff --git a/pkg/util/oc/oc_struct.go b/pkg/util/oc/oc_struct.go index 73bf88f0..9195bf4f 100644 --- a/pkg/util/oc/oc_struct.go +++ b/pkg/util/oc/oc_struct.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package oc import ( diff --git a/pkg/util/oc/pod_commands.go b/pkg/util/oc/pod_commands.go index 68079496..f4b3a32e 100644 --- a/pkg/util/oc/pod_commands.go +++ b/pkg/util/oc/pod_commands.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package oc import ( diff --git a/pkg/util/oc/service_commands.go b/pkg/util/oc/service_commands.go index b1a5ee4a..9cff4478 100644 --- a/pkg/util/oc/service_commands.go +++ b/pkg/util/oc/service_commands.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package oc import ( diff --git a/pkg/util/operator/operators.go b/pkg/util/operator/operators.go index cc915598..512f5a94 100644 --- a/pkg/util/operator/operators.go +++ b/pkg/util/operator/operators.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package operator import ( diff --git a/pkg/util/pod/pods.go b/pkg/util/pod/pods.go index 64ff867a..7b684941 100644 --- a/pkg/util/pod/pods.go +++ b/pkg/util/pod/pods.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package pod import ( diff --git a/pkg/util/prometheus/prometheus.go b/pkg/util/prometheus/prometheus.go index 6e57d59a..2e719d1e 100644 --- a/pkg/util/prometheus/prometheus.go +++ b/pkg/util/prometheus/prometheus.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package prometheus import ( diff --git a/pkg/util/prometheus/prometheus_struct.go b/pkg/util/prometheus/prometheus_struct.go index 939e7206..172d6448 100644 --- a/pkg/util/prometheus/prometheus_struct.go +++ b/pkg/util/prometheus/prometheus_struct.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package prometheus import ( diff --git a/pkg/util/request/headers.go b/pkg/util/request/headers.go index 83348232..a7324376 100644 --- a/pkg/util/request/headers.go +++ b/pkg/util/request/headers.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package request import ( diff --git a/pkg/util/request/host.go b/pkg/util/request/host.go index 6f5c2826..2d5b0dcb 100644 --- a/pkg/util/request/host.go +++ b/pkg/util/request/host.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package request import ( diff --git a/pkg/util/request/multiple.go b/pkg/util/request/multiple.go index d2098a95..f89ef702 100644 --- a/pkg/util/request/multiple.go +++ b/pkg/util/request/multiple.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package request import ( diff --git a/pkg/util/request/tls.go b/pkg/util/request/tls.go index 1ee4ab47..8c518b45 100644 --- a/pkg/util/request/tls.go +++ b/pkg/util/request/tls.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package request import ( diff --git a/pkg/util/retry/options.go b/pkg/util/retry/options.go index bd7fb766..368a5286 100644 --- a/pkg/util/retry/options.go +++ b/pkg/util/retry/options.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package retry import "time" diff --git a/pkg/util/retry/retry.go b/pkg/util/retry/retry.go index eb9a887c..ff60b795 100644 --- a/pkg/util/retry/retry.go +++ b/pkg/util/retry/retry.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package retry import ( diff --git a/pkg/util/shell/shell_helper.go b/pkg/util/shell/shell_helper.go index e8931a6f..a9a33eef 100644 --- a/pkg/util/shell/shell_helper.go +++ b/pkg/util/shell/shell_helper.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package shell import ( diff --git a/pkg/util/template/images.go b/pkg/util/template/images.go index 7d74e0ba..afcd9c5b 100644 --- a/pkg/util/template/images.go +++ b/pkg/util/template/images.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package template import ( diff --git a/pkg/util/template/template.go b/pkg/util/template/template.go index 106e3085..04b2768c 100644 --- a/pkg/util/template/template.go +++ b/pkg/util/template/template.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package template import ( diff --git a/pkg/util/test/subtest.go b/pkg/util/test/subtest.go index 20b72c40..871eed02 100644 --- a/pkg/util/test/subtest.go +++ b/pkg/util/test/subtest.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package test import ( diff --git a/pkg/util/test/suite.go b/pkg/util/test/suite.go index 6b65009a..455ff906 100644 --- a/pkg/util/test/suite.go +++ b/pkg/util/test/suite.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package test import ( diff --git a/pkg/util/test/test.go b/pkg/util/test/test.go index 7ec62330..a33eb900 100644 --- a/pkg/util/test/test.go +++ b/pkg/util/test/test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package test import ( diff --git a/pkg/util/test/test_helper.go b/pkg/util/test/test_helper.go index ac85b495..7c150f8e 100644 --- a/pkg/util/test/test_helper.go +++ b/pkg/util/test/test_helper.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package test import ( diff --git a/pkg/util/test/test_helper_flaky.go b/pkg/util/test/test_helper_flaky.go index d908d83c..b7713784 100644 --- a/pkg/util/test/test_helper_flaky.go +++ b/pkg/util/test/test_helper_flaky.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package test import ( diff --git a/pkg/util/test/test_helper_retry.go b/pkg/util/test/test_helper_retry.go index 3e1ba030..e71432b1 100644 --- a/pkg/util/test/test_helper_retry.go +++ b/pkg/util/test/test_helper_retry.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package test import ( diff --git a/pkg/util/test/test_helper_setup.go b/pkg/util/test/test_helper_setup.go index 8edac7fd..4924cf38 100644 --- a/pkg/util/test/test_helper_setup.go +++ b/pkg/util/test/test_helper_setup.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package test import ( diff --git a/pkg/util/version/ocp_version.go b/pkg/util/version/ocp_version.go index 94ed5c1f..ab4ccb1d 100644 --- a/pkg/util/version/ocp_version.go +++ b/pkg/util/version/ocp_version.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package version var ( diff --git a/pkg/util/version/operator_version.go b/pkg/util/version/operator_version.go index 6f2488ce..a43ee3e0 100644 --- a/pkg/util/version/operator_version.go +++ b/pkg/util/version/operator_version.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package version var ( diff --git a/pkg/util/version/smcp_version.go b/pkg/util/version/smcp_version.go index 246a2e60..2a905cd8 100644 --- a/pkg/util/version/smcp_version.go +++ b/pkg/util/version/smcp_version.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package version var ( diff --git a/pkg/util/version/version.go b/pkg/util/version/version.go index 818c72c3..c1a40755 100644 --- a/pkg/util/version/version.go +++ b/pkg/util/version/version.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package version import ( diff --git a/pkg/util/version/version_test.go b/pkg/util/version/version_test.go index c271d46c..c621af53 100644 --- a/pkg/util/version/version_test.go +++ b/pkg/util/version/version_test.go @@ -1,3 +1,17 @@ +// Copyright 2024 Red Hat, Inc. +// +// 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. + package version import "testing" diff --git a/sampleCerts/generate.sh b/sampleCerts/generate.sh index 012f78d6..59042655 100755 --- a/sampleCerts/generate.sh +++ b/sampleCerts/generate.sh @@ -1,4 +1,21 @@ #!/bin/bash +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright 2024 Red Hat, Inc. +# +# 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. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Generates certificates used for testing diff --git a/scripts/.golangci.yaml b/scripts/.golangci.yaml index 4e1f6f1f..276903f4 100644 --- a/scripts/.golangci.yaml +++ b/scripts/.golangci.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# 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. + run: # timeout for analysis deadline: 1m diff --git a/scripts/auth/authorization.sh b/scripts/auth/authorization.sh index 37764b9b..dec9f563 100755 --- a/scripts/auth/authorization.sh +++ b/scripts/auth/authorization.sh @@ -1,4 +1,21 @@ #!/bin/bash +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright 2024 Red Hat, Inc. +# +# 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. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HOST="" diff --git a/scripts/compiletests.sh b/scripts/compiletests.sh index 2372462c..2cfa3bd1 100755 --- a/scripts/compiletests.sh +++ b/scripts/compiletests.sh @@ -1,4 +1,21 @@ #!/bin/bash +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright 2024 Red Hat, Inc. +# +# 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. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Find all directories that contain test files directories=$(find . -name "*_test.go" | xargs -n1 dirname | sort -u) diff --git a/scripts/lint_go.sh b/scripts/lint_go.sh index 883cd954..dc72a1cd 100755 --- a/scripts/lint_go.sh +++ b/scripts/lint_go.sh @@ -1,4 +1,21 @@ #!/bin/bash +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright 2024 Red Hat, Inc. +# +# 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. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ go version golangci-lint version diff --git a/scripts/pipeline/copy_results_from_pod.sh b/scripts/pipeline/copy_results_from_pod.sh index 23f1cf8e..7622c16a 100644 --- a/scripts/pipeline/copy_results_from_pod.sh +++ b/scripts/pipeline/copy_results_from_pod.sh @@ -1,4 +1,21 @@ #!/bin/bash +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright 2024 Red Hat, Inc. +# +# 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. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # login oc login -u ike -p $IKE_PWD --server=$OCP_SERVER --insecure-skip-tls-verify=true diff --git a/scripts/pipeline/openshift-pipeline-subscription.yaml b/scripts/pipeline/openshift-pipeline-subscription.yaml index 2fa53474..c6827b93 100644 --- a/scripts/pipeline/openshift-pipeline-subscription.yaml +++ b/scripts/pipeline/openshift-pipeline-subscription.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: diff --git a/scripts/pipeline/pipeline-cluster-role-binding.yaml b/scripts/pipeline/pipeline-cluster-role-binding.yaml index 8741192e..af559f78 100644 --- a/scripts/pipeline/pipeline-cluster-role-binding.yaml +++ b/scripts/pipeline/pipeline-cluster-role-binding.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: diff --git a/scripts/pipeline/pipeline-run-acc-tests.yaml b/scripts/pipeline/pipeline-run-acc-tests.yaml index d4910d02..a6dcbb0d 100644 --- a/scripts/pipeline/pipeline-run-acc-tests.yaml +++ b/scripts/pipeline/pipeline-run-acc-tests.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: tekton.dev/v1beta1 kind: ClusterTask metadata: diff --git a/scripts/policy/setup_ocp_scc_anyuid.sh b/scripts/policy/setup_ocp_scc_anyuid.sh index b06d0521..1b6887bf 100755 --- a/scripts/policy/setup_ocp_scc_anyuid.sh +++ b/scripts/policy/setup_ocp_scc_anyuid.sh @@ -1,4 +1,21 @@ #!/bin/bash +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright 2024 Red Hat, Inc. +# +# 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. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oc new-project bookinfo oc new-project foo diff --git a/scripts/runtests.sh b/scripts/runtests.sh index 097b1cb4..7f8b9f69 100755 --- a/scripts/runtests.sh +++ b/scripts/runtests.sh @@ -1,4 +1,21 @@ #!/bin/bash +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright 2024 Red Hat, Inc. +# +# 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. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ set -e diff --git a/templates/ocp-templates/install-config-ovn.yaml b/templates/ocp-templates/install-config-ovn.yaml index 66e81424..e5a08c93 100644 --- a/templates/ocp-templates/install-config-ovn.yaml +++ b/templates/ocp-templates/install-config-ovn.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: v1 baseDomain: devcluster.openshift.com compute: diff --git a/templates/olm-templates/staging-v4.6/icsp.yaml b/templates/olm-templates/staging-v4.6/icsp.yaml index a75922c4..84ef07a0 100644 --- a/templates/olm-templates/staging-v4.6/icsp.yaml +++ b/templates/olm-templates/staging-v4.6/icsp.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: operator.openshift.io/v1alpha1 kind: ImageContentSourcePolicy metadata: diff --git a/templates/olm-templates/staging-v4.6/jaeger_subscription.yaml b/templates/olm-templates/staging-v4.6/jaeger_subscription.yaml index ffda6e18..1fc96b99 100644 --- a/templates/olm-templates/staging-v4.6/jaeger_subscription.yaml +++ b/templates/olm-templates/staging-v4.6/jaeger_subscription.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: diff --git a/templates/olm-templates/staging-v4.6/kiali_subscription.yaml b/templates/olm-templates/staging-v4.6/kiali_subscription.yaml index b261f235..7b51c0a6 100644 --- a/templates/olm-templates/staging-v4.6/kiali_subscription.yaml +++ b/templates/olm-templates/staging-v4.6/kiali_subscription.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: diff --git a/templates/olm-templates/staging-v4.6/ossm_subscription.yaml b/templates/olm-templates/staging-v4.6/ossm_subscription.yaml index fa62d8d2..0b091d26 100644 --- a/templates/olm-templates/staging-v4.6/ossm_subscription.yaml +++ b/templates/olm-templates/staging-v4.6/ossm_subscription.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: diff --git a/templates/olm-templates/staging-v4.6/staging_catalog_source.yaml b/templates/olm-templates/staging-v4.6/staging_catalog_source.yaml index 194d438a..623b2e2b 100644 --- a/templates/olm-templates/staging-v4.6/staging_catalog_source.yaml +++ b/templates/olm-templates/staging-v4.6/staging_catalog_source.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: operators.coreos.com/v1alpha1 kind: CatalogSource metadata: diff --git a/templates/smcp-templates/v1.1/cr_1.1_default.yaml b/templates/smcp-templates/v1.1/cr_1.1_default.yaml index c70eaf16..3696116c 100644 --- a/templates/smcp-templates/v1.1/cr_1.1_default.yaml +++ b/templates/smcp-templates/v1.1/cr_1.1_default.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/templates/smcp-templates/v1.1/cr_1.1_default_template.yaml b/templates/smcp-templates/v1.1/cr_1.1_default_template.yaml index da61155e..6952b902 100644 --- a/templates/smcp-templates/v1.1/cr_1.1_default_template.yaml +++ b/templates/smcp-templates/v1.1/cr_1.1_default_template.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/templates/smcp-templates/v2.0/cr_2.0_default.yaml b/templates/smcp-templates/v2.0/cr_2.0_default.yaml index 70b48d34..32c22a03 100644 --- a/templates/smcp-templates/v2.0/cr_2.0_default.yaml +++ b/templates/smcp-templates/v2.0/cr_2.0_default.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/templates/smcp-templates/v2.0/cr_2.0_default_template.yaml b/templates/smcp-templates/v2.0/cr_2.0_default_template.yaml index 88be8201..1dbd150e 100644 --- a/templates/smcp-templates/v2.0/cr_2.0_default_template.yaml +++ b/templates/smcp-templates/v2.0/cr_2.0_default_template.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/templates/smcp-templates/v2.1/cr_2.1_default.yaml b/templates/smcp-templates/v2.1/cr_2.1_default.yaml index db563fde..58742b57 100644 --- a/templates/smcp-templates/v2.1/cr_2.1_default.yaml +++ b/templates/smcp-templates/v2.1/cr_2.1_default.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/templates/smcp-templates/v2.1/cr_2.1_default_template.yaml b/templates/smcp-templates/v2.1/cr_2.1_default_template.yaml index 4962e707..edd10db0 100644 --- a/templates/smcp-templates/v2.1/cr_2.1_default_template.yaml +++ b/templates/smcp-templates/v2.1/cr_2.1_default_template.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/templates/smcp-templates/v2.1/cr_2.1_rosa_template.yaml b/templates/smcp-templates/v2.1/cr_2.1_rosa_template.yaml index 91c84fdc..34ccca67 100644 --- a/templates/smcp-templates/v2.1/cr_2.1_rosa_template.yaml +++ b/templates/smcp-templates/v2.1/cr_2.1_rosa_template.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/templates/smcp-templates/v2.2/cr_2.2_default_template.yaml b/templates/smcp-templates/v2.2/cr_2.2_default_template.yaml index 4bb05b08..b294e854 100644 --- a/templates/smcp-templates/v2.2/cr_2.2_default_template.yaml +++ b/templates/smcp-templates/v2.2/cr_2.2_default_template.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/templates/smcp-templates/v2.3/cr_2.3_default_template.yaml b/templates/smcp-templates/v2.3/cr_2.3_default_template.yaml index 35546dda..46e3f8e6 100644 --- a/templates/smcp-templates/v2.3/cr_2.3_default_template.yaml +++ b/templates/smcp-templates/v2.3/cr_2.3_default_template.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/templates/smcp-templates/v2.4/cr_2.4_default_template.yaml b/templates/smcp-templates/v2.4/cr_2.4_default_template.yaml index 1ca7ad25..440e5c38 100644 --- a/templates/smcp-templates/v2.4/cr_2.4_default_template.yaml +++ b/templates/smcp-templates/v2.4/cr_2.4_default_template.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/templates/smcp-templates/v2.5/cr_2.5_default_template.yaml b/templates/smcp-templates/v2.5/cr_2.5_default_template.yaml index 74a47bb8..296f1fb2 100644 --- a/templates/smcp-templates/v2.5/cr_2.5_default_template.yaml +++ b/templates/smcp-templates/v2.5/cr_2.5_default_template.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/templates/smcp-templates/v2.6/cr_2.6_default_template.yaml b/templates/smcp-templates/v2.6/cr_2.6_default_template.yaml index 03832044..2e5a494a 100644 --- a/templates/smcp-templates/v2.6/cr_2.6_default_template.yaml +++ b/templates/smcp-templates/v2.6/cr_2.6_default_template.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: diff --git a/templates/smm-templates/smm_default_template.yaml b/templates/smm-templates/smm_default_template.yaml index 0c76ce00..613dbfd4 100644 --- a/templates/smm-templates/smm_default_template.yaml +++ b/templates/smm-templates/smm_default_template.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: maistra.io/v1 kind: ServiceMeshMember metadata: