From b4930b5054c0bb951e8b3fcd5ab859a8eb671c7e Mon Sep 17 00:00:00 2001 From: Oleksandr Andriienko Date: Tue, 16 Nov 2021 11:17:18 +0200 Subject: [PATCH] fix: Fix license headers (#1170) * Fix license headers. Signed-off-by: Oleksandr Andriienko --- .ci/cico_updates_openshift.sh | 3 +- .ci/oci-devworkspace-happy-path.sh | 5 +- .ci/oci-disconnected.sh | 5 +- .ci/oci-multi-host.sh | 5 +- .ci/oci-nightly-update.sh | 5 +- .ci/oci-proxy.sh | 5 +- .ci/oci-single-host.sh | 5 +- .ci/oci-stable-all-namespaces.sh | 1 + .ci/openshift-ci/.dockerignore | 4 +- .ci/openshift-ci/Dockerfile | 4 +- .github/bin/check-bundle-version.sh | 3 +- .github/bin/check-resources.sh | 1 + .github/bin/common.sh | 5 +- .github/bin/minikube/test-backup-restore.sh | 3 +- .github/bin/minikube/test-olm.sh | 5 +- .../test-operator-singlehost-gateway.sh | 3 +- .../test-operator-singlehost-native.sh | 5 +- .github/bin/minikube/test-operator-update.sh | 3 +- .../bin/minikube/test-stable-olm-update.sh | 3 +- .github/bin/minishift/certs.sh | 3 +- .github/bin/minishift/test-operator-update.sh | 3 +- .github/bin/minishift/test-operator.sh | 3 +- .../minishift/test-stable-operator-update.sh | 3 +- .github/bin/oauth-provision.sh | 5 +- .github/bin/recovery-olm-channels.sh | 11 +++ .github/bin/resources/htpasswdProvider.yaml | 12 +++ .github/bin/slack.sh | 5 +- .../build-catalog-and-bundle-images.yaml | 15 ++-- .github/workflows/codecov.yml | 3 +- .github/workflows/dependencies-md-check.yaml | 15 ++-- .../workflows/minikube-backup-restore.yaml | 14 +-- .github/workflows/minikube-olm.yaml | 14 +-- .../minikube-operator-singlehost.yaml | 15 ++-- .../workflows/minikube-operator-update.yaml | 14 +-- .../workflows/minikube-stable-olm-update.yaml | 14 +-- .../workflows/minishift-operator-update.yaml | 14 +-- .github/workflows/minishift-operator.yaml | 15 ++-- .../minishift-stable-operator-update.yaml | 14 +-- .github/workflows/next-build.yaml | 3 +- .github/workflows/pr-check.yml | 15 ++-- .github/workflows/pr-main-check.yml | 29 +++++-- .github/workflows/recovery-index-images.yaml | 15 ++-- .github/workflows/release-che-docs.yml | 12 +++ .github/workflows/release-chectl.yml | 12 +++ .../release-community-operator-PRs.yml | 12 +++ .github/workflows/release.yml | 12 +++ Dockerfile | 2 +- Makefile | 85 ++++++++++--------- api/conversion.go | 12 +++ api/conversion_test.go | 12 +++ api/v1/chebackupserverconfiguration_types.go | 2 +- api/v1/checluster_types.go | 2 +- api/v1/checlusterbackup_types.go | 2 +- api/v1/checlusterrestore_types.go | 2 +- api/v1/common.go | 3 +- api/v1/groupversion_info.go | 2 +- api/v1/zz_generated.deepcopy.go | 2 +- api/v2alpha1/checluster_types.go | 2 +- api/v2alpha1/doc.go | 2 +- api/v2alpha1/groupversion_info.go | 2 +- api/v2alpha1/zz_generated.deepcopy.go | 2 +- .../che-operator.clusterserviceversion.yaml | 16 +++- .../che-operator_v1_serviceaccount.yaml | 12 +++ .../manifests/default_v1_serviceaccount.yaml | 12 +++ .../manager-config_v1_configmap.yaml | 12 +++ ...pse.che_chebackupserverconfigurations.yaml | 12 +++ .../org.eclipse.che_checlusterbackups.yaml | 12 +++ .../org.eclipse.che_checlusterrestores.yaml | 12 +++ .../manifests/org_v1_che_crd.yaml | 16 ++-- .../metadata/annotations.yaml | 12 +++ .../metadata/dependencies.yaml | 12 +++ .../tests/scorecard/config.yaml | 12 +++ .../che-operator.clusterserviceversion.yaml | 16 +++- .../che-operator_v1_serviceaccount.yaml | 12 +++ .../manager-config_v1_configmap.yaml | 12 +++ ...pse.che_chebackupserverconfigurations.yaml | 12 +++ .../org.eclipse.che_checlusterbackups.yaml | 12 +++ .../org.eclipse.che_checlusterrestores.yaml | 12 +++ .../manifests/org_v1_che_crd.yaml | 16 ++-- .../metadata/annotations.yaml | 12 +++ .../tests/scorecard/config.yaml | 12 +++ .../che-operator.clusterserviceversion.yaml | 16 +++- .../che-operator_v1_serviceaccount.yaml | 12 +++ .../manifests/default_v1_serviceaccount.yaml | 12 +++ .../manager-config_v1_configmap.yaml | 12 +++ ...pse.che_chebackupserverconfigurations.yaml | 12 +++ .../org.eclipse.che_checlusterbackups.yaml | 12 +++ .../org.eclipse.che_checlusterrestores.yaml | 12 +++ .../manifests/org_v1_che_crd.yaml | 16 ++-- .../metadata/annotations.yaml | 12 +++ .../tests/scorecard/config.yaml | 12 +++ ...ackupserverconfigurations_crd-v1beta1.yaml | 16 ++-- ...che_chebackupserverconfigurations_crd.yaml | 16 ++-- ...pse.che_checlusterbackups_crd-v1beta1.yaml | 16 ++-- ...org.eclipse.che_checlusterbackups_crd.yaml | 16 ++-- ...se.che_checlusterrestores_crd-v1beta1.yaml | 16 ++-- ...rg.eclipse.che_checlusterrestores_crd.yaml | 16 ++-- config/crd/bases/org_v1_che_crd-v1beta1.yaml | 16 ++-- config/crd/bases/org_v1_che_crd.yaml | 16 ++-- config/crd/kustomization.yaml | 12 +++ config/crd/kustomizeconfig.yaml | 12 +++ ...tion_in_chebackupserverconfigurations.yaml | 12 +++ .../cainjection_in_checlusterbackups.yaml | 12 +++ .../cainjection_in_checlusterrestores.yaml | 12 +++ .../patches/cainjection_in_checlusters.yaml | 12 +++ ...hook_in_chebackupserverconfigurations.yaml | 12 +++ .../patches/webhook_in_checlusterbackups.yaml | 12 +++ .../webhook_in_checlusterrestores.yaml | 12 +++ .../crd/patches/webhook_in_checlusters.yaml | 12 +++ config/default/kustomization.yaml | 12 +++ config/default/manager_auth_proxy_patch.yaml | 12 +++ config/default/manager_config_patch.yaml | 12 +++ config/manager/controller-namespace.yaml | 12 +++ config/manager/kustomization.yaml | 12 +++ config/manager/manager.yaml | 16 ++-- .../che-operator.clusterserviceversion.yaml | 12 +++ config/manifests/kustomization.yaml | 12 +++ ...usterserviceversion-description-patch.yaml | 15 ++-- ...ator.clusterserviceversion-name-patch.yaml | 15 ++-- .../platforms/kubernetes/kustomization.yaml | 15 ++-- ...usterserviceversion-description-patch.yaml | 15 ++-- ...ator.clusterserviceversion-name-patch.yaml | 12 +++ config/platforms/openshift/kustomization.yaml | 12 +++ config/prometheus/kustomization.yaml | 15 ++-- config/prometheus/monitor.yaml | 15 ++-- .../rbac/auth_proxy_client_clusterrole.yaml | 15 ++-- config/rbac/auth_proxy_role.yaml | 15 ++-- config/rbac/auth_proxy_role_binding.yaml | 15 ++-- config/rbac/auth_proxy_service.yaml | 15 ++-- ...backupserverconfiguration_editor_role.yaml | 12 +++ ...backupserverconfiguration_viewer_role.yaml | 12 +++ config/rbac/checluster_editor_role.yaml | 15 ++-- config/rbac/checluster_viewer_role.yaml | 15 ++-- config/rbac/checlusterbackup_editor_role.yaml | 12 +++ config/rbac/checlusterbackup_viewer_role.yaml | 12 +++ .../rbac/checlusterrestore_editor_role.yaml | 12 +++ .../rbac/checlusterrestore_viewer_role.yaml | 12 +++ config/rbac/cluster_role.yaml | 15 ++-- config/rbac/cluster_rolebinding.yaml | 15 ++-- config/rbac/kustomization.yaml | 15 ++-- config/rbac/leader_election_role.yaml | 15 ++-- config/rbac/leader_election_role_binding.yaml | 15 ++-- config/rbac/role.yaml | 15 ++-- config/rbac/role_binding.yaml | 15 ++-- config/rbac/service_account.yaml | 15 ++-- .../devworkspace_flattened_theia-nodejs.yaml | 12 +++ config/samples/kustomization.yaml | 12 +++ .../org.eclipse.che_v1_checluster.yaml | 15 ++-- .../org_v1_chebackupserverconfiguration.yaml | 16 ++-- config/samples/org_v1_checlusterbackup.yaml | 16 ++-- config/samples/org_v1_checlusterrestore.yaml | 16 ++-- config/samples/org_v2alpha1_checluster.yaml | 16 ++-- config/scorecard/bases/config.yaml | 12 +++ config/scorecard/kustomization.yaml | 12 +++ config/scorecard/patches/basic.config.yaml | 12 +++ config/scorecard/patches/olm.config.yaml | 12 +++ controllers/che/backup.go | 3 +- controllers/che/backup_test.go | 2 +- controllers/che/checluster_controller.go | 2 +- controllers/che/checluster_controller_test.go | 3 +- controllers/che/checluster_validator.go | 1 + controllers/che/cheobj_verifier.go | 3 +- controllers/che/cheobj_verifier_test.go | 3 +- controllers/che/configmap_cert.go | 3 +- controllers/che/configmap_cert_test.go | 3 +- controllers/che/create.go | 3 +- controllers/che/gateway_permission.go | 2 +- controllers/che/init_test.go | 2 +- controllers/che/permission_checker.go | 6 +- controllers/che/proxy.go | 2 +- controllers/che/proxy_test.go | 2 +- .../che/workspace_namespace_permission.go | 6 +- .../workspace_namespace_permission_test.go | 2 +- .../checlusterbackup/backup_context.go | 2 +- .../checlusterbackup/backup_data_collector.go | 2 +- .../checlusterbackup_controller.go | 2 +- .../internal_backup_server.go | 2 +- .../checlusterrestore/backup_data_restorer.go | 2 +- .../checlusterrestore_controller.go | 2 +- .../checlusterrestore/restore_context.go | 2 +- controllers/devworkspace/controller.go | 2 +- controllers/devworkspace/controller_test.go | 12 +++ controllers/devworkspace/defaults/defaults.go | 12 +++ .../devworkspace/solver/che_routing_test.go | 12 +++ controllers/devworkspace/solver/doc.go | 12 +++ .../devworkspace/solver/endpoint_exposer.go | 1 + controllers/devworkspace/solver/solver.go | 2 +- controllers/devworkspace/sync/sync.go | 2 +- controllers/devworkspace/sync/sync_test.go | 12 +++ devfile.yaml | 12 +++ hack/boilerplate.go.txt | 2 +- hack/license-header.txt | 11 +++ main.go | 2 +- make-release.sh | 3 +- olm/addDigests.sh | 7 +- olm/buildAndPushBundleImages.sh | 3 +- olm/buildDigestMap.sh | 3 +- olm/check-yq.sh | 3 +- olm/ci.yaml | 12 +++ olm/docker-run.sh | 3 +- olm/dockerContainerExtract.sh | 12 +++ olm/force-pulling-olm-images-job.yaml | 15 ++-- olm/images.sh | 3 +- olm/license.txt | 10 --- olm/minikube-registry-addon.sh | 3 +- olm/olm.sh | 3 +- olm/prepare-community-operators-update.sh | 3 +- olm/release-olm-files.sh | 18 ++-- olm/testCatalogSource.sh | 3 +- olm/testUpdate.sh | 3 +- pkg/backup_servers/awss3_server.go | 2 +- pkg/backup_servers/backup_servers.go | 2 +- pkg/backup_servers/rest_server.go | 2 +- pkg/backup_servers/restic-client.go | 2 +- pkg/backup_servers/sftp_server.go | 2 +- pkg/backup_servers/util.go | 2 +- pkg/deploy/checluster.go | 2 +- pkg/deploy/checluster_test.go | 2 +- pkg/deploy/clusterrole.go | 2 +- pkg/deploy/clusterrole_test.go | 2 +- pkg/deploy/clusterrolebinding.go | 2 +- pkg/deploy/clusterrolebinding_test.go | 2 +- pkg/deploy/configmap.go | 2 +- pkg/deploy/configmap_test.go | 2 +- pkg/deploy/consolelink.go | 2 +- pkg/deploy/consolelink_test.go | 2 +- pkg/deploy/dashboard/dashboard.go | 2 +- .../dashboard/dashboard_deployment_test.go | 2 +- pkg/deploy/dashboard/dashboard_test.go | 2 +- pkg/deploy/dashboard/deployment_dashboard.go | 2 +- pkg/deploy/dashboard/init_test.go | 2 +- pkg/deploy/dashboard/rbac.go | 2 +- pkg/deploy/data_types.go | 2 +- pkg/deploy/defaults.go | 2 +- pkg/deploy/defaults.go.update.sh | 11 +++ pkg/deploy/defaults_test.go | 2 +- pkg/deploy/deployment.go | 2 +- pkg/deploy/deployment_test.go | 2 +- pkg/deploy/dev-workspace/dev_workspace.go | 2 +- .../dev-workspace/dev_workspace_test.go | 2 +- pkg/deploy/dev-workspace/init_test.go | 2 +- pkg/deploy/dev-workspace/object_cache.go | 2 +- pkg/deploy/dev-workspace/sync.go | 2 +- pkg/deploy/dev-workspace/sync_test.go | 2 +- pkg/deploy/devfileregistry/devfileregistry.go | 2 +- .../devfileregistry_configmap.go | 2 +- .../devfileregistry_deployment.go | 2 +- .../devfileregistry_deployment_test.go | 2 +- .../devfileregistry/devfileregistry_test.go | 2 +- pkg/deploy/devfileregistry/init_test.go | 2 +- pkg/deploy/expose/expose.go | 2 +- pkg/deploy/finalizer.go | 2 +- pkg/deploy/finalizer_test.go | 2 +- pkg/deploy/gateway/init_test.go | 2 +- .../identity-provider/deployment_keycloak.go | 2 +- .../deployment_keycloak_test.go | 2 +- pkg/deploy/identity-provider/exec.go | 2 +- .../identity-provider/identity_provider.go | 2 +- .../identity_provider_test.go | 2 +- pkg/deploy/identity-provider/init_test.go | 2 +- .../identity-provider/keycloak_readiness.go | 2 +- pkg/deploy/image-puller/imagepuller.go | 2 +- pkg/deploy/image-puller/imagepuller_test.go | 2 +- pkg/deploy/image-puller/init_test.go | 2 +- pkg/deploy/ingres_test.go | 2 +- pkg/deploy/ingress.go | 2 +- pkg/deploy/init_test.go | 2 +- pkg/deploy/job.go | 2 +- pkg/deploy/job_test.go | 2 +- pkg/deploy/labels.go | 2 +- pkg/deploy/labels_test.go | 2 +- pkg/deploy/oauthclient.go | 2 +- pkg/deploy/openshift-oauth/init_test.go | 2 +- .../openshift-oauth/openshiftoauth_user.go | 2 +- .../openshiftoauth_user_test.go | 2 +- .../openshift-oauth/openshiftoauth_util.go | 2 +- pkg/deploy/pluginregistry/init_test.go | 2 +- pkg/deploy/pluginregistry/pluginregistry.go | 2 +- .../pluginregistry_configmap.go | 2 +- .../pluginregistry_deployment.go | 2 +- .../pluginregistry_deployment_test.go | 2 +- pkg/deploy/postgres/init_test.go | 2 +- pkg/deploy/postgres/postgres.go | 2 +- pkg/deploy/postgres/postgres_readiness.go | 2 +- pkg/deploy/postgres/postgres_test.go | 2 +- pkg/deploy/proxy.go | 2 +- pkg/deploy/proxy_test.go | 2 +- pkg/deploy/pvc.go | 2 +- pkg/deploy/pvc_test.go | 2 +- pkg/deploy/registry/registry_deployment.go | 2 +- pkg/deploy/role.go | 2 +- pkg/deploy/role_test.go | 2 +- pkg/deploy/rolebinding.go | 2 +- pkg/deploy/rolebinding_test.go | 2 +- pkg/deploy/route.go | 2 +- pkg/deploy/route_test.go | 2 +- pkg/deploy/secret.go | 2 +- pkg/deploy/sercet_test.go | 2 +- pkg/deploy/server/init_test.go | 2 +- pkg/deploy/server/server.go | 2 +- pkg/deploy/server/server_configmap.go | 2 +- pkg/deploy/server/server_configmap_test.go | 2 +- pkg/deploy/server/server_deployment.go | 2 +- pkg/deploy/server/server_deployment_test.go | 2 +- pkg/deploy/server/server_test.go | 2 +- pkg/deploy/service.go | 2 +- pkg/deploy/service_account.go | 2 +- pkg/deploy/service_test.go | 2 +- pkg/deploy/sync.go | 2 +- pkg/deploy/sync_test.go | 2 +- pkg/deploy/test_util.go | 2 +- pkg/deploy/tls.go | 2 +- pkg/deploy/tls_test.go | 2 +- pkg/signal/signal_handler.go | 2 +- pkg/util/checluster_util.go | 2 +- pkg/util/checluster_util_test.go | 2 +- pkg/util/k8s_helpers.go | 2 +- pkg/util/k8s_helpers_test.go | 2 +- pkg/util/process.go | 2 +- pkg/util/util.go | 2 +- pkg/util/util_test.go | 2 +- templates/create-github-identity-provider.sh | 2 +- templates/delete-identity-provider.sh | 2 +- templates/keycloak-provision.sh | 2 +- templates/keycloak-update.sh | 2 +- templates/oauth-provision.sh | 2 +- tools.go | 12 +++ version/version.go | 12 +++ 328 files changed, 1695 insertions(+), 621 deletions(-) create mode 100644 hack/license-header.txt delete mode 100644 olm/license.txt diff --git a/.ci/cico_updates_openshift.sh b/.ci/cico_updates_openshift.sh index 86e31e0ea..7066604aa 100755 --- a/.ci/cico_updates_openshift.sh +++ b/.ci/cico_updates_openshift.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# set -e set -x diff --git a/.ci/oci-devworkspace-happy-path.sh b/.ci/oci-devworkspace-happy-path.sh index 8ef556a58..3bd84d9e9 100755 --- a/.ci/oci-devworkspace-happy-path.sh +++ b/.ci/oci-devworkspace-happy-path.sh @@ -1,12 +1,15 @@ #!/bin/bash # -# Copyright (c) 2012-2021 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 # +# Contributors: +# Red Hat, Inc. - initial API and implementation +# # exit immediately when a command fails set -e diff --git a/.ci/oci-disconnected.sh b/.ci/oci-disconnected.sh index eaa36f720..2549b0e0b 100755 --- a/.ci/oci-disconnected.sh +++ b/.ci/oci-disconnected.sh @@ -1,12 +1,15 @@ #!/bin/bash # -# Copyright (c) 2012-2021 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 # +# Contributors: +# Red Hat, Inc. - initial API and implementation +# # exit immediately when a command fails set -e diff --git a/.ci/oci-multi-host.sh b/.ci/oci-multi-host.sh index 1b1264371..9a2fd2605 100755 --- a/.ci/oci-multi-host.sh +++ b/.ci/oci-multi-host.sh @@ -1,12 +1,15 @@ #!/bin/bash # -# Copyright (c) 2012-2021 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 # +# Contributors: +# Red Hat, Inc. - initial API and implementation +# ################################ !!! IMPORTANT !!! ################################ ########### THIS JOB USE openshift ci operators workflows to run ##################### diff --git a/.ci/oci-nightly-update.sh b/.ci/oci-nightly-update.sh index d154080c8..10887cd50 100755 --- a/.ci/oci-nightly-update.sh +++ b/.ci/oci-nightly-update.sh @@ -1,12 +1,15 @@ #!/bin/bash # -# Copyright (c) 2012-2021 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 # +# Contributors: +# Red Hat, Inc. - initial API and implementation +# ################################ !!! IMPORTANT !!! ################################ ########### THIS JOB USE openshift ci operators workflows to run ##################### diff --git a/.ci/oci-proxy.sh b/.ci/oci-proxy.sh index e28f01657..8c2bed406 100755 --- a/.ci/oci-proxy.sh +++ b/.ci/oci-proxy.sh @@ -1,12 +1,15 @@ #!/bin/bash # -# Copyright (c) 2012-2021 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 # +# Contributors: +# Red Hat, Inc. - initial API and implementation +# # exit immediately when a command fails set -e diff --git a/.ci/oci-single-host.sh b/.ci/oci-single-host.sh index 88c0b0426..c3352afaf 100755 --- a/.ci/oci-single-host.sh +++ b/.ci/oci-single-host.sh @@ -1,12 +1,15 @@ #!/bin/bash # -# Copyright (c) 2012-2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 # +# Contributors: +# Red Hat, Inc. - initial API and implementation +# ################################ !!! IMPORTANT !!! ################################ ########### THIS JOB USE openshift ci operators workflows to run ##################### diff --git a/.ci/oci-stable-all-namespaces.sh b/.ci/oci-stable-all-namespaces.sh index 7895a44a9..83b08b8a2 100755 --- a/.ci/oci-stable-all-namespaces.sh +++ b/.ci/oci-stable-all-namespaces.sh @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# # exit immediately when a command fails set -e diff --git a/.ci/openshift-ci/.dockerignore b/.ci/openshift-ci/.dockerignore index 2b99028c8..098838f99 100644 --- a/.ci/openshift-ci/.dockerignore +++ b/.ci/openshift-ci/.dockerignore @@ -1,6 +1,5 @@ -#!/bin/bash # -# Copyright (c) 2012-2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +8,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# **/*.diff **/*.sh diff --git a/.ci/openshift-ci/Dockerfile b/.ci/openshift-ci/Dockerfile index 36ae252a5..78172ec0e 100644 --- a/.ci/openshift-ci/Dockerfile +++ b/.ci/openshift-ci/Dockerfile @@ -1,6 +1,5 @@ -#!/bin/bash # -# Copyright (c) 2012-2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +8,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# # Dockerfile to bootstrap build and test in openshift-ci diff --git a/.github/bin/check-bundle-version.sh b/.github/bin/check-bundle-version.sh index 93c978db3..ab2b69075 100755 --- a/.github/bin/check-bundle-version.sh +++ b/.github/bin/check-bundle-version.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2021 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# set -e diff --git a/.github/bin/check-resources.sh b/.github/bin/check-resources.sh index 499c922a7..7b44a7b7c 100755 --- a/.github/bin/check-resources.sh +++ b/.github/bin/check-resources.sh @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# # Checks if repository resources are up to date: # - CRDs diff --git a/.github/bin/common.sh b/.github/bin/common.sh index d886aa98e..cd9401729 100755 --- a/.github/bin/common.sh +++ b/.github/bin/common.sh @@ -1,12 +1,15 @@ #!/bin/bash # -# Copyright (c) 2012-2021 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 # +# Contributors: +# Red Hat, Inc. - initial API and implementation +# set -e set -x diff --git a/.github/bin/minikube/test-backup-restore.sh b/.github/bin/minikube/test-backup-restore.sh index 102c78be3..4782df5f4 100755 --- a/.github/bin/minikube/test-backup-restore.sh +++ b/.github/bin/minikube/test-backup-restore.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2021 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# set -e set -x diff --git a/.github/bin/minikube/test-olm.sh b/.github/bin/minikube/test-olm.sh index fcfb3befa..0f1d10af5 100755 --- a/.github/bin/minikube/test-olm.sh +++ b/.github/bin/minikube/test-olm.sh @@ -1,12 +1,15 @@ #!/bin/bash # -# Copyright (c) 2012-2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 # +# Contributors: +# Red Hat, Inc. - initial API and implementation +# set -e set -x diff --git a/.github/bin/minikube/test-operator-singlehost-gateway.sh b/.github/bin/minikube/test-operator-singlehost-gateway.sh index 31e892e00..628f538a7 100755 --- a/.github/bin/minikube/test-operator-singlehost-gateway.sh +++ b/.github/bin/minikube/test-operator-singlehost-gateway.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# set -e set -x diff --git a/.github/bin/minikube/test-operator-singlehost-native.sh b/.github/bin/minikube/test-operator-singlehost-native.sh index 9a736adff..19219a6cf 100755 --- a/.github/bin/minikube/test-operator-singlehost-native.sh +++ b/.github/bin/minikube/test-operator-singlehost-native.sh @@ -1,6 +1,6 @@ -#!/usr/bin/env bash +#!/bin/bash # -# Copyright (c) 2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# set -e set -x diff --git a/.github/bin/minikube/test-operator-update.sh b/.github/bin/minikube/test-operator-update.sh index 78658a212..ea5a96598 100755 --- a/.github/bin/minikube/test-operator-update.sh +++ b/.github/bin/minikube/test-operator-update.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# set -e set -x diff --git a/.github/bin/minikube/test-stable-olm-update.sh b/.github/bin/minikube/test-stable-olm-update.sh index c50788911..47c2dc412 100755 --- a/.github/bin/minikube/test-stable-olm-update.sh +++ b/.github/bin/minikube/test-stable-olm-update.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# set -e set -x diff --git a/.github/bin/minishift/certs.sh b/.github/bin/minishift/certs.sh index 757a7e4d7..12fdc5f92 100755 --- a/.github/bin/minishift/certs.sh +++ b/.github/bin/minishift/certs.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2012-2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# # Please note. This certificates are generated only in MacOS export CA_CN="Local Eclipse Che Signer" diff --git a/.github/bin/minishift/test-operator-update.sh b/.github/bin/minishift/test-operator-update.sh index e80e4bd31..40f67ed46 100755 --- a/.github/bin/minishift/test-operator-update.sh +++ b/.github/bin/minishift/test-operator-update.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# set -e set -x diff --git a/.github/bin/minishift/test-operator.sh b/.github/bin/minishift/test-operator.sh index 868cd5288..0221a07ce 100755 --- a/.github/bin/minishift/test-operator.sh +++ b/.github/bin/minishift/test-operator.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# set -e set -x diff --git a/.github/bin/minishift/test-stable-operator-update.sh b/.github/bin/minishift/test-stable-operator-update.sh index 399c37ab1..01342082d 100755 --- a/.github/bin/minishift/test-stable-operator-update.sh +++ b/.github/bin/minishift/test-stable-operator-update.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# set -e set -x diff --git a/.github/bin/oauth-provision.sh b/.github/bin/oauth-provision.sh index bc42440a1..fc35b2c50 100644 --- a/.github/bin/oauth-provision.sh +++ b/.github/bin/oauth-provision.sh @@ -1,12 +1,15 @@ #!/bin/bash # -# Copyright (c) 2012-2021 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 # +# Contributors: +# Red Hat, Inc. - initial API and implementation +# # exit immediately when a command fails set -e diff --git a/.github/bin/recovery-olm-channels.sh b/.github/bin/recovery-olm-channels.sh index dbed474cd..8960d7250 100755 --- a/.github/bin/recovery-olm-channels.sh +++ b/.github/bin/recovery-olm-channels.sh @@ -1,4 +1,15 @@ #!/bin/bash +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# if [ -n "${GITHUB_WORKSPACE}" ]; then ROOT_PROJECT_DIR="${GITHUB_WORKSPACE}" diff --git a/.github/bin/resources/htpasswdProvider.yaml b/.github/bin/resources/htpasswdProvider.yaml index 6818e49b5..731a871a9 100644 --- a/.github/bin/resources/htpasswdProvider.yaml +++ b/.github/bin/resources/htpasswdProvider.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: config.openshift.io/v1 kind: OAuth metadata: diff --git a/.github/bin/slack.sh b/.github/bin/slack.sh index a9a3424ff..2abbff152 100644 --- a/.github/bin/slack.sh +++ b/.github/bin/slack.sh @@ -1,12 +1,15 @@ #!/bin/bash # -# Copyright (c) 2012-2021 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ # # SPDX-License-Identifier: EPL-2.0 # +# Contributors: +# Red Hat, Inc. - initial API and implementation +# # exit immediately when a command fails set -e diff --git a/.github/workflows/build-catalog-and-bundle-images.yaml b/.github/workflows/build-catalog-and-bundle-images.yaml index 03c771f72..cfaa56dd3 100644 --- a/.github/workflows/build-catalog-and-bundle-images.yaml +++ b/.github/workflows/build-catalog-and-bundle-images.yaml @@ -1,14 +1,15 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation # + name: Build catalog and bundle images on: # manual trigger if required diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index b625a0054..e148252be 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -1,5 +1,5 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -8,6 +8,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# name: Code Coverage Report on: [push] diff --git a/.github/workflows/dependencies-md-check.yaml b/.github/workflows/dependencies-md-check.yaml index 6ccbfa80d..0556df3f5 100644 --- a/.github/workflows/dependencies-md-check.yaml +++ b/.github/workflows/dependencies-md-check.yaml @@ -1,14 +1,15 @@ # -# Copyright (c) 2019-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation # + name: DEPENDENCIES.md file validation on: pull_request jobs: diff --git a/.github/workflows/minikube-backup-restore.yaml b/.github/workflows/minikube-backup-restore.yaml index 3736e059e..979bf8056 100644 --- a/.github/workflows/minikube-backup-restore.yaml +++ b/.github/workflows/minikube-backup-restore.yaml @@ -1,13 +1,13 @@ # -# Copyright (c) 2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation # name: Minikube diff --git a/.github/workflows/minikube-olm.yaml b/.github/workflows/minikube-olm.yaml index 3a165888c..04a5224f4 100644 --- a/.github/workflows/minikube-olm.yaml +++ b/.github/workflows/minikube-olm.yaml @@ -1,13 +1,13 @@ # -# Copyright (c) 2012-2020 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation # name: Minikube diff --git a/.github/workflows/minikube-operator-singlehost.yaml b/.github/workflows/minikube-operator-singlehost.yaml index effdd00ef..a6c505148 100644 --- a/.github/workflows/minikube-operator-singlehost.yaml +++ b/.github/workflows/minikube-operator-singlehost.yaml @@ -1,14 +1,15 @@ # -# Copyright (c) 2012-2020 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation # + name: Minikube on: pull_request jobs: diff --git a/.github/workflows/minikube-operator-update.yaml b/.github/workflows/minikube-operator-update.yaml index ec89b47a6..dd0a1bff3 100644 --- a/.github/workflows/minikube-operator-update.yaml +++ b/.github/workflows/minikube-operator-update.yaml @@ -1,13 +1,13 @@ # -# Copyright (c) 2012-2020 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation # name: Minikube diff --git a/.github/workflows/minikube-stable-olm-update.yaml b/.github/workflows/minikube-stable-olm-update.yaml index 85705d906..496a53ec1 100644 --- a/.github/workflows/minikube-stable-olm-update.yaml +++ b/.github/workflows/minikube-stable-olm-update.yaml @@ -1,13 +1,13 @@ # -# Copyright (c) 2012-2020 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation # name: Minikube diff --git a/.github/workflows/minishift-operator-update.yaml b/.github/workflows/minishift-operator-update.yaml index 538cd1836..743b9a107 100644 --- a/.github/workflows/minishift-operator-update.yaml +++ b/.github/workflows/minishift-operator-update.yaml @@ -1,13 +1,13 @@ # -# Copyright (c) 2012-2020 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation # name: Minishift diff --git a/.github/workflows/minishift-operator.yaml b/.github/workflows/minishift-operator.yaml index 0d8fc27be..7aba83bc4 100644 --- a/.github/workflows/minishift-operator.yaml +++ b/.github/workflows/minishift-operator.yaml @@ -1,13 +1,14 @@ # -# Copyright (c) 2012-2020 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation # -# Contributors: -# Red Hat, Inc. - initial API and implementation name: Minishift on: pull_request diff --git a/.github/workflows/minishift-stable-operator-update.yaml b/.github/workflows/minishift-stable-operator-update.yaml index 3d2e80922..fd82da12d 100644 --- a/.github/workflows/minishift-stable-operator-update.yaml +++ b/.github/workflows/minishift-stable-operator-update.yaml @@ -1,13 +1,13 @@ # -# Copyright (c) 2012-2020 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation # name: Minishift diff --git a/.github/workflows/next-build.yaml b/.github/workflows/next-build.yaml index f38b45321..f10025f9a 100644 --- a/.github/workflows/next-build.yaml +++ b/.github/workflows/next-build.yaml @@ -1,5 +1,5 @@ # -# Copyright (c) 2012-2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -8,6 +8,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# name: Build next images diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 8eff111f5..20be73664 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -1,14 +1,15 @@ # -# Copyright (c) 2012-2020 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation # + name: PR validation on: pull_request jobs: diff --git a/.github/workflows/pr-main-check.yml b/.github/workflows/pr-main-check.yml index 65e323035..ae4f06712 100644 --- a/.github/workflows/pr-main-check.yml +++ b/.github/workflows/pr-main-check.yml @@ -1,14 +1,15 @@ # -# Copyright (c) 2019-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation # + name: PR validation on: pull_request: @@ -74,7 +75,9 @@ jobs: - name: Check format run: | go get -u golang.org/x/tools/cmd/goimports + go get -u github.com/che-incubator/check-license-header@379ba18fdb906d341ae451ea155cc34f1c4b4f1a git reset HEAD --hard + echo "[INFO] Check code format and imports." make fmt if [[ ! -z $(git status -s) ]] then @@ -83,3 +86,15 @@ jobs: git --no-pager diff exit 1 fi + + echo "[INFO] Check license headers." + FILES_TO_CHECK_LICENSE=$(find . \ + -not -path "./mocks/*" \ + -not -path "./vendor/*" \ + -not -path "./testbin/*" \ + -not -path "./bundle/tech-preview-stable-all-namespaces/*" \ + -not -path "./bundle/stable/*" \ + -not -path "./config/manager/controller_manager_config.yaml" \ + \( -name '*.sh' -o -name "*.go" -o -name "*.yaml" -o -name "*.yml" \)) + LICENSE_TEMPLATE="${GITHUB_WORKSPACE}/hack/license-header.txt" + check-license-header -f "${LICENSE_TEMPLATE}" ${FILES_TO_CHECK_LICENSE} diff --git a/.github/workflows/recovery-index-images.yaml b/.github/workflows/recovery-index-images.yaml index 1f6b30def..90242132f 100644 --- a/.github/workflows/recovery-index-images.yaml +++ b/.github/workflows/recovery-index-images.yaml @@ -1,14 +1,15 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation # + name: Recovery OLM channels in the index images on: # manual trigger if required diff --git a/.github/workflows/release-che-docs.yml b/.github/workflows/release-che-docs.yml index 6d4aa928f..89a911ec8 100644 --- a/.github/workflows/release-che-docs.yml +++ b/.github/workflows/release-che-docs.yml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # This Workflow creates PRs for the release of the latest che-docs name: Release che docs on: diff --git a/.github/workflows/release-chectl.yml b/.github/workflows/release-chectl.yml index 92188ec8d..a8c49782e 100644 --- a/.github/workflows/release-chectl.yml +++ b/.github/workflows/release-chectl.yml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # This Workflow creates PRs for the release of the latest chectl name: Release chectl on: diff --git a/.github/workflows/release-community-operator-PRs.yml b/.github/workflows/release-community-operator-PRs.yml index d17abf648..f8008b186 100644 --- a/.github/workflows/release-community-operator-PRs.yml +++ b/.github/workflows/release-community-operator-PRs.yml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # This Workflow creates PRs for the release of the latest che-operator to the community operators in OperatorHub name: Release community operator PRs on: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e4ae230c0..d73d4cae9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # This Workflow performs a full release of che-operator name: Release Che Operator on: diff --git a/Dockerfile b/Dockerfile index ae8c9d5d2..2b0004a29 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# Copyright (c) 2018-2021 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/Makefile b/Makefile index 4f8009f4c..0d4b214e1 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,16 @@ +#!/bin/bash +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # VERSION defines the project version for the bundle. # Update this value when you upgrade the version of your project. # To re-generate a bundle for another specific version without changing the standard setup, you can: @@ -146,34 +159,7 @@ removeRequiredAttribute: mv $${filePath}.tmp $${filePath} -ensure-license-header: - if [ -z $(FILE) ]; then - echo "[ERROR] Provide argument `FILE` with file path value." - exit 1 - fi - - fileHeader=$$(head -10 $(FILE) | tr --delete '\n' | tr --delete '\r') - licenseMarker="Copyright (c)" - - case "$${fileHeader}" in - *$${licenseMarker}*) return ;; - esac; - - echo "# - # Copyright (c) 2019-2021 Red Hat, Inc. - # This program and the accompanying materials are made - # available under the terms of the Eclipse Public License 2.0 - # which is available at https://www.eclipse.org/legal/epl-2.0/ - # - # SPDX-License-Identifier: EPL-2.0 - # - # Contributors: - # Red Hat, Inc. - initial API and implementation" > $(FILE).tmp - - cat $(FILE) >> $(FILE).tmp - mv $(FILE).tmp $(FILE) - -manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects. +manifests: controller-gen add-license-download ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects. # Generate CRDs v1beta1 $(CONTROLLER_GEN) $(CRD_BETA_OPTIONS) rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases mv "$(ECLIPSE_CHE_CRD)" "$(ECLIPSE_CHE_CRD_V1BETA1)" @@ -228,14 +214,7 @@ manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and Cust $(MAKE) removeRequiredAttribute "filePath=$(ECLIPSE_CHE_BACKUP_CRD_V1BETA1)" $(MAKE) removeRequiredAttribute "filePath=$(ECLIPSE_CHE_RESTORE_CRD_V1BETA1)" - $(MAKE) ensure-license-header FILE="$(ECLIPSE_CHE_CRD_V1BETA1)" - $(MAKE) ensure-license-header FILE="$(ECLIPSE_CHE_BACKUP_SERVER_CONFIGURATION_CRD_V1BETA1)" - $(MAKE) ensure-license-header FILE="$(ECLIPSE_CHE_BACKUP_CRD_V1BETA1)" - $(MAKE) ensure-license-header FILE="$(ECLIPSE_CHE_RESTORE_CRD_V1BETA1)" - $(MAKE) ensure-license-header FILE="$(ECLIPSE_CHE_CRD_V1)" - $(MAKE) ensure-license-header FILE="$(ECLIPSE_CHE_BACKUP_SERVER_CONFIGURATION_CRD_V1)" - $(MAKE) ensure-license-header FILE="$(ECLIPSE_CHE_BACKUP_CRD_V1)" - $(MAKE) ensure-license-header FILE="$(ECLIPSE_CHE_RESTORE_CRD_V1)" + $(MAKE) add-license $$(find ./config/crd -not -path "./vendor/*" -name "*.yaml") generate: controller-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations. $(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./..." @@ -248,7 +227,7 @@ compile: GOOS=linux GOARCH=amd64 CGO_ENABLED=0 GO111MODULE=on go build -mod=vendor -a -o "$${binary}" main.go echo "che-operator binary compiled to $${binary}" -fmt: ## Run go fmt against code. +fmt: add-license-download ## Run go fmt against code. ifneq ($(shell command -v goimports 2> /dev/null),) find . -not -path "./vendor/*" -name "*.go" -exec goimports -w {} \; else @@ -257,6 +236,16 @@ fmt: ## Run go fmt against code. go fmt -x ./... endif + FILES_TO_CHECK_LICENSE=$$(find . \ + -not -path "./mocks/*" \ + -not -path "./vendor/*" \ + -not -path "./testbin/*" \ + -not -path "./bundle/tech-preview-stable-all-namespaces/*" \ + -not -path "./bundle/stable/*" \ + -not -path "./config/manager/controller_manager_config.yaml" \ + \( -name '*.sh' -o -name "*.go" -o -name "*.yaml" -o -name "*.yml" \)) + $(MAKE) add-license $${FILES_TO_CHECK_LICENSE} + vet: ## Run go vet against code. go vet ./... @@ -384,7 +373,7 @@ create-env-file: prepare-templates echo "WATCH_NAMESPACE='${ECLIPSE_CHE_NAMESPACE}'" >> "${ENV_FILE}" create-full-env-file: create-env-file - cat ./config/manager/manager.yaml | \ + cat ./$(OPERATOR_YAML) | \ yq -r '.spec.template.spec.containers[0].env[] | select(.name == "WATCH_NAMESPACE" | not) | "export \(.name)=\"\(.value)\""' \ >> ${ENV_FILE} echo "[INFO] Env file: ${ENV_FILE}" @@ -406,6 +395,15 @@ KUSTOMIZE = $(shell pwd)/bin/kustomize kustomize: ## Download kustomize locally if necessary. $(call go-get-tool,$(KUSTOMIZE),sigs.k8s.io/kustomize/kustomize/v3@v3.8.7) +ADD_LICENSE = $(shell pwd)/bin/addlicense +add-license-download: ## Download addlicense locally if necessary. + $(call go-get-tool,$(ADD_LICENSE),github.com/google/addlicense@99ebc9c9db7bceb8623073e894533b978d7b7c8a) + +add-license: + # Get all argument and remove make goal("add-license") to get only list files + FILES=$$(echo $(filter-out $@,$(MAKECMDGOALS))) + $(ADD_LICENSE) -f hack/license-header.txt $${FILES} + # go-get-tool will 'go get' any package $2 and install it to $1. PROJECT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST)))) define go-get-tool @@ -534,7 +532,8 @@ bundle: generate manifests kustomize ## Generate bundle manifests and metadata, if [ "$${platform}" = "openshift" ]; then yq -riY '.spec.preserveUnknownFields = false' $${platformCRD} fi - $(MAKE) ensure-license-header FILE="$${platformCRD}" + # todo try to set up header everywhere in the bundle + $(MAKE) add-license "$${platformCRD}" if [ -n "$(TAG)" ]; then echo "[INFO] Set tags in next OLM files" @@ -692,7 +691,8 @@ bundle: generate manifests kustomize ## Generate bundle manifests and metadata, yq -rY "." "$${NEW_CSV}" > "$${NEW_CSV}.old" mv "$${NEW_CSV}.old" "$${NEW_CSV}" - # $(MAKE) ensure-license-header "$${NEW_CSV}" + $(MAKE) add-license $$(find $${BUNDLE_PATH} -name "*.yaml") + $(MAKE) add-license $${BASE_CSV} getPackageName: if [ -z "$(platform)" ]; then @@ -826,7 +826,7 @@ check-requirements: *) echo "[ERROR] operator-sdk $${REQUIRED_OPERATOR_SDK} is required"; exit 1 ;; esac -update-deployment-yaml-images: +update-deployment-yaml-images: add-license-download if [ -z $(UBI8_MINIMAL_IMAGE) ] || [ -z $(PLUGIN_BROKER_METADATA_IMAGE) ] || [ -z $(PLUGIN_BROKER_ARTIFACTS_IMAGE) ] || [ -z $(JWT_PROXY_IMAGE) ]; then echo "[ERROR] Define required arguments: `UBI8_MINIMAL_IMAGE`, `PLUGIN_BROKER_METADATA_IMAGE`, `PLUGIN_BROKER_ARTIFACTS_IMAGE`, `JWT_PROXY_IMAGE`" exit 1 @@ -835,7 +835,8 @@ update-deployment-yaml-images: yq -riY "( .spec.template.spec.containers[] | select(.name == \"che-operator\").env[] | select(.name == \"RELATED_IMAGE_che_workspace_plugin_broker_metadata\") | .value ) = \"$(PLUGIN_BROKER_METADATA_IMAGE)\"" $(OPERATOR_YAML) yq -riY "( .spec.template.spec.containers[] | select(.name == \"che-operator\").env[] | select(.name == \"RELATED_IMAGE_che_workspace_plugin_broker_artifacts\") | .value ) = \"$(PLUGIN_BROKER_ARTIFACTS_IMAGE)\"" $(OPERATOR_YAML) yq -riY "( .spec.template.spec.containers[] | select(.name == \"che-operator\").env[] | select(.name == \"RELATED_IMAGE_che_server_secure_exposer_jwt_proxy_image\") | .value ) = \"$(JWT_PROXY_IMAGE)\"" $(OPERATOR_YAML) - $(MAKE) ensure-license-header FILE="config/manager/manager.yaml" + + $(MAKE) add-license $(OPERATOR_YAML) update-dockerfile-image: if [ -z $(UBI8_MINIMAL_IMAGE) ]; then diff --git a/api/conversion.go b/api/conversion.go index 33fbe4e6e..acab9f943 100644 --- a/api/conversion.go +++ b/api/conversion.go @@ -1,3 +1,15 @@ +// +// Copyright (c) 2019-2021 Red Hat, Inc. +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// +// Contributors: +// Red Hat, Inc. - initial API and implementation +// + package org import ( diff --git a/api/conversion_test.go b/api/conversion_test.go index 9595149f1..523255dd5 100644 --- a/api/conversion_test.go +++ b/api/conversion_test.go @@ -1,3 +1,15 @@ +// +// Copyright (c) 2019-2021 Red Hat, Inc. +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// +// Contributors: +// Red Hat, Inc. - initial API and implementation +// + package org import ( diff --git a/api/v1/chebackupserverconfiguration_types.go b/api/v1/chebackupserverconfiguration_types.go index 83957a281..f3a9b0acb 100644 --- a/api/v1/chebackupserverconfiguration_types.go +++ b/api/v1/chebackupserverconfiguration_types.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/api/v1/checluster_types.go b/api/v1/checluster_types.go index d01dc551c..4b7f83c20 100644 --- a/api/v1/checluster_types.go +++ b/api/v1/checluster_types.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/api/v1/checlusterbackup_types.go b/api/v1/checlusterbackup_types.go index 127dc6491..dd47b3082 100644 --- a/api/v1/checlusterbackup_types.go +++ b/api/v1/checlusterbackup_types.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/api/v1/checlusterrestore_types.go b/api/v1/checlusterrestore_types.go index d96ccb2f8..e60660e8a 100644 --- a/api/v1/checlusterrestore_types.go +++ b/api/v1/checlusterrestore_types.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/api/v1/common.go b/api/v1/common.go index acce03b31..0b16fdac1 100644 --- a/api/v1/common.go +++ b/api/v1/common.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ // Contributors: // Red Hat, Inc. - initial API and implementation // + package v1 const ( diff --git a/api/v1/groupversion_info.go b/api/v1/groupversion_info.go index 28927cc4b..9f5224c43 100644 --- a/api/v1/groupversion_info.go +++ b/api/v1/groupversion_info.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/api/v1/zz_generated.deepcopy.go b/api/v1/zz_generated.deepcopy.go index 8fd20adfd..aaa962bb6 100644 --- a/api/v1/zz_generated.deepcopy.go +++ b/api/v1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/api/v2alpha1/checluster_types.go b/api/v2alpha1/checluster_types.go index f9632125a..630224f4e 100644 --- a/api/v2alpha1/checluster_types.go +++ b/api/v2alpha1/checluster_types.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/api/v2alpha1/doc.go b/api/v2alpha1/doc.go index d8014687f..a3525d2d1 100644 --- a/api/v2alpha1/doc.go +++ b/api/v2alpha1/doc.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/api/v2alpha1/groupversion_info.go b/api/v2alpha1/groupversion_info.go index 786a3eda7..72fad490a 100644 --- a/api/v2alpha1/groupversion_info.go +++ b/api/v2alpha1/groupversion_info.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/api/v2alpha1/zz_generated.deepcopy.go b/api/v2alpha1/zz_generated.deepcopy.go index 8ed4f8999..8868c9f8b 100644 --- a/api/v2alpha1/zz_generated.deepcopy.go +++ b/api/v2alpha1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/che-operator.clusterserviceversion.yaml b/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/che-operator.clusterserviceversion.yaml index a18a14673..e813053ff 100644 --- a/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/che-operator.clusterserviceversion.yaml +++ b/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/che-operator.clusterserviceversion.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: operators.coreos.com/v1alpha1 kind: ClusterServiceVersion metadata: @@ -114,7 +126,7 @@ metadata: operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 repository: https://github.com/eclipse-che/che-operator support: Eclipse Foundation - name: eclipse-che-preview-openshift.v7.39.0-367.next + name: eclipse-che-preview-openshift.v7.40.0-370.next namespace: placeholder spec: apiservicedefinitions: {} @@ -1414,4 +1426,4 @@ spec: maturity: stable provider: name: Eclipse Foundation - version: 7.39.0-367.next + version: 7.40.0-370.next diff --git a/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/che-operator_v1_serviceaccount.yaml b/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/che-operator_v1_serviceaccount.yaml index 5ff74009f..5eead433e 100644 --- a/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/che-operator_v1_serviceaccount.yaml +++ b/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/che-operator_v1_serviceaccount.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/default_v1_serviceaccount.yaml b/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/default_v1_serviceaccount.yaml index fc97a697f..6b313cad8 100644 --- a/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/default_v1_serviceaccount.yaml +++ b/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/default_v1_serviceaccount.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/manager-config_v1_configmap.yaml b/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/manager-config_v1_configmap.yaml index 90c428ac5..83e8dc5c7 100644 --- a/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/manager-config_v1_configmap.yaml +++ b/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/manager-config_v1_configmap.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: v1 data: controller_manager_config.yaml: | diff --git a/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/org.eclipse.che_chebackupserverconfigurations.yaml b/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/org.eclipse.che_chebackupserverconfigurations.yaml index b34e86de4..fa01c35a7 100644 --- a/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/org.eclipse.che_chebackupserverconfigurations.yaml +++ b/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/org.eclipse.che_chebackupserverconfigurations.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/org.eclipse.che_checlusterbackups.yaml b/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/org.eclipse.che_checlusterbackups.yaml index 0d44fc3bf..8f08f6ffd 100644 --- a/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/org.eclipse.che_checlusterbackups.yaml +++ b/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/org.eclipse.che_checlusterbackups.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/org.eclipse.che_checlusterrestores.yaml b/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/org.eclipse.che_checlusterrestores.yaml index 1adfcbf53..998db4bce 100644 --- a/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/org.eclipse.che_checlusterrestores.yaml +++ b/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/org.eclipse.che_checlusterrestores.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/org_v1_che_crd.yaml b/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/org_v1_che_crd.yaml index 20afb5636..36eef0be8 100644 --- a/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/org_v1_che_crd.yaml +++ b/bundle/next-all-namespaces/eclipse-che-preview-openshift/manifests/org_v1_che_crd.yaml @@ -1,13 +1,15 @@ # -# Copyright (c) 2019-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/bundle/next-all-namespaces/eclipse-che-preview-openshift/metadata/annotations.yaml b/bundle/next-all-namespaces/eclipse-che-preview-openshift/metadata/annotations.yaml index 5f1e1be49..97472145e 100644 --- a/bundle/next-all-namespaces/eclipse-che-preview-openshift/metadata/annotations.yaml +++ b/bundle/next-all-namespaces/eclipse-che-preview-openshift/metadata/annotations.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + annotations: # Core bundle annotations. operators.operatorframework.io.bundle.mediatype.v1: registry+v1 diff --git a/bundle/next-all-namespaces/eclipse-che-preview-openshift/metadata/dependencies.yaml b/bundle/next-all-namespaces/eclipse-che-preview-openshift/metadata/dependencies.yaml index a195e3716..5b74a0b5c 100644 --- a/bundle/next-all-namespaces/eclipse-che-preview-openshift/metadata/dependencies.yaml +++ b/bundle/next-all-namespaces/eclipse-che-preview-openshift/metadata/dependencies.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + dependencies: - type: olm.package value: diff --git a/bundle/next-all-namespaces/eclipse-che-preview-openshift/tests/scorecard/config.yaml b/bundle/next-all-namespaces/eclipse-che-preview-openshift/tests/scorecard/config.yaml index 257ed3c2c..938d07f28 100644 --- a/bundle/next-all-namespaces/eclipse-che-preview-openshift/tests/scorecard/config.yaml +++ b/bundle/next-all-namespaces/eclipse-che-preview-openshift/tests/scorecard/config.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: scorecard.operatorframework.io/v1alpha3 kind: Configuration metadata: diff --git a/bundle/next/eclipse-che-preview-kubernetes/manifests/che-operator.clusterserviceversion.yaml b/bundle/next/eclipse-che-preview-kubernetes/manifests/che-operator.clusterserviceversion.yaml index 630d493a3..a326b50e0 100644 --- a/bundle/next/eclipse-che-preview-kubernetes/manifests/che-operator.clusterserviceversion.yaml +++ b/bundle/next/eclipse-che-preview-kubernetes/manifests/che-operator.clusterserviceversion.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: operators.coreos.com/v1alpha1 kind: ClusterServiceVersion metadata: @@ -121,7 +133,7 @@ metadata: operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 repository: https://github.com/eclipse-che/che-operator support: Eclipse Foundation - name: eclipse-che-preview-kubernetes.v7.39.0-328.next + name: eclipse-che-preview-kubernetes.v7.40.0-331.next namespace: placeholder spec: apiservicedefinitions: {} @@ -1381,4 +1393,4 @@ spec: maturity: stable provider: name: Eclipse Foundation - version: 7.39.0-328.next + version: 7.40.0-331.next diff --git a/bundle/next/eclipse-che-preview-kubernetes/manifests/che-operator_v1_serviceaccount.yaml b/bundle/next/eclipse-che-preview-kubernetes/manifests/che-operator_v1_serviceaccount.yaml index 5ff74009f..5eead433e 100644 --- a/bundle/next/eclipse-che-preview-kubernetes/manifests/che-operator_v1_serviceaccount.yaml +++ b/bundle/next/eclipse-che-preview-kubernetes/manifests/che-operator_v1_serviceaccount.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/bundle/next/eclipse-che-preview-kubernetes/manifests/manager-config_v1_configmap.yaml b/bundle/next/eclipse-che-preview-kubernetes/manifests/manager-config_v1_configmap.yaml index 90c428ac5..83e8dc5c7 100644 --- a/bundle/next/eclipse-che-preview-kubernetes/manifests/manager-config_v1_configmap.yaml +++ b/bundle/next/eclipse-che-preview-kubernetes/manifests/manager-config_v1_configmap.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: v1 data: controller_manager_config.yaml: | diff --git a/bundle/next/eclipse-che-preview-kubernetes/manifests/org.eclipse.che_chebackupserverconfigurations.yaml b/bundle/next/eclipse-che-preview-kubernetes/manifests/org.eclipse.che_chebackupserverconfigurations.yaml index b34e86de4..fa01c35a7 100644 --- a/bundle/next/eclipse-che-preview-kubernetes/manifests/org.eclipse.che_chebackupserverconfigurations.yaml +++ b/bundle/next/eclipse-che-preview-kubernetes/manifests/org.eclipse.che_chebackupserverconfigurations.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/bundle/next/eclipse-che-preview-kubernetes/manifests/org.eclipse.che_checlusterbackups.yaml b/bundle/next/eclipse-che-preview-kubernetes/manifests/org.eclipse.che_checlusterbackups.yaml index 0d44fc3bf..8f08f6ffd 100644 --- a/bundle/next/eclipse-che-preview-kubernetes/manifests/org.eclipse.che_checlusterbackups.yaml +++ b/bundle/next/eclipse-che-preview-kubernetes/manifests/org.eclipse.che_checlusterbackups.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/bundle/next/eclipse-che-preview-kubernetes/manifests/org.eclipse.che_checlusterrestores.yaml b/bundle/next/eclipse-che-preview-kubernetes/manifests/org.eclipse.che_checlusterrestores.yaml index 1adfcbf53..998db4bce 100644 --- a/bundle/next/eclipse-che-preview-kubernetes/manifests/org.eclipse.che_checlusterrestores.yaml +++ b/bundle/next/eclipse-che-preview-kubernetes/manifests/org.eclipse.che_checlusterrestores.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/bundle/next/eclipse-che-preview-kubernetes/manifests/org_v1_che_crd.yaml b/bundle/next/eclipse-che-preview-kubernetes/manifests/org_v1_che_crd.yaml index b77fb4440..6a488ebaa 100644 --- a/bundle/next/eclipse-che-preview-kubernetes/manifests/org_v1_che_crd.yaml +++ b/bundle/next/eclipse-che-preview-kubernetes/manifests/org_v1_che_crd.yaml @@ -1,13 +1,15 @@ # -# Copyright (c) 2019-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/bundle/next/eclipse-che-preview-kubernetes/metadata/annotations.yaml b/bundle/next/eclipse-che-preview-kubernetes/metadata/annotations.yaml index 638dfce2e..a5b6d5892 100644 --- a/bundle/next/eclipse-che-preview-kubernetes/metadata/annotations.yaml +++ b/bundle/next/eclipse-che-preview-kubernetes/metadata/annotations.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + annotations: # Core bundle annotations. operators.operatorframework.io.bundle.mediatype.v1: registry+v1 diff --git a/bundle/next/eclipse-che-preview-kubernetes/tests/scorecard/config.yaml b/bundle/next/eclipse-che-preview-kubernetes/tests/scorecard/config.yaml index 257ed3c2c..938d07f28 100644 --- a/bundle/next/eclipse-che-preview-kubernetes/tests/scorecard/config.yaml +++ b/bundle/next/eclipse-che-preview-kubernetes/tests/scorecard/config.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: scorecard.operatorframework.io/v1alpha3 kind: Configuration metadata: diff --git a/bundle/next/eclipse-che-preview-openshift/manifests/che-operator.clusterserviceversion.yaml b/bundle/next/eclipse-che-preview-openshift/manifests/che-operator.clusterserviceversion.yaml index 70ca0880a..80ee14945 100644 --- a/bundle/next/eclipse-che-preview-openshift/manifests/che-operator.clusterserviceversion.yaml +++ b/bundle/next/eclipse-che-preview-openshift/manifests/che-operator.clusterserviceversion.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: operators.coreos.com/v1alpha1 kind: ClusterServiceVersion metadata: @@ -114,7 +126,7 @@ metadata: operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 repository: https://github.com/eclipse-che/che-operator support: Eclipse Foundation - name: eclipse-che-preview-openshift.v7.39.0-335.next + name: eclipse-che-preview-openshift.v7.40.0-338.next namespace: placeholder spec: apiservicedefinitions: {} @@ -1414,4 +1426,4 @@ spec: maturity: stable provider: name: Eclipse Foundation - version: 7.39.0-335.next + version: 7.40.0-338.next diff --git a/bundle/next/eclipse-che-preview-openshift/manifests/che-operator_v1_serviceaccount.yaml b/bundle/next/eclipse-che-preview-openshift/manifests/che-operator_v1_serviceaccount.yaml index 5ff74009f..5eead433e 100644 --- a/bundle/next/eclipse-che-preview-openshift/manifests/che-operator_v1_serviceaccount.yaml +++ b/bundle/next/eclipse-che-preview-openshift/manifests/che-operator_v1_serviceaccount.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/bundle/next/eclipse-che-preview-openshift/manifests/default_v1_serviceaccount.yaml b/bundle/next/eclipse-che-preview-openshift/manifests/default_v1_serviceaccount.yaml index fc97a697f..6b313cad8 100644 --- a/bundle/next/eclipse-che-preview-openshift/manifests/default_v1_serviceaccount.yaml +++ b/bundle/next/eclipse-che-preview-openshift/manifests/default_v1_serviceaccount.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/bundle/next/eclipse-che-preview-openshift/manifests/manager-config_v1_configmap.yaml b/bundle/next/eclipse-che-preview-openshift/manifests/manager-config_v1_configmap.yaml index 90c428ac5..83e8dc5c7 100644 --- a/bundle/next/eclipse-che-preview-openshift/manifests/manager-config_v1_configmap.yaml +++ b/bundle/next/eclipse-che-preview-openshift/manifests/manager-config_v1_configmap.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: v1 data: controller_manager_config.yaml: | diff --git a/bundle/next/eclipse-che-preview-openshift/manifests/org.eclipse.che_chebackupserverconfigurations.yaml b/bundle/next/eclipse-che-preview-openshift/manifests/org.eclipse.che_chebackupserverconfigurations.yaml index b34e86de4..fa01c35a7 100644 --- a/bundle/next/eclipse-che-preview-openshift/manifests/org.eclipse.che_chebackupserverconfigurations.yaml +++ b/bundle/next/eclipse-che-preview-openshift/manifests/org.eclipse.che_chebackupserverconfigurations.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/bundle/next/eclipse-che-preview-openshift/manifests/org.eclipse.che_checlusterbackups.yaml b/bundle/next/eclipse-che-preview-openshift/manifests/org.eclipse.che_checlusterbackups.yaml index 0d44fc3bf..8f08f6ffd 100644 --- a/bundle/next/eclipse-che-preview-openshift/manifests/org.eclipse.che_checlusterbackups.yaml +++ b/bundle/next/eclipse-che-preview-openshift/manifests/org.eclipse.che_checlusterbackups.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/bundle/next/eclipse-che-preview-openshift/manifests/org.eclipse.che_checlusterrestores.yaml b/bundle/next/eclipse-che-preview-openshift/manifests/org.eclipse.che_checlusterrestores.yaml index 1adfcbf53..998db4bce 100644 --- a/bundle/next/eclipse-che-preview-openshift/manifests/org.eclipse.che_checlusterrestores.yaml +++ b/bundle/next/eclipse-che-preview-openshift/manifests/org.eclipse.che_checlusterrestores.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/bundle/next/eclipse-che-preview-openshift/manifests/org_v1_che_crd.yaml b/bundle/next/eclipse-che-preview-openshift/manifests/org_v1_che_crd.yaml index 20afb5636..36eef0be8 100644 --- a/bundle/next/eclipse-che-preview-openshift/manifests/org_v1_che_crd.yaml +++ b/bundle/next/eclipse-che-preview-openshift/manifests/org_v1_che_crd.yaml @@ -1,13 +1,15 @@ # -# Copyright (c) 2019-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/bundle/next/eclipse-che-preview-openshift/metadata/annotations.yaml b/bundle/next/eclipse-che-preview-openshift/metadata/annotations.yaml index 587ed38d5..f9b2bfef5 100644 --- a/bundle/next/eclipse-che-preview-openshift/metadata/annotations.yaml +++ b/bundle/next/eclipse-che-preview-openshift/metadata/annotations.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + annotations: # Core bundle annotations. operators.operatorframework.io.bundle.mediatype.v1: registry+v1 diff --git a/bundle/next/eclipse-che-preview-openshift/tests/scorecard/config.yaml b/bundle/next/eclipse-che-preview-openshift/tests/scorecard/config.yaml index 257ed3c2c..938d07f28 100644 --- a/bundle/next/eclipse-che-preview-openshift/tests/scorecard/config.yaml +++ b/bundle/next/eclipse-che-preview-openshift/tests/scorecard/config.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: scorecard.operatorframework.io/v1alpha3 kind: Configuration metadata: diff --git a/config/crd/bases/org.eclipse.che_chebackupserverconfigurations_crd-v1beta1.yaml b/config/crd/bases/org.eclipse.che_chebackupserverconfigurations_crd-v1beta1.yaml index f9768237f..1c38381ba 100644 --- a/config/crd/bases/org.eclipse.che_chebackupserverconfigurations_crd-v1beta1.yaml +++ b/config/crd/bases/org.eclipse.che_chebackupserverconfigurations_crd-v1beta1.yaml @@ -1,13 +1,15 @@ # -# Copyright (c) 2019-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: diff --git a/config/crd/bases/org.eclipse.che_chebackupserverconfigurations_crd.yaml b/config/crd/bases/org.eclipse.che_chebackupserverconfigurations_crd.yaml index e527749b9..7679ba5ac 100644 --- a/config/crd/bases/org.eclipse.che_chebackupserverconfigurations_crd.yaml +++ b/config/crd/bases/org.eclipse.che_chebackupserverconfigurations_crd.yaml @@ -1,13 +1,15 @@ # -# Copyright (c) 2019-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/config/crd/bases/org.eclipse.che_checlusterbackups_crd-v1beta1.yaml b/config/crd/bases/org.eclipse.che_checlusterbackups_crd-v1beta1.yaml index 072855aa3..8823b0ab1 100644 --- a/config/crd/bases/org.eclipse.che_checlusterbackups_crd-v1beta1.yaml +++ b/config/crd/bases/org.eclipse.che_checlusterbackups_crd-v1beta1.yaml @@ -1,13 +1,15 @@ # -# Copyright (c) 2019-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: diff --git a/config/crd/bases/org.eclipse.che_checlusterbackups_crd.yaml b/config/crd/bases/org.eclipse.che_checlusterbackups_crd.yaml index 795c7a1c0..6cb073224 100644 --- a/config/crd/bases/org.eclipse.che_checlusterbackups_crd.yaml +++ b/config/crd/bases/org.eclipse.che_checlusterbackups_crd.yaml @@ -1,13 +1,15 @@ # -# Copyright (c) 2019-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/config/crd/bases/org.eclipse.che_checlusterrestores_crd-v1beta1.yaml b/config/crd/bases/org.eclipse.che_checlusterrestores_crd-v1beta1.yaml index 84eb3a419..8cc35eb6b 100644 --- a/config/crd/bases/org.eclipse.che_checlusterrestores_crd-v1beta1.yaml +++ b/config/crd/bases/org.eclipse.che_checlusterrestores_crd-v1beta1.yaml @@ -1,13 +1,15 @@ # -# Copyright (c) 2019-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: diff --git a/config/crd/bases/org.eclipse.che_checlusterrestores_crd.yaml b/config/crd/bases/org.eclipse.che_checlusterrestores_crd.yaml index b1ac0fb6e..be567b8c9 100644 --- a/config/crd/bases/org.eclipse.che_checlusterrestores_crd.yaml +++ b/config/crd/bases/org.eclipse.che_checlusterrestores_crd.yaml @@ -1,13 +1,15 @@ # -# Copyright (c) 2019-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/config/crd/bases/org_v1_che_crd-v1beta1.yaml b/config/crd/bases/org_v1_che_crd-v1beta1.yaml index 3a3bb2f1f..4b830a174 100644 --- a/config/crd/bases/org_v1_che_crd-v1beta1.yaml +++ b/config/crd/bases/org_v1_che_crd-v1beta1.yaml @@ -1,13 +1,15 @@ # -# Copyright (c) 2019-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: diff --git a/config/crd/bases/org_v1_che_crd.yaml b/config/crd/bases/org_v1_che_crd.yaml index 7efcad272..10fbd2de9 100644 --- a/config/crd/bases/org_v1_che_crd.yaml +++ b/config/crd/bases/org_v1_che_crd.yaml @@ -1,13 +1,15 @@ # -# Copyright (c) 2019-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: diff --git a/config/crd/kustomization.yaml b/config/crd/kustomization.yaml index 1a63212f0..0e4bb2a62 100644 --- a/config/crd/kustomization.yaml +++ b/config/crd/kustomization.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # This kustomization.yaml is not intended to be run by itself, # since it depends on service name and namespace that are out of this kustomize package. # It should be run by config/default diff --git a/config/crd/kustomizeconfig.yaml b/config/crd/kustomizeconfig.yaml index ec5c150a9..5339f1995 100644 --- a/config/crd/kustomizeconfig.yaml +++ b/config/crd/kustomizeconfig.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # This file is for teaching kustomize how to substitute name and namespace reference in CRD nameReference: - kind: Service diff --git a/config/crd/patches/cainjection_in_chebackupserverconfigurations.yaml b/config/crd/patches/cainjection_in_chebackupserverconfigurations.yaml index db8a0638c..7706bcb11 100644 --- a/config/crd/patches/cainjection_in_chebackupserverconfigurations.yaml +++ b/config/crd/patches/cainjection_in_chebackupserverconfigurations.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # The following patch adds a directive for certmanager to inject CA into the CRD apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/config/crd/patches/cainjection_in_checlusterbackups.yaml b/config/crd/patches/cainjection_in_checlusterbackups.yaml index da0c62958..54f77c02e 100644 --- a/config/crd/patches/cainjection_in_checlusterbackups.yaml +++ b/config/crd/patches/cainjection_in_checlusterbackups.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # The following patch adds a directive for certmanager to inject CA into the CRD apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/config/crd/patches/cainjection_in_checlusterrestores.yaml b/config/crd/patches/cainjection_in_checlusterrestores.yaml index db5c2abea..2cc98dd69 100644 --- a/config/crd/patches/cainjection_in_checlusterrestores.yaml +++ b/config/crd/patches/cainjection_in_checlusterrestores.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # The following patch adds a directive for certmanager to inject CA into the CRD apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/config/crd/patches/cainjection_in_checlusters.yaml b/config/crd/patches/cainjection_in_checlusters.yaml index 4a34f3434..fb167f83d 100644 --- a/config/crd/patches/cainjection_in_checlusters.yaml +++ b/config/crd/patches/cainjection_in_checlusters.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # The following patch adds a directive for certmanager to inject CA into the CRD apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/config/crd/patches/webhook_in_chebackupserverconfigurations.yaml b/config/crd/patches/webhook_in_chebackupserverconfigurations.yaml index c7bd65199..cc816070b 100644 --- a/config/crd/patches/webhook_in_chebackupserverconfigurations.yaml +++ b/config/crd/patches/webhook_in_chebackupserverconfigurations.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # The following patch enables a conversion webhook for the CRD apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/config/crd/patches/webhook_in_checlusterbackups.yaml b/config/crd/patches/webhook_in_checlusterbackups.yaml index 65a11aac7..f615a0aec 100644 --- a/config/crd/patches/webhook_in_checlusterbackups.yaml +++ b/config/crd/patches/webhook_in_checlusterbackups.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # The following patch enables a conversion webhook for the CRD apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/config/crd/patches/webhook_in_checlusterrestores.yaml b/config/crd/patches/webhook_in_checlusterrestores.yaml index fa6f9bd54..a45ac2369 100644 --- a/config/crd/patches/webhook_in_checlusterrestores.yaml +++ b/config/crd/patches/webhook_in_checlusterrestores.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # The following patch enables a conversion webhook for the CRD apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/config/crd/patches/webhook_in_checlusters.yaml b/config/crd/patches/webhook_in_checlusters.yaml index 3569ca3de..990b1da44 100644 --- a/config/crd/patches/webhook_in_checlusters.yaml +++ b/config/crd/patches/webhook_in_checlusters.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # The following patch enables a conversion webhook for the CRD apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition diff --git a/config/default/kustomization.yaml b/config/default/kustomization.yaml index a4116ce0a..b333f2cba 100644 --- a/config/default/kustomization.yaml +++ b/config/default/kustomization.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # Adds namespace to all resources. namespace: eclipse-che diff --git a/config/default/manager_auth_proxy_patch.yaml b/config/default/manager_auth_proxy_patch.yaml index 878c5bf2b..e0702ba3d 100644 --- a/config/default/manager_auth_proxy_patch.yaml +++ b/config/default/manager_auth_proxy_patch.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # This patch inject a sidecar container which is a HTTP proxy for the # controller che-operator, it performs RBAC authorization against the Kubernetes API using SubjectAccessReviews. apiVersion: apps/v1 diff --git a/config/default/manager_config_patch.yaml b/config/default/manager_config_patch.yaml index 0cea7241b..b68f8fb40 100644 --- a/config/default/manager_config_patch.yaml +++ b/config/default/manager_config_patch.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/config/manager/controller-namespace.yaml b/config/manager/controller-namespace.yaml index 7d36319c3..9117a61f3 100644 --- a/config/manager/controller-namespace.yaml +++ b/config/manager/controller-namespace.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: v1 kind: Namespace metadata: diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index c9f1422ac..91b556004 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + resources: - manager.yaml - controller-namespace.yaml diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 75d06b9ef..129366bcf 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -1,13 +1,15 @@ # -# Copyright (c) 2019-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/config/manifests/bases/che-operator.clusterserviceversion.yaml b/config/manifests/bases/che-operator.clusterserviceversion.yaml index baf931fdb..fa1e19ea9 100644 --- a/config/manifests/bases/che-operator.clusterserviceversion.yaml +++ b/config/manifests/bases/che-operator.clusterserviceversion.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: operators.coreos.com/v1alpha1 kind: ClusterServiceVersion metadata: diff --git a/config/manifests/kustomization.yaml b/config/manifests/kustomization.yaml index 9b635b446..6a91f417d 100644 --- a/config/manifests/kustomization.yaml +++ b/config/manifests/kustomization.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # These resources constitute the fully configured set of manifests # used to generate the 'manifests/' directory in a bundle. resources: diff --git a/config/platforms/kubernetes/che-operator.clusterserviceversion-description-patch.yaml b/config/platforms/kubernetes/che-operator.clusterserviceversion-description-patch.yaml index 2122b2d22..1e183d5f4 100644 --- a/config/platforms/kubernetes/che-operator.clusterserviceversion-description-patch.yaml +++ b/config/platforms/kubernetes/che-operator.clusterserviceversion-description-patch.yaml @@ -1,13 +1,14 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation # -# Contributors: -# Red Hat, Inc. - initial API and implementation - op: replace path: /spec/description diff --git a/config/platforms/kubernetes/che-operator.clusterserviceversion-name-patch.yaml b/config/platforms/kubernetes/che-operator.clusterserviceversion-name-patch.yaml index 5ef28ba71..29eebc538 100644 --- a/config/platforms/kubernetes/che-operator.clusterserviceversion-name-patch.yaml +++ b/config/platforms/kubernetes/che-operator.clusterserviceversion-name-patch.yaml @@ -1,13 +1,14 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation # -# Contributors: -# Red Hat, Inc. - initial API and implementation - op: replace path: /metadata/name diff --git a/config/platforms/kubernetes/kustomization.yaml b/config/platforms/kubernetes/kustomization.yaml index dd878fca3..037089bbb 100644 --- a/config/platforms/kubernetes/kustomization.yaml +++ b/config/platforms/kubernetes/kustomization.yaml @@ -1,13 +1,14 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation # -# Contributors: -# Red Hat, Inc. - initial API and implementation bases: - ../../manifests diff --git a/config/platforms/openshift/che-operator.clusterserviceversion-description-patch.yaml b/config/platforms/openshift/che-operator.clusterserviceversion-description-patch.yaml index d4c05dd8f..d4e0e51d5 100644 --- a/config/platforms/openshift/che-operator.clusterserviceversion-description-patch.yaml +++ b/config/platforms/openshift/che-operator.clusterserviceversion-description-patch.yaml @@ -1,13 +1,14 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation # -# Contributors: -# Red Hat, Inc. - initial API and implementation - op: replace path: /spec/description diff --git a/config/platforms/openshift/che-operator.clusterserviceversion-name-patch.yaml b/config/platforms/openshift/che-operator.clusterserviceversion-name-patch.yaml index 207f65158..6772381d0 100644 --- a/config/platforms/openshift/che-operator.clusterserviceversion-name-patch.yaml +++ b/config/platforms/openshift/che-operator.clusterserviceversion-name-patch.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + - op: replace path: /metadata/name value: diff --git a/config/platforms/openshift/kustomization.yaml b/config/platforms/openshift/kustomization.yaml index 582a32c1d..037089bbb 100644 --- a/config/platforms/openshift/kustomization.yaml +++ b/config/platforms/openshift/kustomization.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + bases: - ../../manifests patchesJson6902: diff --git a/config/prometheus/kustomization.yaml b/config/prometheus/kustomization.yaml index 05f0deb4d..5183d3110 100644 --- a/config/prometheus/kustomization.yaml +++ b/config/prometheus/kustomization.yaml @@ -1,13 +1,14 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation # -# Contributors: -# Red Hat, Inc. - initial API and implementation resources: - monitor.yaml diff --git a/config/prometheus/monitor.yaml b/config/prometheus/monitor.yaml index 175212a9c..bfa3af5ef 100644 --- a/config/prometheus/monitor.yaml +++ b/config/prometheus/monitor.yaml @@ -1,13 +1,14 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation # -# Contributors: -# Red Hat, Inc. - initial API and implementation # Prometheus Monitor Service (Metrics) apiVersion: monitoring.coreos.com/v1 diff --git a/config/rbac/auth_proxy_client_clusterrole.yaml b/config/rbac/auth_proxy_client_clusterrole.yaml index e7491231b..e989b14b1 100644 --- a/config/rbac/auth_proxy_client_clusterrole.yaml +++ b/config/rbac/auth_proxy_client_clusterrole.yaml @@ -1,13 +1,14 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation # -# Contributors: -# Red Hat, Inc. - initial API and implementation apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/config/rbac/auth_proxy_role.yaml b/config/rbac/auth_proxy_role.yaml index 36a6c16a5..ad33bb525 100644 --- a/config/rbac/auth_proxy_role.yaml +++ b/config/rbac/auth_proxy_role.yaml @@ -1,13 +1,14 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation # -# Contributors: -# Red Hat, Inc. - initial API and implementation apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/config/rbac/auth_proxy_role_binding.yaml b/config/rbac/auth_proxy_role_binding.yaml index 976e37bc0..15d0ed296 100644 --- a/config/rbac/auth_proxy_role_binding.yaml +++ b/config/rbac/auth_proxy_role_binding.yaml @@ -1,13 +1,14 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation # -# Contributors: -# Red Hat, Inc. - initial API and implementation apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding diff --git a/config/rbac/auth_proxy_service.yaml b/config/rbac/auth_proxy_service.yaml index 8fa549d39..b7cb712f2 100644 --- a/config/rbac/auth_proxy_service.yaml +++ b/config/rbac/auth_proxy_service.yaml @@ -1,13 +1,14 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation # -# Contributors: -# Red Hat, Inc. - initial API and implementation apiVersion: v1 kind: Service diff --git a/config/rbac/chebackupserverconfiguration_editor_role.yaml b/config/rbac/chebackupserverconfiguration_editor_role.yaml index 815c4e906..ffb9319b3 100644 --- a/config/rbac/chebackupserverconfiguration_editor_role.yaml +++ b/config/rbac/chebackupserverconfiguration_editor_role.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # permissions for end users to edit chebackupserverconfigurations. apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/config/rbac/chebackupserverconfiguration_viewer_role.yaml b/config/rbac/chebackupserverconfiguration_viewer_role.yaml index 04f7cfac6..f9e36e266 100644 --- a/config/rbac/chebackupserverconfiguration_viewer_role.yaml +++ b/config/rbac/chebackupserverconfiguration_viewer_role.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # permissions for end users to view chebackupserverconfigurations. apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/config/rbac/checluster_editor_role.yaml b/config/rbac/checluster_editor_role.yaml index c5ae2c030..542eb1311 100644 --- a/config/rbac/checluster_editor_role.yaml +++ b/config/rbac/checluster_editor_role.yaml @@ -1,13 +1,14 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation # -# Contributors: -# Red Hat, Inc. - initial API and implementation # permissions for end users to edit checlusters. apiVersion: rbac.authorization.k8s.io/v1 diff --git a/config/rbac/checluster_viewer_role.yaml b/config/rbac/checluster_viewer_role.yaml index 4fde9237e..ce66469c8 100644 --- a/config/rbac/checluster_viewer_role.yaml +++ b/config/rbac/checluster_viewer_role.yaml @@ -1,13 +1,14 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation # -# Contributors: -# Red Hat, Inc. - initial API and implementation # permissions for end users to view checlusters. apiVersion: rbac.authorization.k8s.io/v1 diff --git a/config/rbac/checlusterbackup_editor_role.yaml b/config/rbac/checlusterbackup_editor_role.yaml index c4bc1812d..e45902ff7 100644 --- a/config/rbac/checlusterbackup_editor_role.yaml +++ b/config/rbac/checlusterbackup_editor_role.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # permissions for end users to edit checlusterbackups. apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/config/rbac/checlusterbackup_viewer_role.yaml b/config/rbac/checlusterbackup_viewer_role.yaml index 3070d980d..ed2a09013 100644 --- a/config/rbac/checlusterbackup_viewer_role.yaml +++ b/config/rbac/checlusterbackup_viewer_role.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # permissions for end users to view checlusterbackups. apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/config/rbac/checlusterrestore_editor_role.yaml b/config/rbac/checlusterrestore_editor_role.yaml index d681a1a08..44751ef2a 100644 --- a/config/rbac/checlusterrestore_editor_role.yaml +++ b/config/rbac/checlusterrestore_editor_role.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # permissions for end users to edit checlusterrestores. apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/config/rbac/checlusterrestore_viewer_role.yaml b/config/rbac/checlusterrestore_viewer_role.yaml index 2dc9938b0..18deb5a08 100644 --- a/config/rbac/checlusterrestore_viewer_role.yaml +++ b/config/rbac/checlusterrestore_viewer_role.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + # permissions for end users to view checlusterrestores. apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/config/rbac/cluster_role.yaml b/config/rbac/cluster_role.yaml index 2ff507e08..c344be519 100644 --- a/config/rbac/cluster_role.yaml +++ b/config/rbac/cluster_role.yaml @@ -1,13 +1,14 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation # -# Contributors: -# Red Hat, Inc. - initial API and implementation kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 diff --git a/config/rbac/cluster_rolebinding.yaml b/config/rbac/cluster_rolebinding.yaml index a0acde6f1..07b7a5417 100644 --- a/config/rbac/cluster_rolebinding.yaml +++ b/config/rbac/cluster_rolebinding.yaml @@ -1,13 +1,14 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation # -# Contributors: -# Red Hat, Inc. - initial API and implementation kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 diff --git a/config/rbac/kustomization.yaml b/config/rbac/kustomization.yaml index 0c294edae..4128c5988 100644 --- a/config/rbac/kustomization.yaml +++ b/config/rbac/kustomization.yaml @@ -1,13 +1,14 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation # -# Contributors: -# Red Hat, Inc. - initial API and implementation resources: # All RBAC will be applied under this service account in diff --git a/config/rbac/leader_election_role.yaml b/config/rbac/leader_election_role.yaml index 50f47ffe0..3882135dd 100644 --- a/config/rbac/leader_election_role.yaml +++ b/config/rbac/leader_election_role.yaml @@ -1,13 +1,14 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation # -# Contributors: -# Red Hat, Inc. - initial API and implementation # permissions to do leader election. diff --git a/config/rbac/leader_election_role_binding.yaml b/config/rbac/leader_election_role_binding.yaml index fa5fdf6f1..933a321dd 100644 --- a/config/rbac/leader_election_role_binding.yaml +++ b/config/rbac/leader_election_role_binding.yaml @@ -1,13 +1,14 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation # -# Contributors: -# Red Hat, Inc. - initial API and implementation apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding diff --git a/config/rbac/role.yaml b/config/rbac/role.yaml index f3a0129bb..df0a51b13 100644 --- a/config/rbac/role.yaml +++ b/config/rbac/role.yaml @@ -1,13 +1,14 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation # -# Contributors: -# Red Hat, Inc. - initial API and implementation apiVersion: rbac.authorization.k8s.io/v1 kind: Role diff --git a/config/rbac/role_binding.yaml b/config/rbac/role_binding.yaml index c9d895aa3..5a54b8a8f 100644 --- a/config/rbac/role_binding.yaml +++ b/config/rbac/role_binding.yaml @@ -1,13 +1,14 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation # -# Contributors: -# Red Hat, Inc. - initial API and implementation apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding diff --git a/config/rbac/service_account.yaml b/config/rbac/service_account.yaml index 0294f1ce3..11fae7e5d 100644 --- a/config/rbac/service_account.yaml +++ b/config/rbac/service_account.yaml @@ -1,13 +1,14 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation # -# Contributors: -# Red Hat, Inc. - initial API and implementation apiVersion: v1 kind: ServiceAccount diff --git a/config/samples/devworkspace_flattened_theia-nodejs.yaml b/config/samples/devworkspace_flattened_theia-nodejs.yaml index 1575367fa..9af008d36 100644 --- a/config/samples/devworkspace_flattened_theia-nodejs.yaml +++ b/config/samples/devworkspace_flattened_theia-nodejs.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + kind: DevWorkspace apiVersion: workspace.devfile.io/v1alpha2 metadata: diff --git a/config/samples/kustomization.yaml b/config/samples/kustomization.yaml index 63b4ddd71..510275f46 100644 --- a/config/samples/kustomization.yaml +++ b/config/samples/kustomization.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + ## Append samples you want in your CSV to this file as resources ## resources: - org.eclipse.che_v1_checluster.yaml diff --git a/config/samples/org.eclipse.che_v1_checluster.yaml b/config/samples/org.eclipse.che_v1_checluster.yaml index ec79c2e29..2e23dd35b 100644 --- a/config/samples/org.eclipse.che_v1_checluster.yaml +++ b/config/samples/org.eclipse.che_v1_checluster.yaml @@ -1,13 +1,14 @@ # -# Copyright (c) 2012-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation # -# Contributors: -# Red Hat, Inc. - initial API and implementation apiVersion: org.eclipse.che/v1 kind: CheCluster diff --git a/config/samples/org_v1_chebackupserverconfiguration.yaml b/config/samples/org_v1_chebackupserverconfiguration.yaml index b7f93f15d..714c3f03d 100644 --- a/config/samples/org_v1_chebackupserverconfiguration.yaml +++ b/config/samples/org_v1_chebackupserverconfiguration.yaml @@ -1,13 +1,15 @@ # -# Copyright (c) 2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: org.eclipse.che/v1 kind: CheBackupServerConfiguration metadata: diff --git a/config/samples/org_v1_checlusterbackup.yaml b/config/samples/org_v1_checlusterbackup.yaml index 3a54e69c7..12586204b 100644 --- a/config/samples/org_v1_checlusterbackup.yaml +++ b/config/samples/org_v1_checlusterbackup.yaml @@ -1,13 +1,15 @@ # -# Copyright (c) 2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: org.eclipse.che/v1 kind: CheClusterBackup metadata: diff --git a/config/samples/org_v1_checlusterrestore.yaml b/config/samples/org_v1_checlusterrestore.yaml index 51a8aeded..c95a4d2d0 100644 --- a/config/samples/org_v1_checlusterrestore.yaml +++ b/config/samples/org_v1_checlusterrestore.yaml @@ -1,13 +1,15 @@ # -# Copyright (c) 2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: org.eclipse.che/v1 kind: CheClusterRestore metadata: diff --git a/config/samples/org_v2alpha1_checluster.yaml b/config/samples/org_v2alpha1_checluster.yaml index 5048d4b86..4952c9a4f 100644 --- a/config/samples/org_v2alpha1_checluster.yaml +++ b/config/samples/org_v2alpha1_checluster.yaml @@ -1,13 +1,15 @@ # -# Copyright (c) 2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 # -# Contributors: -# Red Hat, Inc. - initial API and implementation +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: org.eclipse.che/v2alpha1 kind: CheCluster metadata: diff --git a/config/scorecard/bases/config.yaml b/config/scorecard/bases/config.yaml index c77047841..4dd730096 100644 --- a/config/scorecard/bases/config.yaml +++ b/config/scorecard/bases/config.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + apiVersion: scorecard.operatorframework.io/v1alpha3 kind: Configuration metadata: diff --git a/config/scorecard/kustomization.yaml b/config/scorecard/kustomization.yaml index 50cd2d084..72835b716 100644 --- a/config/scorecard/kustomization.yaml +++ b/config/scorecard/kustomization.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + resources: - bases/config.yaml patchesJson6902: diff --git a/config/scorecard/patches/basic.config.yaml b/config/scorecard/patches/basic.config.yaml index 845b5471a..6b1cd045c 100644 --- a/config/scorecard/patches/basic.config.yaml +++ b/config/scorecard/patches/basic.config.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + - op: add path: /stages/0/tests/- value: diff --git a/config/scorecard/patches/olm.config.yaml b/config/scorecard/patches/olm.config.yaml index 4c647f53d..cb2543c9c 100644 --- a/config/scorecard/patches/olm.config.yaml +++ b/config/scorecard/patches/olm.config.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + - op: add path: /stages/0/tests/- value: diff --git a/controllers/che/backup.go b/controllers/che/backup.go index 9a107f540..a265fd76d 100644 --- a/controllers/che/backup.go +++ b/controllers/che/backup.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ // Contributors: // Red Hat, Inc. - initial API and implementation // + package che import ( diff --git a/controllers/che/backup_test.go b/controllers/che/backup_test.go index c4b563441..e244c0553 100644 --- a/controllers/che/backup_test.go +++ b/controllers/che/backup_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/controllers/che/checluster_controller.go b/controllers/che/checluster_controller.go index 6771a4c5f..beeba0e83 100644 --- a/controllers/che/checluster_controller.go +++ b/controllers/che/checluster_controller.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/controllers/che/checluster_controller_test.go b/controllers/che/checluster_controller_test.go index ee6cb0d3e..8861de1fc 100644 --- a/controllers/che/checluster_controller_test.go +++ b/controllers/che/checluster_controller_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ // Contributors: // Red Hat, Inc. - initial API and implementation // + package che import ( diff --git a/controllers/che/checluster_validator.go b/controllers/che/checluster_validator.go index 7d045189f..c86f9788f 100644 --- a/controllers/che/checluster_validator.go +++ b/controllers/che/checluster_validator.go @@ -9,6 +9,7 @@ // Contributors: // Red Hat, Inc. - initial API and implementation // + package che import ( diff --git a/controllers/che/cheobj_verifier.go b/controllers/che/cheobj_verifier.go index 344678d01..f3c75d52e 100644 --- a/controllers/che/cheobj_verifier.go +++ b/controllers/che/cheobj_verifier.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ // Contributors: // Red Hat, Inc. - initial API and implementation // + package che import ( diff --git a/controllers/che/cheobj_verifier_test.go b/controllers/che/cheobj_verifier_test.go index 5e9a833b7..f09eaee70 100644 --- a/controllers/che/cheobj_verifier_test.go +++ b/controllers/che/cheobj_verifier_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ // Contributors: // Red Hat, Inc. - initial API and implementation // + package che import ( diff --git a/controllers/che/configmap_cert.go b/controllers/che/configmap_cert.go index 2b1f11773..b682584a4 100644 --- a/controllers/che/configmap_cert.go +++ b/controllers/che/configmap_cert.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2020 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ // Contributors: // Red Hat, Inc. - initial API and implementation // + package che import ( diff --git a/controllers/che/configmap_cert_test.go b/controllers/che/configmap_cert_test.go index 976e65d95..35e3675da 100644 --- a/controllers/che/configmap_cert_test.go +++ b/controllers/che/configmap_cert_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ // Contributors: // Red Hat, Inc. - initial API and implementation // + package che import ( diff --git a/controllers/che/create.go b/controllers/che/create.go index 7fa483cf5..84258f191 100644 --- a/controllers/che/create.go +++ b/controllers/che/create.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ // Contributors: // Red Hat, Inc. - initial API and implementation // + package che import ( diff --git a/controllers/che/gateway_permission.go b/controllers/che/gateway_permission.go index ca9aba151..1138fa17b 100644 --- a/controllers/che/gateway_permission.go +++ b/controllers/che/gateway_permission.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/controllers/che/init_test.go b/controllers/che/init_test.go index 4e6d6044c..18319b11c 100644 --- a/controllers/che/init_test.go +++ b/controllers/che/init_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/controllers/che/permission_checker.go b/controllers/che/permission_checker.go index 81d131862..e37e6aeef 100644 --- a/controllers/che/permission_checker.go +++ b/controllers/che/permission_checker.go @@ -1,13 +1,13 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ // // SPDX-License-Identifier: EPL-2.0 // -// Contributors: // Contributors: -// Red Hat, Inc. - initial API and implementation // Red Hat, Inc. - initial API and implementation +// Contributors: +// Red Hat, Inc. - initial API and implementation // package che diff --git a/controllers/che/proxy.go b/controllers/che/proxy.go index 96e3a51bf..c3af9e96b 100644 --- a/controllers/che/proxy.go +++ b/controllers/che/proxy.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/controllers/che/proxy_test.go b/controllers/che/proxy_test.go index 54454eb34..261bc0eb9 100644 --- a/controllers/che/proxy_test.go +++ b/controllers/che/proxy_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/controllers/che/workspace_namespace_permission.go b/controllers/che/workspace_namespace_permission.go index 412e5268b..e2a20baff 100644 --- a/controllers/che/workspace_namespace_permission.go +++ b/controllers/che/workspace_namespace_permission.go @@ -1,13 +1,13 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ // // SPDX-License-Identifier: EPL-2.0 // -// Contributors: // Contributors: -// Red Hat, Inc. - initial API and implementation // Red Hat, Inc. - initial API and implementation +// Contributors: +// Red Hat, Inc. - initial API and implementation // package che diff --git a/controllers/che/workspace_namespace_permission_test.go b/controllers/che/workspace_namespace_permission_test.go index 6ce44dae9..dfcfe4a25 100644 --- a/controllers/che/workspace_namespace_permission_test.go +++ b/controllers/che/workspace_namespace_permission_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/controllers/checlusterbackup/backup_context.go b/controllers/checlusterbackup/backup_context.go index b3381b50f..8e87c5a7c 100644 --- a/controllers/checlusterbackup/backup_context.go +++ b/controllers/checlusterbackup/backup_context.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/controllers/checlusterbackup/backup_data_collector.go b/controllers/checlusterbackup/backup_data_collector.go index 8df9277d0..c8eecbc13 100644 --- a/controllers/checlusterbackup/backup_data_collector.go +++ b/controllers/checlusterbackup/backup_data_collector.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/controllers/checlusterbackup/checlusterbackup_controller.go b/controllers/checlusterbackup/checlusterbackup_controller.go index 4305d4dc9..b54dfa81f 100644 --- a/controllers/checlusterbackup/checlusterbackup_controller.go +++ b/controllers/checlusterbackup/checlusterbackup_controller.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/controllers/checlusterbackup/internal_backup_server.go b/controllers/checlusterbackup/internal_backup_server.go index e807a3216..77fa877eb 100644 --- a/controllers/checlusterbackup/internal_backup_server.go +++ b/controllers/checlusterbackup/internal_backup_server.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/controllers/checlusterrestore/backup_data_restorer.go b/controllers/checlusterrestore/backup_data_restorer.go index da282f1f3..a93c3b4f4 100644 --- a/controllers/checlusterrestore/backup_data_restorer.go +++ b/controllers/checlusterrestore/backup_data_restorer.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/controllers/checlusterrestore/checlusterrestore_controller.go b/controllers/checlusterrestore/checlusterrestore_controller.go index 256003af5..a8391fad0 100644 --- a/controllers/checlusterrestore/checlusterrestore_controller.go +++ b/controllers/checlusterrestore/checlusterrestore_controller.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/controllers/checlusterrestore/restore_context.go b/controllers/checlusterrestore/restore_context.go index d7e049a92..37046c458 100644 --- a/controllers/checlusterrestore/restore_context.go +++ b/controllers/checlusterrestore/restore_context.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/controllers/devworkspace/controller.go b/controllers/devworkspace/controller.go index a2c973ba0..b843fd17b 100644 --- a/controllers/devworkspace/controller.go +++ b/controllers/devworkspace/controller.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2019-2020 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/controllers/devworkspace/controller_test.go b/controllers/devworkspace/controller_test.go index c023e3fb1..d27aa2771 100644 --- a/controllers/devworkspace/controller_test.go +++ b/controllers/devworkspace/controller_test.go @@ -1,3 +1,15 @@ +// +// Copyright (c) 2019-2021 Red Hat, Inc. +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// +// Contributors: +// Red Hat, Inc. - initial API and implementation +// + package devworkspace import ( diff --git a/controllers/devworkspace/defaults/defaults.go b/controllers/devworkspace/defaults/defaults.go index aa8a4c9cc..bf7d43eb9 100644 --- a/controllers/devworkspace/defaults/defaults.go +++ b/controllers/devworkspace/defaults/defaults.go @@ -1,3 +1,15 @@ +// +// Copyright (c) 2019-2021 Red Hat, Inc. +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// +// Contributors: +// Red Hat, Inc. - initial API and implementation +// + package defaults import ( diff --git a/controllers/devworkspace/solver/che_routing_test.go b/controllers/devworkspace/solver/che_routing_test.go index 5b06bd2ed..03565e1c6 100644 --- a/controllers/devworkspace/solver/che_routing_test.go +++ b/controllers/devworkspace/solver/che_routing_test.go @@ -1,3 +1,15 @@ +// +// Copyright (c) 2019-2021 Red Hat, Inc. +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// +// Contributors: +// Red Hat, Inc. - initial API and implementation +// + package solver import ( diff --git a/controllers/devworkspace/solver/doc.go b/controllers/devworkspace/solver/doc.go index 48489b95a..06337e06d 100644 --- a/controllers/devworkspace/solver/doc.go +++ b/controllers/devworkspace/solver/doc.go @@ -1,3 +1,15 @@ +// +// Copyright (c) 2019-2021 Red Hat, Inc. +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// +// Contributors: +// Red Hat, Inc. - initial API and implementation +// + // Package solver contains the implementation of the "devworkspace routing solver" which provides che-specific // logic to the otherwise generic dev workspace routing controller. // The devworkspace routing controller needs to be provided with a "solver getter" in its configuration prior diff --git a/controllers/devworkspace/solver/endpoint_exposer.go b/controllers/devworkspace/solver/endpoint_exposer.go index 56f3161b1..fbf8c7b95 100644 --- a/controllers/devworkspace/solver/endpoint_exposer.go +++ b/controllers/devworkspace/solver/endpoint_exposer.go @@ -9,6 +9,7 @@ // Contributors: // Red Hat, Inc. - initial API and implementation // + package solver import ( diff --git a/controllers/devworkspace/solver/solver.go b/controllers/devworkspace/solver/solver.go index ecfd463a5..abb81e451 100644 --- a/controllers/devworkspace/solver/solver.go +++ b/controllers/devworkspace/solver/solver.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2019-2020 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/controllers/devworkspace/sync/sync.go b/controllers/devworkspace/sync/sync.go index 8e91aa9a7..ab7f6af29 100644 --- a/controllers/devworkspace/sync/sync.go +++ b/controllers/devworkspace/sync/sync.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2019-2020 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/controllers/devworkspace/sync/sync_test.go b/controllers/devworkspace/sync/sync_test.go index 5e255b63c..815c71184 100644 --- a/controllers/devworkspace/sync/sync_test.go +++ b/controllers/devworkspace/sync/sync_test.go @@ -1,3 +1,15 @@ +// +// Copyright (c) 2019-2021 Red Hat, Inc. +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// +// Contributors: +// Red Hat, Inc. - initial API and implementation +// + package sync import ( diff --git a/devfile.yaml b/devfile.yaml index d82e0bdbe..100a27d0f 100644 --- a/devfile.yaml +++ b/devfile.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + metadata: name: che-operator projects: diff --git a/hack/boilerplate.go.txt b/hack/boilerplate.go.txt index 1566865da..b5530fffe 100644 --- a/hack/boilerplate.go.txt +++ b/hack/boilerplate.go.txt @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/hack/license-header.txt b/hack/license-header.txt new file mode 100644 index 000000000..a7fe69b30 --- /dev/null +++ b/hack/license-header.txt @@ -0,0 +1,11 @@ + +Copyright (c) 2019-2021 Red Hat, Inc. +This program and the accompanying materials are made +available under the terms of the Eclipse Public License 2.0 +which is available at https://www.eclipse.org/legal/epl-2.0/ + +SPDX-License-Identifier: EPL-2.0 + +Contributors: + Red Hat, Inc. - initial API and implementation + diff --git a/main.go b/main.go index faeff64e6..1ddb2b1e4 100644 --- a/main.go +++ b/main.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/make-release.sh b/make-release.sh index 09596e887..8cec38165 100755 --- a/make-release.sh +++ b/make-release.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2019 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# set -e diff --git a/olm/addDigests.sh b/olm/addDigests.sh index 4f28ea51b..16a44adcf 100755 --- a/olm/addDigests.sh +++ b/olm/addDigests.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2019-2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# set +x set -e @@ -123,7 +124,7 @@ done yq -riY "( .spec.relatedImages ) += [${RELATED_IMAGES}]" ${CSV_FILE} yq -riY "( .spec.install.spec.deployments[0].spec.template.spec.containers[0].env ) += [${RELATED_IMAGES_ENV}]" ${CSV_FILE} sed -i "${CSV_FILE}" -r -e "s|tag: |# tag: |" -echo -e "$(cat ${SCRIPTS_DIR}/license.txt)\n$(cat ${CSV_FILE})" > ${CSV_FILE} +echo -e "$(cat ${CSV_FILE})" > ${CSV_FILE} echo "[INFO] CSV updated: ${CSV_FILE}" if [[ ${OPERATOR_FILE} ]]; then @@ -141,6 +142,6 @@ if [[ ${OPERATOR_FILE} ]]; then # add new `RELATED_IMAGES` yq -riY "( .spec.template.spec.containers[0].env ) += [${RELATED_IMAGES_ENV}]" ${OPERATOR_FILE} - echo -e "$(cat ${SCRIPTS_DIR}/license.txt)\n$(cat ${OPERATOR_FILE})" > ${OPERATOR_FILE} + echo -e "$(cat ${OPERATOR_FILE})" > ${OPERATOR_FILE} echo "[INFO] Operator deployment file updated: ${OPERATOR_FILE}" fi diff --git a/olm/buildAndPushBundleImages.sh b/olm/buildAndPushBundleImages.sh index 3b5695bfb..c999360c1 100755 --- a/olm/buildAndPushBundleImages.sh +++ b/olm/buildAndPushBundleImages.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2012-2021 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# set -ex diff --git a/olm/buildDigestMap.sh b/olm/buildDigestMap.sh index aa73c6458..1237f024a 100755 --- a/olm/buildDigestMap.sh +++ b/olm/buildDigestMap.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2019-2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# set -e diff --git a/olm/check-yq.sh b/olm/check-yq.sh index 734885712..95a9755f1 100755 --- a/olm/check-yq.sh +++ b/olm/check-yq.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2019 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# if ! command -v yq >/dev/null 2>&1 then diff --git a/olm/ci.yaml b/olm/ci.yaml index c0e26fe5e..e00809910 100644 --- a/olm/ci.yaml +++ b/olm/ci.yaml @@ -1,3 +1,15 @@ +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + --- # Eclipse Che uses \`replaces-mode\` instead of \`semver-mode\` because we produce next versioned 9.9.9.* # which would be seen as newer than all the stable 7.yy.z releases by semver rules, preventing anyone from updating diff --git a/olm/docker-run.sh b/olm/docker-run.sh index 11c752257..37c307442 100755 --- a/olm/docker-run.sh +++ b/olm/docker-run.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2019 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# # git ROOT directory used to mount filesystem GIT_ROOT_DIRECTORY=$(git rev-parse --show-toplevel) diff --git a/olm/dockerContainerExtract.sh b/olm/dockerContainerExtract.sh index 974783011..19d880fba 100755 --- a/olm/dockerContainerExtract.sh +++ b/olm/dockerContainerExtract.sh @@ -1,4 +1,16 @@ #!/bin/bash +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + set -e +x if [[ ! $1 ]]; then diff --git a/olm/force-pulling-olm-images-job.yaml b/olm/force-pulling-olm-images-job.yaml index 686336165..072ba798c 100644 --- a/olm/force-pulling-olm-images-job.yaml +++ b/olm/force-pulling-olm-images-job.yaml @@ -1,13 +1,14 @@ # -# Copyright (c) 2012-2020 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ # -# SPDX-License-Identifier: EPL-2.0 +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation # -# Contributors: -# Red Hat, Inc. - initial API and implementation kind: Job apiVersion: batch/v1 diff --git a/olm/images.sh b/olm/images.sh index 57d873d5d..8586705c3 100755 --- a/olm/images.sh +++ b/olm/images.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2019-2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# setImagesFromDeploymentEnv() { REQUIRED_IMAGES=$(yq -r '.spec.install.spec.deployments[].spec.template.spec.containers[].env[] | select(.value) | select(.name | test("RELATED_IMAGE_.*"; "g")) | .value' "${CSV}" | sort | uniq) diff --git a/olm/license.txt b/olm/license.txt deleted file mode 100644 index cc76c9719..000000000 --- a/olm/license.txt +++ /dev/null @@ -1,10 +0,0 @@ -# -# Copyright (c) 2019-2021 Red Hat, Inc. -# This program and the accompanying materials are made -# available under the terms of the Eclipse Public License 2.0 -# which is available at https://www.eclipse.org/legal/epl-2.0/ -# -# SPDX-License-Identifier: EPL-2.0 -# -# Contributors: -# Red Hat, Inc. - initial API and implementation diff --git a/olm/minikube-registry-addon.sh b/olm/minikube-registry-addon.sh index 88130980c..dc3bf4de5 100755 --- a/olm/minikube-registry-addon.sh +++ b/olm/minikube-registry-addon.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -10,6 +10,7 @@ # Contributors: # Red Hat, Inc. - initial API and implementation # + # Scripts to prepare OLM(operator lifecycle manager) and install che-operator package # with specific version using OLM. diff --git a/olm/olm.sh b/olm/olm.sh index b0110f9f8..b1fc9e0ab 100755 --- a/olm/olm.sh +++ b/olm/olm.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -10,6 +10,7 @@ # Contributors: # Red Hat, Inc. - initial API and implementation # + # Scripts to prepare OLM(operator lifecycle manager) and install che-operator package # with specific version using OLM. diff --git a/olm/prepare-community-operators-update.sh b/olm/prepare-community-operators-update.sh index 84f44a3be..c2b92741b 100755 --- a/olm/prepare-community-operators-update.sh +++ b/olm/prepare-community-operators-update.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2019-2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# # exit immediately when a command fails set -e diff --git a/olm/release-olm-files.sh b/olm/release-olm-files.sh index 82e358bf4..38c175046 100755 --- a/olm/release-olm-files.sh +++ b/olm/release-olm-files.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2019 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# set -e @@ -109,6 +110,8 @@ do RELEASE_CHE_BACKUP_CRD="${STABLE_BUNDLE_PATH}/manifests/org.eclipse.che_checlusterbackups_crd.yaml" RELEASE_CHE_RESTORE_CRD="${STABLE_BUNDLE_PATH}/manifests/org.eclipse.che_checlusterrestores_crd.yaml" + MANAGER_YAML="${OPERATOR_DIR}/config/manager/manager.yaml" + setLatestReleasedVersion downloadLatestReleasedBundleCRCRD packageName=$(getPackageName "${platform}") @@ -169,12 +172,17 @@ do -e 's/LABEL operators.operatorframework.io.bundle.channel.default.v1=.*/LABEL operators.operatorframework.io.bundle.channel.default.v1='$CHANNEL'/' \ -i "${BUNDLE_DOCKERFILE}" - pushd "${CURRENT_DIR}" || true + pushd "${CURRENT_DIR}" || exit 1 source ${BASE_DIR}/addDigests.sh -w ${BASE_DIR} \ -t "${RELEASE}" \ - -s "${STABLE_BUNDLE_PATH}/manifests/che-operator.clusterserviceversion.yaml" \ - -o "${OPERATOR_DIR}/config/manager/manager.yaml" - popd || true + -s "${RELEASE_CSV}" \ + -o "${MANAGER_YAML}" + popd || exit 1 + + pushd "${OPERATOR_DIR}" || exit 1 + make add-license "${RELEASE_CSV}" + make add-license "${MANAGER_YAML}" + popd || exit 1 if [[ -n "${PRE_RELEASE_CSV}" ]] && [[ -n "${PRE_RELEASE_CHE_CRD}" ]]; then diff -u "${PRE_RELEASE_CSV}" "${RELEASE_CSV}" > "${RELEASE_CSV}.diff" || true diff --git a/olm/testCatalogSource.sh b/olm/testCatalogSource.sh index 337f78b26..f22052ded 100755 --- a/olm/testCatalogSource.sh +++ b/olm/testCatalogSource.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2012-2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# # bash ansi colors diff --git a/olm/testUpdate.sh b/olm/testUpdate.sh index 71660dc1d..fcb3561d0 100755 --- a/olm/testUpdate.sh +++ b/olm/testUpdate.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2012-2021 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -9,6 +9,7 @@ # # Contributors: # Red Hat, Inc. - initial API and implementation +# if [ -z "${OPERATOR_REPO}" ]; then SCRIPT=$(readlink -f "$0") diff --git a/pkg/backup_servers/awss3_server.go b/pkg/backup_servers/awss3_server.go index 112010c4b..3fa982c52 100644 --- a/pkg/backup_servers/awss3_server.go +++ b/pkg/backup_servers/awss3_server.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/backup_servers/backup_servers.go b/pkg/backup_servers/backup_servers.go index c7a05dd59..a64f92893 100644 --- a/pkg/backup_servers/backup_servers.go +++ b/pkg/backup_servers/backup_servers.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/backup_servers/rest_server.go b/pkg/backup_servers/rest_server.go index 7062344f3..6ffc2e5a9 100644 --- a/pkg/backup_servers/rest_server.go +++ b/pkg/backup_servers/rest_server.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/backup_servers/restic-client.go b/pkg/backup_servers/restic-client.go index f96a7c433..51d0d1d2f 100644 --- a/pkg/backup_servers/restic-client.go +++ b/pkg/backup_servers/restic-client.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/backup_servers/sftp_server.go b/pkg/backup_servers/sftp_server.go index 46e800841..c90ed5ccb 100644 --- a/pkg/backup_servers/sftp_server.go +++ b/pkg/backup_servers/sftp_server.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/backup_servers/util.go b/pkg/backup_servers/util.go index accfc9f7c..adcd669e7 100644 --- a/pkg/backup_servers/util.go +++ b/pkg/backup_servers/util.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/checluster.go b/pkg/deploy/checluster.go index 781631584..6a7c5a63c 100644 --- a/pkg/deploy/checluster.go +++ b/pkg/deploy/checluster.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/checluster_test.go b/pkg/deploy/checluster_test.go index 64cd30338..42df0ec3a 100644 --- a/pkg/deploy/checluster_test.go +++ b/pkg/deploy/checluster_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/clusterrole.go b/pkg/deploy/clusterrole.go index 3d82844cc..1cc5ee94a 100644 --- a/pkg/deploy/clusterrole.go +++ b/pkg/deploy/clusterrole.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/clusterrole_test.go b/pkg/deploy/clusterrole_test.go index 1862fd500..872223301 100644 --- a/pkg/deploy/clusterrole_test.go +++ b/pkg/deploy/clusterrole_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/clusterrolebinding.go b/pkg/deploy/clusterrolebinding.go index b08fc0716..16bd072dc 100644 --- a/pkg/deploy/clusterrolebinding.go +++ b/pkg/deploy/clusterrolebinding.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/clusterrolebinding_test.go b/pkg/deploy/clusterrolebinding_test.go index edd99f5ab..f80cf5856 100644 --- a/pkg/deploy/clusterrolebinding_test.go +++ b/pkg/deploy/clusterrolebinding_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/configmap.go b/pkg/deploy/configmap.go index b08acede1..8baa844e7 100644 --- a/pkg/deploy/configmap.go +++ b/pkg/deploy/configmap.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2020 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/configmap_test.go b/pkg/deploy/configmap_test.go index 02d1db377..f87621264 100644 --- a/pkg/deploy/configmap_test.go +++ b/pkg/deploy/configmap_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/consolelink.go b/pkg/deploy/consolelink.go index 1d2180e57..eaf3f6735 100644 --- a/pkg/deploy/consolelink.go +++ b/pkg/deploy/consolelink.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/consolelink_test.go b/pkg/deploy/consolelink_test.go index 5ffb1b6d8..b79b66c41 100644 --- a/pkg/deploy/consolelink_test.go +++ b/pkg/deploy/consolelink_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/dashboard/dashboard.go b/pkg/deploy/dashboard/dashboard.go index cc07e8582..394fd957d 100644 --- a/pkg/deploy/dashboard/dashboard.go +++ b/pkg/deploy/dashboard/dashboard.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/dashboard/dashboard_deployment_test.go b/pkg/deploy/dashboard/dashboard_deployment_test.go index a55b7edfd..90ec9308d 100644 --- a/pkg/deploy/dashboard/dashboard_deployment_test.go +++ b/pkg/deploy/dashboard/dashboard_deployment_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/dashboard/dashboard_test.go b/pkg/deploy/dashboard/dashboard_test.go index 23a005ea0..1d704b626 100644 --- a/pkg/deploy/dashboard/dashboard_test.go +++ b/pkg/deploy/dashboard/dashboard_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/dashboard/deployment_dashboard.go b/pkg/deploy/dashboard/deployment_dashboard.go index 442efe8bd..d9e3eb4e9 100644 --- a/pkg/deploy/dashboard/deployment_dashboard.go +++ b/pkg/deploy/dashboard/deployment_dashboard.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/dashboard/init_test.go b/pkg/deploy/dashboard/init_test.go index 659a0b369..19b3ae96b 100644 --- a/pkg/deploy/dashboard/init_test.go +++ b/pkg/deploy/dashboard/init_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/dashboard/rbac.go b/pkg/deploy/dashboard/rbac.go index 5e52b4191..36b510ea3 100644 --- a/pkg/deploy/dashboard/rbac.go +++ b/pkg/deploy/dashboard/rbac.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/data_types.go b/pkg/deploy/data_types.go index c9e8c5a6b..ca0da8e1b 100644 --- a/pkg/deploy/data_types.go +++ b/pkg/deploy/data_types.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2020-2020 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/defaults.go b/pkg/deploy/defaults.go index 9acbe4433..6ba5d6e57 100644 --- a/pkg/deploy/defaults.go +++ b/pkg/deploy/defaults.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2018-2020 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/defaults.go.update.sh b/pkg/deploy/defaults.go.update.sh index a3f8e8a5d..16f6f7b49 100755 --- a/pkg/deploy/defaults.go.update.sh +++ b/pkg/deploy/defaults.go.update.sh @@ -1,4 +1,15 @@ #!/bin/bash +# +# Copyright (c) 2019-2021 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# # check for latest tags in upstream container repos diff --git a/pkg/deploy/defaults_test.go b/pkg/deploy/defaults_test.go index a089584d6..3ce40ba2d 100644 --- a/pkg/deploy/defaults_test.go +++ b/pkg/deploy/defaults_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/deployment.go b/pkg/deploy/deployment.go index 350634e16..7b5066d84 100644 --- a/pkg/deploy/deployment.go +++ b/pkg/deploy/deployment.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2020 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/deployment_test.go b/pkg/deploy/deployment_test.go index 61ec4e917..156488fb8 100644 --- a/pkg/deploy/deployment_test.go +++ b/pkg/deploy/deployment_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/dev-workspace/dev_workspace.go b/pkg/deploy/dev-workspace/dev_workspace.go index 160aafa63..d8a376568 100644 --- a/pkg/deploy/dev-workspace/dev_workspace.go +++ b/pkg/deploy/dev-workspace/dev_workspace.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/dev-workspace/dev_workspace_test.go b/pkg/deploy/dev-workspace/dev_workspace_test.go index 33c728351..1934187ed 100644 --- a/pkg/deploy/dev-workspace/dev_workspace_test.go +++ b/pkg/deploy/dev-workspace/dev_workspace_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/dev-workspace/init_test.go b/pkg/deploy/dev-workspace/init_test.go index 8cf5271b0..15abfd64f 100644 --- a/pkg/deploy/dev-workspace/init_test.go +++ b/pkg/deploy/dev-workspace/init_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/dev-workspace/object_cache.go b/pkg/deploy/dev-workspace/object_cache.go index 4a170b1df..eae945bae 100644 --- a/pkg/deploy/dev-workspace/object_cache.go +++ b/pkg/deploy/dev-workspace/object_cache.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/dev-workspace/sync.go b/pkg/deploy/dev-workspace/sync.go index b18ac2b99..5a77b69ad 100644 --- a/pkg/deploy/dev-workspace/sync.go +++ b/pkg/deploy/dev-workspace/sync.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/dev-workspace/sync_test.go b/pkg/deploy/dev-workspace/sync_test.go index 6545fa777..d8a5f26c1 100644 --- a/pkg/deploy/dev-workspace/sync_test.go +++ b/pkg/deploy/dev-workspace/sync_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/devfileregistry/devfileregistry.go b/pkg/deploy/devfileregistry/devfileregistry.go index aeef5db76..dd00c217c 100644 --- a/pkg/deploy/devfileregistry/devfileregistry.go +++ b/pkg/deploy/devfileregistry/devfileregistry.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/devfileregistry/devfileregistry_configmap.go b/pkg/deploy/devfileregistry/devfileregistry_configmap.go index bf62644d4..fcc2e8f60 100644 --- a/pkg/deploy/devfileregistry/devfileregistry_configmap.go +++ b/pkg/deploy/devfileregistry/devfileregistry_configmap.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/devfileregistry/devfileregistry_deployment.go b/pkg/deploy/devfileregistry/devfileregistry_deployment.go index 91f0e903d..448553849 100644 --- a/pkg/deploy/devfileregistry/devfileregistry_deployment.go +++ b/pkg/deploy/devfileregistry/devfileregistry_deployment.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/devfileregistry/devfileregistry_deployment_test.go b/pkg/deploy/devfileregistry/devfileregistry_deployment_test.go index 9e8a1c491..ccf37a7c2 100644 --- a/pkg/deploy/devfileregistry/devfileregistry_deployment_test.go +++ b/pkg/deploy/devfileregistry/devfileregistry_deployment_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/devfileregistry/devfileregistry_test.go b/pkg/deploy/devfileregistry/devfileregistry_test.go index 28ee20932..a6f98557c 100644 --- a/pkg/deploy/devfileregistry/devfileregistry_test.go +++ b/pkg/deploy/devfileregistry/devfileregistry_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/devfileregistry/init_test.go b/pkg/deploy/devfileregistry/init_test.go index 6f93eb306..4baca18fe 100644 --- a/pkg/deploy/devfileregistry/init_test.go +++ b/pkg/deploy/devfileregistry/init_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2020-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/expose/expose.go b/pkg/deploy/expose/expose.go index fd7ae56bc..b5271659d 100644 --- a/pkg/deploy/expose/expose.go +++ b/pkg/deploy/expose/expose.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2020-2020 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/finalizer.go b/pkg/deploy/finalizer.go index 28925afd0..8505f20d9 100644 --- a/pkg/deploy/finalizer.go +++ b/pkg/deploy/finalizer.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/finalizer_test.go b/pkg/deploy/finalizer_test.go index e47f5f04c..49f9de8e4 100644 --- a/pkg/deploy/finalizer_test.go +++ b/pkg/deploy/finalizer_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/gateway/init_test.go b/pkg/deploy/gateway/init_test.go index 5789681b2..923ad9fe6 100644 --- a/pkg/deploy/gateway/init_test.go +++ b/pkg/deploy/gateway/init_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2020-2020 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/identity-provider/deployment_keycloak.go b/pkg/deploy/identity-provider/deployment_keycloak.go index 5c8a72161..4c7726392 100644 --- a/pkg/deploy/identity-provider/deployment_keycloak.go +++ b/pkg/deploy/identity-provider/deployment_keycloak.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/identity-provider/deployment_keycloak_test.go b/pkg/deploy/identity-provider/deployment_keycloak_test.go index c1bca01f9..f5e2a9500 100644 --- a/pkg/deploy/identity-provider/deployment_keycloak_test.go +++ b/pkg/deploy/identity-provider/deployment_keycloak_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/identity-provider/exec.go b/pkg/deploy/identity-provider/exec.go index cbe01bc83..52c2347b3 100644 --- a/pkg/deploy/identity-provider/exec.go +++ b/pkg/deploy/identity-provider/exec.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2020-2020 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/identity-provider/identity_provider.go b/pkg/deploy/identity-provider/identity_provider.go index ba48e1d18..f0aaad595 100644 --- a/pkg/deploy/identity-provider/identity_provider.go +++ b/pkg/deploy/identity-provider/identity_provider.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2020-2020 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/identity-provider/identity_provider_test.go b/pkg/deploy/identity-provider/identity_provider_test.go index 4901675b0..271b70bf7 100644 --- a/pkg/deploy/identity-provider/identity_provider_test.go +++ b/pkg/deploy/identity-provider/identity_provider_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/identity-provider/init_test.go b/pkg/deploy/identity-provider/init_test.go index 0cb4c9175..67d990dbc 100644 --- a/pkg/deploy/identity-provider/init_test.go +++ b/pkg/deploy/identity-provider/init_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2020-2020 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/identity-provider/keycloak_readiness.go b/pkg/deploy/identity-provider/keycloak_readiness.go index bc5eb0e77..c70a75668 100644 --- a/pkg/deploy/identity-provider/keycloak_readiness.go +++ b/pkg/deploy/identity-provider/keycloak_readiness.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/image-puller/imagepuller.go b/pkg/deploy/image-puller/imagepuller.go index 46c6b2b7f..f4c4e2f63 100644 --- a/pkg/deploy/image-puller/imagepuller.go +++ b/pkg/deploy/image-puller/imagepuller.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2020-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/image-puller/imagepuller_test.go b/pkg/deploy/image-puller/imagepuller_test.go index 58f6a52cf..50fffb422 100644 --- a/pkg/deploy/image-puller/imagepuller_test.go +++ b/pkg/deploy/image-puller/imagepuller_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2020-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/image-puller/init_test.go b/pkg/deploy/image-puller/init_test.go index fe7d0318f..ad0f6e546 100644 --- a/pkg/deploy/image-puller/init_test.go +++ b/pkg/deploy/image-puller/init_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/ingres_test.go b/pkg/deploy/ingres_test.go index b21ed704a..72113b20a 100644 --- a/pkg/deploy/ingres_test.go +++ b/pkg/deploy/ingres_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/ingress.go b/pkg/deploy/ingress.go index 9f2d97237..590084efb 100644 --- a/pkg/deploy/ingress.go +++ b/pkg/deploy/ingress.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/init_test.go b/pkg/deploy/init_test.go index 7a8569b5c..624fb0bc3 100644 --- a/pkg/deploy/init_test.go +++ b/pkg/deploy/init_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/job.go b/pkg/deploy/job.go index 8d236609a..794bfa27b 100644 --- a/pkg/deploy/job.go +++ b/pkg/deploy/job.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2020 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/job_test.go b/pkg/deploy/job_test.go index 288bf6b7a..23e68dc95 100644 --- a/pkg/deploy/job_test.go +++ b/pkg/deploy/job_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/labels.go b/pkg/deploy/labels.go index 350ea9a95..b1f1e7122 100644 --- a/pkg/deploy/labels.go +++ b/pkg/deploy/labels.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/labels_test.go b/pkg/deploy/labels_test.go index 185ea0d60..f3e4ef3e5 100644 --- a/pkg/deploy/labels_test.go +++ b/pkg/deploy/labels_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/oauthclient.go b/pkg/deploy/oauthclient.go index c62536c62..b5525a365 100644 --- a/pkg/deploy/oauthclient.go +++ b/pkg/deploy/oauthclient.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/openshift-oauth/init_test.go b/pkg/deploy/openshift-oauth/init_test.go index b80bea36f..f7d1b47de 100644 --- a/pkg/deploy/openshift-oauth/init_test.go +++ b/pkg/deploy/openshift-oauth/init_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/openshift-oauth/openshiftoauth_user.go b/pkg/deploy/openshift-oauth/openshiftoauth_user.go index c85591bd2..be1237669 100644 --- a/pkg/deploy/openshift-oauth/openshiftoauth_user.go +++ b/pkg/deploy/openshift-oauth/openshiftoauth_user.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/openshift-oauth/openshiftoauth_user_test.go b/pkg/deploy/openshift-oauth/openshiftoauth_user_test.go index e22da917a..0b2b70466 100644 --- a/pkg/deploy/openshift-oauth/openshiftoauth_user_test.go +++ b/pkg/deploy/openshift-oauth/openshiftoauth_user_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/openshift-oauth/openshiftoauth_util.go b/pkg/deploy/openshift-oauth/openshiftoauth_util.go index 1f5019400..8905aa0bf 100644 --- a/pkg/deploy/openshift-oauth/openshiftoauth_util.go +++ b/pkg/deploy/openshift-oauth/openshiftoauth_util.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/pluginregistry/init_test.go b/pkg/deploy/pluginregistry/init_test.go index 1234f029c..f442a677f 100644 --- a/pkg/deploy/pluginregistry/init_test.go +++ b/pkg/deploy/pluginregistry/init_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2020-2020 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/pluginregistry/pluginregistry.go b/pkg/deploy/pluginregistry/pluginregistry.go index 096eb2ea6..61940720f 100644 --- a/pkg/deploy/pluginregistry/pluginregistry.go +++ b/pkg/deploy/pluginregistry/pluginregistry.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/pluginregistry/pluginregistry_configmap.go b/pkg/deploy/pluginregistry/pluginregistry_configmap.go index c1b65878b..dd5635255 100644 --- a/pkg/deploy/pluginregistry/pluginregistry_configmap.go +++ b/pkg/deploy/pluginregistry/pluginregistry_configmap.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/pluginregistry/pluginregistry_deployment.go b/pkg/deploy/pluginregistry/pluginregistry_deployment.go index 6195d8834..097160b14 100644 --- a/pkg/deploy/pluginregistry/pluginregistry_deployment.go +++ b/pkg/deploy/pluginregistry/pluginregistry_deployment.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/pluginregistry/pluginregistry_deployment_test.go b/pkg/deploy/pluginregistry/pluginregistry_deployment_test.go index 7e26f9acb..a5c607933 100644 --- a/pkg/deploy/pluginregistry/pluginregistry_deployment_test.go +++ b/pkg/deploy/pluginregistry/pluginregistry_deployment_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/postgres/init_test.go b/pkg/deploy/postgres/init_test.go index ce2903f7a..53e8c6311 100644 --- a/pkg/deploy/postgres/init_test.go +++ b/pkg/deploy/postgres/init_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2020-2020 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/postgres/postgres.go b/pkg/deploy/postgres/postgres.go index 44f54d116..bbad13f6e 100644 --- a/pkg/deploy/postgres/postgres.go +++ b/pkg/deploy/postgres/postgres.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/postgres/postgres_readiness.go b/pkg/deploy/postgres/postgres_readiness.go index 6e590dc84..ee5820160 100644 --- a/pkg/deploy/postgres/postgres_readiness.go +++ b/pkg/deploy/postgres/postgres_readiness.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/postgres/postgres_test.go b/pkg/deploy/postgres/postgres_test.go index fcbe56b67..2a561c56c 100644 --- a/pkg/deploy/postgres/postgres_test.go +++ b/pkg/deploy/postgres/postgres_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/proxy.go b/pkg/deploy/proxy.go index abaee5196..82dd42844 100644 --- a/pkg/deploy/proxy.go +++ b/pkg/deploy/proxy.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2020 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/proxy_test.go b/pkg/deploy/proxy_test.go index fdb1082fd..7a4637649 100644 --- a/pkg/deploy/proxy_test.go +++ b/pkg/deploy/proxy_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2020 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/pvc.go b/pkg/deploy/pvc.go index e7af3fa9b..5ab8e22d9 100644 --- a/pkg/deploy/pvc.go +++ b/pkg/deploy/pvc.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2020 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/pvc_test.go b/pkg/deploy/pvc_test.go index 5f5e9fc14..36cfd95c0 100644 --- a/pkg/deploy/pvc_test.go +++ b/pkg/deploy/pvc_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/registry/registry_deployment.go b/pkg/deploy/registry/registry_deployment.go index c5f0ce7f0..ea0d0f3e3 100644 --- a/pkg/deploy/registry/registry_deployment.go +++ b/pkg/deploy/registry/registry_deployment.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/role.go b/pkg/deploy/role.go index 32c1574fe..b062a3bc6 100644 --- a/pkg/deploy/role.go +++ b/pkg/deploy/role.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/role_test.go b/pkg/deploy/role_test.go index d3dad1c94..2102353f3 100644 --- a/pkg/deploy/role_test.go +++ b/pkg/deploy/role_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/rolebinding.go b/pkg/deploy/rolebinding.go index 0f61a2cb3..c3783f991 100644 --- a/pkg/deploy/rolebinding.go +++ b/pkg/deploy/rolebinding.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/rolebinding_test.go b/pkg/deploy/rolebinding_test.go index 21d7ed0c8..730e0d283 100644 --- a/pkg/deploy/rolebinding_test.go +++ b/pkg/deploy/rolebinding_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/route.go b/pkg/deploy/route.go index a24c094d2..6aaf63e09 100644 --- a/pkg/deploy/route.go +++ b/pkg/deploy/route.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/route_test.go b/pkg/deploy/route_test.go index 0729ad8e0..1409da5ed 100644 --- a/pkg/deploy/route_test.go +++ b/pkg/deploy/route_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/secret.go b/pkg/deploy/secret.go index bf3d4e8b8..a1d12c603 100644 --- a/pkg/deploy/secret.go +++ b/pkg/deploy/secret.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/sercet_test.go b/pkg/deploy/sercet_test.go index d079acdba..b60c140db 100644 --- a/pkg/deploy/sercet_test.go +++ b/pkg/deploy/sercet_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/server/init_test.go b/pkg/deploy/server/init_test.go index 2ef17e472..2c3c9be6d 100644 --- a/pkg/deploy/server/init_test.go +++ b/pkg/deploy/server/init_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2020-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/server/server.go b/pkg/deploy/server/server.go index 1ff3dd47e..49f83492b 100644 --- a/pkg/deploy/server/server.go +++ b/pkg/deploy/server/server.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/server/server_configmap.go b/pkg/deploy/server/server_configmap.go index afefc5338..efa359570 100644 --- a/pkg/deploy/server/server_configmap.go +++ b/pkg/deploy/server/server_configmap.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/server/server_configmap_test.go b/pkg/deploy/server/server_configmap_test.go index 17c4a4dcb..726af6ca3 100644 --- a/pkg/deploy/server/server_configmap_test.go +++ b/pkg/deploy/server/server_configmap_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/server/server_deployment.go b/pkg/deploy/server/server_deployment.go index 2178e471a..999695c04 100644 --- a/pkg/deploy/server/server_deployment.go +++ b/pkg/deploy/server/server_deployment.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/server/server_deployment_test.go b/pkg/deploy/server/server_deployment_test.go index 432a8d75e..adfe9f806 100644 --- a/pkg/deploy/server/server_deployment_test.go +++ b/pkg/deploy/server/server_deployment_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/server/server_test.go b/pkg/deploy/server/server_test.go index 6e89f409b..3c0168bdd 100644 --- a/pkg/deploy/server/server_test.go +++ b/pkg/deploy/server/server_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/service.go b/pkg/deploy/service.go index a4bf46b57..6f00ff8a3 100644 --- a/pkg/deploy/service.go +++ b/pkg/deploy/service.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2020-2020 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/service_account.go b/pkg/deploy/service_account.go index 138e48739..0420c6b36 100644 --- a/pkg/deploy/service_account.go +++ b/pkg/deploy/service_account.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/service_test.go b/pkg/deploy/service_test.go index be71dc2c5..86b6f2915 100644 --- a/pkg/deploy/service_test.go +++ b/pkg/deploy/service_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/sync.go b/pkg/deploy/sync.go index acec49c75..dbaf437cf 100644 --- a/pkg/deploy/sync.go +++ b/pkg/deploy/sync.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/sync_test.go b/pkg/deploy/sync_test.go index a788e4b1a..2d32a637c 100644 --- a/pkg/deploy/sync_test.go +++ b/pkg/deploy/sync_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/test_util.go b/pkg/deploy/test_util.go index 2949de270..c91a3f3f6 100644 --- a/pkg/deploy/test_util.go +++ b/pkg/deploy/test_util.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/tls.go b/pkg/deploy/tls.go index 8e038cf94..5c1ff3140 100644 --- a/pkg/deploy/tls.go +++ b/pkg/deploy/tls.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/deploy/tls_test.go b/pkg/deploy/tls_test.go index 93111cad1..5db595f99 100644 --- a/pkg/deploy/tls_test.go +++ b/pkg/deploy/tls_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/signal/signal_handler.go b/pkg/signal/signal_handler.go index 244e103fd..09f68c647 100644 --- a/pkg/signal/signal_handler.go +++ b/pkg/signal/signal_handler.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2020 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/util/checluster_util.go b/pkg/util/checluster_util.go index 4ca006016..aa4de7c08 100644 --- a/pkg/util/checluster_util.go +++ b/pkg/util/checluster_util.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/util/checluster_util_test.go b/pkg/util/checluster_util_test.go index 21415f256..1f615d8c4 100644 --- a/pkg/util/checluster_util_test.go +++ b/pkg/util/checluster_util_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/util/k8s_helpers.go b/pkg/util/k8s_helpers.go index fd54bcc32..1851425a0 100644 --- a/pkg/util/k8s_helpers.go +++ b/pkg/util/k8s_helpers.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/util/k8s_helpers_test.go b/pkg/util/k8s_helpers_test.go index cdaaf41b1..0ace8180c 100644 --- a/pkg/util/k8s_helpers_test.go +++ b/pkg/util/k8s_helpers_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/util/process.go b/pkg/util/process.go index b997778a7..96645ba11 100644 --- a/pkg/util/process.go +++ b/pkg/util/process.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/util/util.go b/pkg/util/util.go index 4f902a509..d68e3a114 100644 --- a/pkg/util/util.go +++ b/pkg/util/util.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2019 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/pkg/util/util_test.go b/pkg/util/util_test.go index 206d6a700..d7e5243d1 100644 --- a/pkg/util/util_test.go +++ b/pkg/util/util_test.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2012-2021 Red Hat, Inc. +// Copyright (c) 2019-2021 Red Hat, Inc. // This program and the accompanying materials are made // available under the terms of the Eclipse Public License 2.0 // which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/templates/create-github-identity-provider.sh b/templates/create-github-identity-provider.sh index dcfe3ef95..f01e0c99e 100644 --- a/templates/create-github-identity-provider.sh +++ b/templates/create-github-identity-provider.sh @@ -1,5 +1,5 @@ # -# Copyright (c) 2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/templates/delete-identity-provider.sh b/templates/delete-identity-provider.sh index 2533de8bd..fe05923d3 100644 --- a/templates/delete-identity-provider.sh +++ b/templates/delete-identity-provider.sh @@ -1,5 +1,5 @@ # -# Copyright (c) 2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/templates/keycloak-provision.sh b/templates/keycloak-provision.sh index b791670e6..1003af4b8 100644 --- a/templates/keycloak-provision.sh +++ b/templates/keycloak-provision.sh @@ -1,5 +1,5 @@ # -# Copyright (c) 2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/templates/keycloak-update.sh b/templates/keycloak-update.sh index 994a52b36..5c181ae30 100644 --- a/templates/keycloak-update.sh +++ b/templates/keycloak-update.sh @@ -1,5 +1,5 @@ # -# Copyright (c) 2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/templates/oauth-provision.sh b/templates/oauth-provision.sh index 2dca983fb..31db616bf 100644 --- a/templates/oauth-provision.sh +++ b/templates/oauth-provision.sh @@ -1,5 +1,5 @@ # -# Copyright (c) 2020 Red Hat, Inc. +# Copyright (c) 2019-2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ diff --git a/tools.go b/tools.go index 3d5e5c0bc..792ec5dab 100644 --- a/tools.go +++ b/tools.go @@ -1,3 +1,15 @@ +// +// Copyright (c) 2019-2021 Red Hat, Inc. +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// +// Contributors: +// Red Hat, Inc. - initial API and implementation +// + // +build tools // Place any runtime dependencies as imports in this file. diff --git a/version/version.go b/version/version.go index 1651b874d..30b45c9d1 100644 --- a/version/version.go +++ b/version/version.go @@ -1,3 +1,15 @@ +// +// Copyright (c) 2019-2021 Red Hat, Inc. +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// +// Contributors: +// Red Hat, Inc. - initial API and implementation +// + package version var (