From 3d32876ea6ac107a4f533d89eeecf8a8bb2866f9 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Thu, 24 Oct 2024 09:49:21 -0400 Subject: [PATCH] add missing headers to prod files --- .../default/prod/controllers_config_patch.yaml | 17 +++++++++++++++++ config/default/prod/kustomization.yaml | 17 +++++++++++++++++ .../default/prod/manager_auth_proxy_patch.yaml | 17 +++++++++++++++++ .../manager/prod/controller_manager_config.yaml | 17 +++++++++++++++++ config/manager/prod/controllers_cfg.yaml | 17 +++++++++++++++++ config/manager/prod/kustomization.yaml | 17 +++++++++++++++++ config/manager/prod/manager.yaml | 17 +++++++++++++++++ ...ic-operator-rhel8.clusterserviceversion.yaml | 17 +++++++++++++++++ config/manifests/prod/kustomization.yaml | 17 +++++++++++++++++ 9 files changed, 153 insertions(+) diff --git a/config/default/prod/controllers_config_patch.yaml b/config/default/prod/controllers_config_patch.yaml index 53947672d..bbb783826 100644 --- a/config/default/prod/controllers_config_patch.yaml +++ b/config/default/prod/controllers_config_patch.yaml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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/config/default/prod/kustomization.yaml b/config/default/prod/kustomization.yaml index e94f29573..3c01c0ac8 100644 --- a/config/default/prod/kustomization.yaml +++ b/config/default/prod/kustomization.yaml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + # Adds namespace to all resources. namespace: logic-operator-system diff --git a/config/default/prod/manager_auth_proxy_patch.yaml b/config/default/prod/manager_auth_proxy_patch.yaml index dce9c71d4..f584026bb 100644 --- a/config/default/prod/manager_auth_proxy_patch.yaml +++ b/config/default/prod/manager_auth_proxy_patch.yaml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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 patch inject a sidecar container which is a HTTP proxy for the # controller manager, it performs RBAC authorization against the Kubernetes API using SubjectAccessReviews. apiVersion: apps/v1 diff --git a/config/manager/prod/controller_manager_config.yaml b/config/manager/prod/controller_manager_config.yaml index 4cefd89bb..e980554b6 100644 --- a/config/manager/prod/controller_manager_config.yaml +++ b/config/manager/prod/controller_manager_config.yaml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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: controller-runtime.sigs.k8s.io/v1alpha1 kind: ControllerManagerConfig health: diff --git a/config/manager/prod/controllers_cfg.yaml b/config/manager/prod/controllers_cfg.yaml index f686b2e66..489678eed 100644 --- a/config/manager/prod/controllers_cfg.yaml +++ b/config/manager/prod/controllers_cfg.yaml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + # The default size of Kaniko PVC when using the internal operator builder manager defaultPvcKanikoSize: 1Gi # How much time (in seconds) to wait for a devmode workflow to start. diff --git a/config/manager/prod/kustomization.yaml b/config/manager/prod/kustomization.yaml index cca96aa2b..718092cae 100644 --- a/config/manager/prod/kustomization.yaml +++ b/config/manager/prod/kustomization.yaml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + resources: - manager.yaml diff --git a/config/manager/prod/manager.yaml b/config/manager/prod/manager.yaml index 765b39e89..44369e459 100644 --- a/config/manager/prod/manager.yaml +++ b/config/manager/prod/manager.yaml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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/config/manifests/prod/bases/logic-operator-rhel8.clusterserviceversion.yaml b/config/manifests/prod/bases/logic-operator-rhel8.clusterserviceversion.yaml index 8dc262df0..222dc9345 100644 --- a/config/manifests/prod/bases/logic-operator-rhel8.clusterserviceversion.yaml +++ b/config/manifests/prod/bases/logic-operator-rhel8.clusterserviceversion.yaml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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: ClusterServiceVersion metadata: diff --git a/config/manifests/prod/kustomization.yaml b/config/manifests/prod/kustomization.yaml index a60616c1e..8ea1e83e7 100644 --- a/config/manifests/prod/kustomization.yaml +++ b/config/manifests/prod/kustomization.yaml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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 resources constitute the fully configured set of manifests # used to generate the 'manifests/' directory in a bundle. resources: