diff --git a/.github/maintainers.yaml b/.github/maintainers.yaml index 92835545..d9e7c3a7 100644 --- a/.github/maintainers.yaml +++ b/.github/maintainers.yaml @@ -2,22 +2,22 @@ github: https://github.com/bsctl company: Clastix projects: - - https://github.com/clastix/capsule + - https://github.com/projectcapsule/capsule - https://github.com/clastix/capsule-proxy - name: Dario Tranchitella github: https://github.com/prometherion company: Clastix projects: - - https://github.com/clastix/capsule + - https://github.com/projectcapsule/capsule - https://github.com/clastix/capsule-proxy - name: Maksim Fedotov github: https://github.com/MaxFedotov company: wargaming.net projects: - - https://github.com/clastix/capsule + - https://github.com/projectcapsule/capsule - https://github.com/clastix/capsule-proxy - name: Oliver Bähler github: https://github.com/oliverbaehler company: Bedag Informatik AG projects: - - https://github.com/clastix/capsule + - https://github.com/projectcapsule/capsule diff --git a/.golangci.yml b/.golangci.yml index 6adb72eb..88e151b9 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -14,10 +14,10 @@ linters-settings: sections: - standard - default - - prefix(github.com/clastix/capsule) + - prefix(github.com/projectcapsule/capsule) goheader: template: |- - Copyright 2020-2021 Clastix Labs + Copyright 2020-2023 Project Capsule Authors. SPDX-License-Identifier: Apache-2.0 linters: diff --git a/Makefile b/Makefile index b928cae0..5a59045f 100644 --- a/Makefile +++ b/Makefile @@ -236,7 +236,7 @@ bundle-build: # Sorting imports .PHONY: goimports goimports: - goimports -w -l -local "github.com/clastix/capsule" . + goimports -w -l -local "github.com/projectcapsule/capsule" . GOLANGCI_LINT = $(shell pwd)/bin/golangci-lint golangci-lint: ## Download golangci-lint locally if necessary. diff --git a/PROJECT b/PROJECT index ff22733d..81d642aa 100644 --- a/PROJECT +++ b/PROJECT @@ -5,7 +5,7 @@ plugins: manifests.sdk.operatorframework.io/v2: {} scorecard.sdk.operatorframework.io/v2: {} projectName: capsule -repo: github.com/clastix/capsule +repo: github.com/projectcapsule/capsule resources: - api: crdVersion: v1 @@ -13,7 +13,7 @@ resources: domain: clastix.io group: capsule kind: Tenant - path: github.com/clastix/capsule/api/v1alpha1 + path: github.com/projectcapsule/capsule/api/v1alpha1 version: v1alpha1 webhooks: conversion: true @@ -24,21 +24,21 @@ resources: domain: clastix.io group: capsule kind: CapsuleConfiguration - path: github.com/clastix/capsule/api/v1alpha1 + path: github.com/projectcapsule/capsule/api/v1alpha1 version: v1alpha1 - api: crdVersion: v1 domain: clastix.io group: capsule kind: Tenant - path: github.com/clastix/capsule/api/v1beta1 + path: github.com/projectcapsule/capsule/api/v1beta1 version: v1beta1 - api: crdVersion: v1 domain: clastix.io group: capsule kind: Tenant - path: github.com/clastix/capsule/api/v1beta2 + path: github.com/projectcapsule/capsule/api/v1beta2 version: v1beta2 - api: crdVersion: v1 @@ -46,7 +46,7 @@ resources: domain: clastix.io group: capsule kind: CapsuleConfiguration - path: github.com/clastix/capsule/api/v1beta2 + path: github.com/projectcapsule/capsule/api/v1beta2 version: v1beta2 - api: crdVersion: v1 @@ -54,13 +54,13 @@ resources: domain: clastix.io group: capsule kind: TenantResource - path: github.com/clastix/capsule/api/v1beta2 + path: github.com/projectcapsule/capsule/api/v1beta2 version: v1beta2 - api: crdVersion: v1 domain: clastix.io group: capsule kind: GlobalTenantResource - path: github.com/clastix/capsule/api/v1beta2 + path: github.com/projectcapsule/capsule/api/v1beta2 version: v1beta2 version: "3" diff --git a/README.md b/README.md index 4ef97db4..7f28e7bf 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@

- + - + @@ -94,7 +94,7 @@ make helm-docs ## Community -Join the community, share and learn from it. You can find all the resources to how to contribute code and docs, connect with people in the [community repository](https://github.com/clastix/capsule-community). +Join the community, share and learn from it. You can find all the resources to how to contribute code and docs, connect with people in the [community repository](https://github.com/projectcapsule/capsule-community). Please read the [code of conduct](CODE_OF_CONDUCT.md). @@ -122,7 +122,7 @@ Please, refer to the [documentation page](https://capsule.clastix.io/docs/contri - Q. Is it production grade? - A. Although under frequent development and improvements, Capsule is ready to be used in production environments as currently, people are using it in public and private deployments. Check out the [release](https://github.com/clastix/capsule/releases) page for a detailed list of available versions. + A. Although under frequent development and improvements, Capsule is ready to be used in production environments as currently, people are using it in public and private deployments. Check out the [release](https://github.com/projectcapsule/capsule/releases) page for a detailed list of available versions. - Q. Does it work with my Kubernetes XYZ distribution? diff --git a/api/v1alpha1/additional_metadata.go b/api/v1alpha1/additional_metadata.go index 377688df..f0f06564 100644 --- a/api/v1alpha1/additional_metadata.go +++ b/api/v1alpha1/additional_metadata.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1alpha1 diff --git a/api/v1alpha1/capsuleconfiguration_annotations.go b/api/v1alpha1/capsuleconfiguration_annotations.go index 9fb42c54..11162434 100644 --- a/api/v1alpha1/capsuleconfiguration_annotations.go +++ b/api/v1alpha1/capsuleconfiguration_annotations.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1alpha1 diff --git a/api/v1alpha1/capsuleconfiguration_types.go b/api/v1alpha1/capsuleconfiguration_types.go index ac404a25..0b000f2a 100644 --- a/api/v1alpha1/capsuleconfiguration_types.go +++ b/api/v1alpha1/capsuleconfiguration_types.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1alpha1 diff --git a/api/v1alpha1/capsuleconfiguration_webhook.go b/api/v1alpha1/capsuleconfiguration_webhook.go index 45a4221d..383bc51d 100644 --- a/api/v1alpha1/capsuleconfiguration_webhook.go +++ b/api/v1alpha1/capsuleconfiguration_webhook.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1alpha1 diff --git a/api/v1alpha1/conversion_hub.go b/api/v1alpha1/conversion_hub.go index 1332ff07..303212e7 100644 --- a/api/v1alpha1/conversion_hub.go +++ b/api/v1alpha1/conversion_hub.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1alpha1 @@ -13,8 +13,8 @@ import ( "k8s.io/utils/pointer" "sigs.k8s.io/controller-runtime/pkg/conversion" - capsulev1beta1 "github.com/clastix/capsule/api/v1beta1" - "github.com/clastix/capsule/pkg/api" + capsulev1beta1 "github.com/projectcapsule/capsule/api/v1beta1" + "github.com/projectcapsule/capsule/pkg/api" ) const ( diff --git a/api/v1alpha1/conversion_hub_test.go b/api/v1alpha1/conversion_hub_test.go index 64a2e369..6d8ecb70 100644 --- a/api/v1alpha1/conversion_hub_test.go +++ b/api/v1alpha1/conversion_hub_test.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1alpha1 @@ -15,8 +15,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/utils/pointer" - capsulev1beta1 "github.com/clastix/capsule/api/v1beta1" - "github.com/clastix/capsule/pkg/api" + capsulev1beta1 "github.com/projectcapsule/capsule/api/v1beta1" + "github.com/projectcapsule/capsule/pkg/api" ) //nolint:maintidx diff --git a/api/v1alpha1/groupversion_info.go b/api/v1alpha1/groupversion_info.go index c1d13832..e558012f 100644 --- a/api/v1alpha1/groupversion_info.go +++ b/api/v1alpha1/groupversion_info.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 // Package v1alpha1 contains API Schema definitions for the capsule.clastix.io v1alpha1 API group diff --git a/api/v1alpha1/owner.go b/api/v1alpha1/owner.go index a925a85f..275a2ed8 100644 --- a/api/v1alpha1/owner.go +++ b/api/v1alpha1/owner.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1alpha1 diff --git a/api/v1alpha1/tenant_func.go b/api/v1alpha1/tenant_func.go index b00147b7..f87c666c 100644 --- a/api/v1alpha1/tenant_func.go +++ b/api/v1alpha1/tenant_func.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1alpha1 diff --git a/api/v1alpha1/tenant_types.go b/api/v1alpha1/tenant_types.go index e0b8c884..4755ed87 100644 --- a/api/v1alpha1/tenant_types.go +++ b/api/v1alpha1/tenant_types.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1alpha1 @@ -8,7 +8,7 @@ import ( networkingv1 "k8s.io/api/networking/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/clastix/capsule/pkg/api" + "github.com/projectcapsule/capsule/pkg/api" ) // TenantSpec defines the desired state of Tenant. diff --git a/api/v1alpha1/tenant_webhook.go b/api/v1alpha1/tenant_webhook.go index 0df967e9..0bb1fccb 100644 --- a/api/v1alpha1/tenant_webhook.go +++ b/api/v1alpha1/tenant_webhook.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1alpha1 diff --git a/api/v1alpha1/zz_generated.deepcopy.go b/api/v1alpha1/zz_generated.deepcopy.go index db654794..b8ea682f 100644 --- a/api/v1alpha1/zz_generated.deepcopy.go +++ b/api/v1alpha1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ //go:build !ignore_autogenerated // +build !ignore_autogenerated -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 // Code generated by controller-gen. DO NOT EDIT. @@ -9,7 +9,7 @@ package v1alpha1 import ( - "github.com/clastix/capsule/pkg/api" + "github.com/projectcapsule/capsule/pkg/api" corev1 "k8s.io/api/core/v1" "k8s.io/api/networking/v1" runtime "k8s.io/apimachinery/pkg/runtime" diff --git a/api/v1beta1/custom_resource_quota.go b/api/v1beta1/custom_resource_quota.go index 91b1334e..3f836b40 100644 --- a/api/v1beta1/custom_resource_quota.go +++ b/api/v1beta1/custom_resource_quota.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta1 diff --git a/api/v1beta1/deny_wildcard.go b/api/v1beta1/deny_wildcard.go index 76460942..61668da4 100644 --- a/api/v1beta1/deny_wildcard.go +++ b/api/v1beta1/deny_wildcard.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta1 diff --git a/api/v1beta1/groupversion_info.go b/api/v1beta1/groupversion_info.go index 4a99993c..dae55b6a 100644 --- a/api/v1beta1/groupversion_info.go +++ b/api/v1beta1/groupversion_info.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 // Package v1beta1 contains API Schema definitions for the capsule v1beta1 API group diff --git a/api/v1beta1/ingress_options.go b/api/v1beta1/ingress_options.go index ab4baad7..5e584424 100644 --- a/api/v1beta1/ingress_options.go +++ b/api/v1beta1/ingress_options.go @@ -1,10 +1,10 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta1 import ( - "github.com/clastix/capsule/pkg/api" + "github.com/projectcapsule/capsule/pkg/api" ) type IngressOptions struct { diff --git a/api/v1beta1/namespace_options.go b/api/v1beta1/namespace_options.go index c4a2aed5..f924f322 100644 --- a/api/v1beta1/namespace_options.go +++ b/api/v1beta1/namespace_options.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta1 @@ -6,7 +6,7 @@ package v1beta1 import ( "strings" - "github.com/clastix/capsule/pkg/api" + "github.com/projectcapsule/capsule/pkg/api" ) type NamespaceOptions struct { diff --git a/api/v1beta1/owner.go b/api/v1beta1/owner.go index 22894a78..ca2f89a0 100644 --- a/api/v1beta1/owner.go +++ b/api/v1beta1/owner.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta1 diff --git a/api/v1beta1/owner_list.go b/api/v1beta1/owner_list.go index b3f9d728..daa0ba9b 100644 --- a/api/v1beta1/owner_list.go +++ b/api/v1beta1/owner_list.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta1 diff --git a/api/v1beta1/owner_list_test.go b/api/v1beta1/owner_list_test.go index c8b62a03..296cce15 100644 --- a/api/v1beta1/owner_list_test.go +++ b/api/v1beta1/owner_list_test.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta1 diff --git a/api/v1beta1/owner_role.go b/api/v1beta1/owner_role.go index 27123c30..9cc4f5cc 100644 --- a/api/v1beta1/owner_role.go +++ b/api/v1beta1/owner_role.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta1 diff --git a/api/v1beta1/service_allowed_types.go b/api/v1beta1/service_allowed_types.go index 3f57c648..8e3cfe4a 100644 --- a/api/v1beta1/service_allowed_types.go +++ b/api/v1beta1/service_allowed_types.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta1 diff --git a/api/v1beta1/service_options.go b/api/v1beta1/service_options.go index 636a2f7f..4322588e 100644 --- a/api/v1beta1/service_options.go +++ b/api/v1beta1/service_options.go @@ -1,10 +1,10 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta1 import ( - "github.com/clastix/capsule/pkg/api" + "github.com/projectcapsule/capsule/pkg/api" ) type ServiceOptions struct { diff --git a/api/v1beta1/tenant_func.go b/api/v1beta1/tenant_func.go index 8111c028..03e898b4 100644 --- a/api/v1beta1/tenant_func.go +++ b/api/v1beta1/tenant_func.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta1 diff --git a/api/v1beta1/tenant_status.go b/api/v1beta1/tenant_status.go index 8122633d..edbc85ac 100644 --- a/api/v1beta1/tenant_status.go +++ b/api/v1beta1/tenant_status.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta1 diff --git a/api/v1beta1/tenant_types.go b/api/v1beta1/tenant_types.go index 5d809b24..5f9de077 100644 --- a/api/v1beta1/tenant_types.go +++ b/api/v1beta1/tenant_types.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta1 @@ -6,7 +6,7 @@ package v1beta1 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/clastix/capsule/pkg/api" + "github.com/projectcapsule/capsule/pkg/api" ) // TenantSpec defines the desired state of Tenant. diff --git a/api/v1beta1/tenant_webhook.go b/api/v1beta1/tenant_webhook.go index 58ffec85..2c21925a 100644 --- a/api/v1beta1/tenant_webhook.go +++ b/api/v1beta1/tenant_webhook.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta1 diff --git a/api/v1beta1/zz_generated.deepcopy.go b/api/v1beta1/zz_generated.deepcopy.go index 5ae9834b..c11f0a4a 100644 --- a/api/v1beta1/zz_generated.deepcopy.go +++ b/api/v1beta1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ //go:build !ignore_autogenerated // +build !ignore_autogenerated -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 // Code generated by controller-gen. DO NOT EDIT. @@ -9,7 +9,7 @@ package v1beta1 import ( - "github.com/clastix/capsule/pkg/api" + "github.com/projectcapsule/capsule/pkg/api" runtime "k8s.io/apimachinery/pkg/runtime" ) diff --git a/api/v1beta2/additional_role_bindings.go b/api/v1beta2/additional_role_bindings.go index 298aa8bd..dd2f5cbe 100644 --- a/api/v1beta2/additional_role_bindings.go +++ b/api/v1beta2/additional_role_bindings.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/capsuleconfiguration_convertion_hub.go b/api/v1beta2/capsuleconfiguration_convertion_hub.go index 6f4c02b5..33bbe9a4 100644 --- a/api/v1beta2/capsuleconfiguration_convertion_hub.go +++ b/api/v1beta2/capsuleconfiguration_convertion_hub.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta2 @@ -10,7 +10,7 @@ import ( "sigs.k8s.io/controller-runtime/pkg/conversion" - capsulev1alpha1 "github.com/clastix/capsule/api/v1alpha1" + capsulev1alpha1 "github.com/projectcapsule/capsule/api/v1alpha1" ) func (in *CapsuleConfiguration) ConvertTo(raw conversion.Hub) error { diff --git a/api/v1beta2/capsuleconfiguration_types.go b/api/v1beta2/capsuleconfiguration_types.go index a5854b51..c1273457 100644 --- a/api/v1beta2/capsuleconfiguration_types.go +++ b/api/v1beta2/capsuleconfiguration_types.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta2 @@ -6,7 +6,7 @@ package v1beta2 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/clastix/capsule/pkg/api" + "github.com/projectcapsule/capsule/pkg/api" ) // CapsuleConfigurationSpec defines the Capsule configuration. diff --git a/api/v1beta2/custom_resource_quota.go b/api/v1beta2/custom_resource_quota.go index 42ccb730..3be69020 100644 --- a/api/v1beta2/custom_resource_quota.go +++ b/api/v1beta2/custom_resource_quota.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/groupversion_info.go b/api/v1beta2/groupversion_info.go index 37920ac4..61fe96f8 100644 --- a/api/v1beta2/groupversion_info.go +++ b/api/v1beta2/groupversion_info.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 // Package v1beta2 contains API Schema definitions for the capsule v1beta2 API group diff --git a/api/v1beta2/ingress_options.go b/api/v1beta2/ingress_options.go index 740b1503..29c09c0d 100644 --- a/api/v1beta2/ingress_options.go +++ b/api/v1beta2/ingress_options.go @@ -1,10 +1,10 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta2 import ( - "github.com/clastix/capsule/pkg/api" + "github.com/projectcapsule/capsule/pkg/api" ) type IngressOptions struct { diff --git a/api/v1beta2/namespace_options.go b/api/v1beta2/namespace_options.go index 0b71d73f..ddaed491 100644 --- a/api/v1beta2/namespace_options.go +++ b/api/v1beta2/namespace_options.go @@ -1,10 +1,10 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta2 import ( - "github.com/clastix/capsule/pkg/api" + "github.com/projectcapsule/capsule/pkg/api" ) type NamespaceOptions struct { diff --git a/api/v1beta2/owner.go b/api/v1beta2/owner.go index c4753c80..5e6845f5 100644 --- a/api/v1beta2/owner.go +++ b/api/v1beta2/owner.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/owner_list.go b/api/v1beta2/owner_list.go index 3677acc6..7e8fa23e 100644 --- a/api/v1beta2/owner_list.go +++ b/api/v1beta2/owner_list.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/owner_list_test.go b/api/v1beta2/owner_list_test.go index 93697b93..5c286f0d 100644 --- a/api/v1beta2/owner_list_test.go +++ b/api/v1beta2/owner_list_test.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/tenant_annotations.go b/api/v1beta2/tenant_annotations.go index 63413e34..a6438f32 100644 --- a/api/v1beta2/tenant_annotations.go +++ b/api/v1beta2/tenant_annotations.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/tenant_conversion_hub.go b/api/v1beta2/tenant_conversion_hub.go index aa144bb5..dd632255 100644 --- a/api/v1beta2/tenant_conversion_hub.go +++ b/api/v1beta2/tenant_conversion_hub.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta2 @@ -10,8 +10,8 @@ import ( "sigs.k8s.io/controller-runtime/pkg/conversion" - capsulev1beta1 "github.com/clastix/capsule/api/v1beta1" - "github.com/clastix/capsule/pkg/api" + capsulev1beta1 "github.com/projectcapsule/capsule/api/v1beta1" + "github.com/projectcapsule/capsule/pkg/api" ) func (in *Tenant) ConvertFrom(raw conversion.Hub) error { diff --git a/api/v1beta2/tenant_func.go b/api/v1beta2/tenant_func.go index 166956aa..08754ad9 100644 --- a/api/v1beta2/tenant_func.go +++ b/api/v1beta2/tenant_func.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/tenant_labels.go b/api/v1beta2/tenant_labels.go index 7bd2a922..e5c74f73 100644 --- a/api/v1beta2/tenant_labels.go +++ b/api/v1beta2/tenant_labels.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/tenant_status.go b/api/v1beta2/tenant_status.go index e3204ed1..81e3c046 100644 --- a/api/v1beta2/tenant_status.go +++ b/api/v1beta2/tenant_status.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/tenant_types.go b/api/v1beta2/tenant_types.go index 60edd2fe..93e01b75 100644 --- a/api/v1beta2/tenant_types.go +++ b/api/v1beta2/tenant_types.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta2 @@ -6,7 +6,7 @@ package v1beta2 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/clastix/capsule/pkg/api" + "github.com/projectcapsule/capsule/pkg/api" ) // TenantSpec defines the desired state of Tenant. diff --git a/api/v1beta2/tenantresource_global.go b/api/v1beta2/tenantresource_global.go index 9108e533..068e5ab4 100644 --- a/api/v1beta2/tenantresource_global.go +++ b/api/v1beta2/tenantresource_global.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/tenantresource_namespaced.go b/api/v1beta2/tenantresource_namespaced.go index ac6c764c..766cd758 100644 --- a/api/v1beta2/tenantresource_namespaced.go +++ b/api/v1beta2/tenantresource_namespaced.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta2 @@ -7,7 +7,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - "github.com/clastix/capsule/pkg/api" + "github.com/projectcapsule/capsule/pkg/api" ) // TenantResourceSpec defines the desired state of TenantResource. diff --git a/api/v1beta2/tenantresource_types.go b/api/v1beta2/tenantresource_types.go index 8f701b22..a1f191ea 100644 --- a/api/v1beta2/tenantresource_types.go +++ b/api/v1beta2/tenantresource_types.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package v1beta2 diff --git a/api/v1beta2/zz_generated.deepcopy.go b/api/v1beta2/zz_generated.deepcopy.go index 141f2fe9..7245688f 100644 --- a/api/v1beta2/zz_generated.deepcopy.go +++ b/api/v1beta2/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ //go:build !ignore_autogenerated // +build !ignore_autogenerated -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 // Code generated by controller-gen. DO NOT EDIT. @@ -9,7 +9,7 @@ package v1beta2 import ( - "github.com/clastix/capsule/pkg/api" + "github.com/projectcapsule/capsule/pkg/api" "k8s.io/api/rbac/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/charts/capsule/Chart.yaml b/charts/capsule/Chart.yaml index a3aa7ec8..f3644592 100644 --- a/charts/capsule/Chart.yaml +++ b/charts/capsule/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 type: application description: A Helm chart to deploy the Capsule Operator for easily implementing, managing, and maintaining mutitenancy and access control in Kubernetes. -home: https://github.com/clastix/capsule -icon: https://github.com/clastix/capsule/raw/master/assets/logo/capsule_small.png +home: https://github.com/projectcapsule/capsule +icon: https://github.com/projectcapsule/capsule/raw/master/assets/logo/capsule_small.png keywords: - kubernetes - operator @@ -17,7 +17,7 @@ maintainers: name: Clastix Labs Team name: capsule sources: -- https://github.com/clastix/capsule +- https://github.com/projectcapsule/capsule # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. diff --git a/charts/capsule/README.md b/charts/capsule/README.md index d27b79a8..ac6bd2b0 100644 --- a/charts/capsule/README.md +++ b/charts/capsule/README.md @@ -221,4 +221,4 @@ metadata: ## More -See Capsule [tutorial](https://github.com/clastix/capsule/blob/master/docs/content/general/tutorial.md) for more information about how to use Capsule. +See Capsule [tutorial](https://github.com/projectcapsule/capsule/blob/master/docs/content/general/tutorial.md) for more information about how to use Capsule. diff --git a/charts/capsule/README.md.gotmpl b/charts/capsule/README.md.gotmpl index 415a3f00..273f9989 100644 --- a/charts/capsule/README.md.gotmpl +++ b/charts/capsule/README.md.gotmpl @@ -157,4 +157,4 @@ metadata: ## More -See Capsule [tutorial](https://github.com/clastix/capsule/blob/master/docs/content/general/tutorial.md) for more information about how to use Capsule. +See Capsule [tutorial](https://github.com/projectcapsule/capsule/blob/master/docs/content/general/tutorial.md) for more information about how to use Capsule. diff --git a/controllers/config/manager.go b/controllers/config/manager.go index 129733d6..cf565f9e 100644 --- a/controllers/config/manager.go +++ b/controllers/config/manager.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package config @@ -12,9 +12,9 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/reconcile" - capsulev1beta2 "github.com/clastix/capsule/api/v1beta2" - "github.com/clastix/capsule/controllers/utils" - "github.com/clastix/capsule/pkg/configuration" + capsulev1beta2 "github.com/projectcapsule/capsule/api/v1beta2" + "github.com/projectcapsule/capsule/controllers/utils" + "github.com/projectcapsule/capsule/pkg/configuration" ) type Manager struct { diff --git a/controllers/pv/controller.go b/controllers/pv/controller.go index 3ef3ebae..b4753b74 100644 --- a/controllers/pv/controller.go +++ b/controllers/pv/controller.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package pv @@ -16,9 +16,9 @@ import ( "sigs.k8s.io/controller-runtime/pkg/predicate" "sigs.k8s.io/controller-runtime/pkg/reconcile" - capsulev1beta2 "github.com/clastix/capsule/api/v1beta2" - capsuleutils "github.com/clastix/capsule/pkg/utils" - webhookutils "github.com/clastix/capsule/pkg/webhook/utils" + capsulev1beta2 "github.com/projectcapsule/capsule/api/v1beta2" + capsuleutils "github.com/projectcapsule/capsule/pkg/utils" + webhookutils "github.com/projectcapsule/capsule/pkg/webhook/utils" ) type Controller struct { diff --git a/controllers/rbac/const.go b/controllers/rbac/const.go index 74b9bba5..362cd539 100644 --- a/controllers/rbac/const.go +++ b/controllers/rbac/const.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package rbac diff --git a/controllers/rbac/manager.go b/controllers/rbac/manager.go index a5a8c086..3a0f62f8 100644 --- a/controllers/rbac/manager.go +++ b/controllers/rbac/manager.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package rbac @@ -20,9 +20,9 @@ import ( "sigs.k8s.io/controller-runtime/pkg/handler" "sigs.k8s.io/controller-runtime/pkg/reconcile" - capsulev1beta2 "github.com/clastix/capsule/api/v1beta2" - "github.com/clastix/capsule/controllers/utils" - "github.com/clastix/capsule/pkg/configuration" + capsulev1beta2 "github.com/projectcapsule/capsule/api/v1beta2" + "github.com/projectcapsule/capsule/controllers/utils" + "github.com/projectcapsule/capsule/pkg/configuration" ) type Manager struct { diff --git a/controllers/resources/global.go b/controllers/resources/global.go index 67507847..4e8fa7d3 100644 --- a/controllers/resources/global.go +++ b/controllers/resources/global.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package resources @@ -21,7 +21,7 @@ import ( ctrllog "sigs.k8s.io/controller-runtime/pkg/log" "sigs.k8s.io/controller-runtime/pkg/reconcile" - capsulev1beta2 "github.com/clastix/capsule/api/v1beta2" + capsulev1beta2 "github.com/projectcapsule/capsule/api/v1beta2" ) type Global struct { diff --git a/controllers/resources/namespaced.go b/controllers/resources/namespaced.go index e9b0ae80..60eadcbd 100644 --- a/controllers/resources/namespaced.go +++ b/controllers/resources/namespaced.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package resources @@ -18,7 +18,7 @@ import ( ctrllog "sigs.k8s.io/controller-runtime/pkg/log" "sigs.k8s.io/controller-runtime/pkg/reconcile" - capsulev1beta2 "github.com/clastix/capsule/api/v1beta2" + capsulev1beta2 "github.com/projectcapsule/capsule/api/v1beta2" ) type Namespaced struct { diff --git a/controllers/resources/processor.go b/controllers/resources/processor.go index 3c0aea51..3f2b8164 100644 --- a/controllers/resources/processor.go +++ b/controllers/resources/processor.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package resources @@ -22,7 +22,7 @@ import ( "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" ctrllog "sigs.k8s.io/controller-runtime/pkg/log" - capsulev1beta2 "github.com/clastix/capsule/api/v1beta2" + capsulev1beta2 "github.com/projectcapsule/capsule/api/v1beta2" ) const ( diff --git a/controllers/servicelabels/abstract.go b/controllers/servicelabels/abstract.go index 19674a01..231e2fa0 100644 --- a/controllers/servicelabels/abstract.go +++ b/controllers/servicelabels/abstract.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package servicelabels @@ -20,8 +20,8 @@ import ( "sigs.k8s.io/controller-runtime/pkg/predicate" "sigs.k8s.io/controller-runtime/pkg/reconcile" - capsulev1beta2 "github.com/clastix/capsule/api/v1beta2" - "github.com/clastix/capsule/pkg/utils" + capsulev1beta2 "github.com/projectcapsule/capsule/api/v1beta2" + "github.com/projectcapsule/capsule/pkg/utils" ) type abstractServiceLabelsReconciler struct { diff --git a/controllers/servicelabels/endpoint.go b/controllers/servicelabels/endpoint.go index 26b0d182..60a45184 100644 --- a/controllers/servicelabels/endpoint.go +++ b/controllers/servicelabels/endpoint.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package servicelabels diff --git a/controllers/servicelabels/endpoint_slices.go b/controllers/servicelabels/endpoint_slices.go index efcee1f7..42761bba 100644 --- a/controllers/servicelabels/endpoint_slices.go +++ b/controllers/servicelabels/endpoint_slices.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package servicelabels diff --git a/controllers/servicelabels/errors.go b/controllers/servicelabels/errors.go index 3a15656b..807b8275 100644 --- a/controllers/servicelabels/errors.go +++ b/controllers/servicelabels/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package servicelabels diff --git a/controllers/servicelabels/service.go b/controllers/servicelabels/service.go index 505f00f3..74d1368b 100644 --- a/controllers/servicelabels/service.go +++ b/controllers/servicelabels/service.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package servicelabels diff --git a/controllers/tenant/annotations.go b/controllers/tenant/annotations.go index 94711e92..fb758eed 100644 --- a/controllers/tenant/annotations.go +++ b/controllers/tenant/annotations.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package tenant diff --git a/controllers/tenant/limitranges.go b/controllers/tenant/limitranges.go index 99a03576..d17ea22a 100644 --- a/controllers/tenant/limitranges.go +++ b/controllers/tenant/limitranges.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package tenant @@ -13,8 +13,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" - capsulev1beta2 "github.com/clastix/capsule/api/v1beta2" - "github.com/clastix/capsule/pkg/utils" + capsulev1beta2 "github.com/projectcapsule/capsule/api/v1beta2" + "github.com/projectcapsule/capsule/pkg/utils" ) // Ensuring all the LimitRange are applied to each Namespace handled by the Tenant. diff --git a/controllers/tenant/manager.go b/controllers/tenant/manager.go index c89c6cf9..56eb6d72 100644 --- a/controllers/tenant/manager.go +++ b/controllers/tenant/manager.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package tenant @@ -18,7 +18,7 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/reconcile" - capsulev1beta2 "github.com/clastix/capsule/api/v1beta2" + capsulev1beta2 "github.com/projectcapsule/capsule/api/v1beta2" ) type Manager struct { diff --git a/controllers/tenant/namespaces.go b/controllers/tenant/namespaces.go index 3262511c..71e452e4 100644 --- a/controllers/tenant/namespaces.go +++ b/controllers/tenant/namespaces.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package tenant @@ -16,9 +16,9 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" - capsulev1beta2 "github.com/clastix/capsule/api/v1beta2" - "github.com/clastix/capsule/pkg/api" - "github.com/clastix/capsule/pkg/utils" + capsulev1beta2 "github.com/projectcapsule/capsule/api/v1beta2" + "github.com/projectcapsule/capsule/pkg/api" + "github.com/projectcapsule/capsule/pkg/utils" ) // Ensuring all annotations are applied to each Namespace handled by the Tenant. diff --git a/controllers/tenant/networkpolicies.go b/controllers/tenant/networkpolicies.go index 914897ee..b8bf53ba 100644 --- a/controllers/tenant/networkpolicies.go +++ b/controllers/tenant/networkpolicies.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package tenant @@ -13,8 +13,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" - capsulev1beta2 "github.com/clastix/capsule/api/v1beta2" - "github.com/clastix/capsule/pkg/utils" + capsulev1beta2 "github.com/projectcapsule/capsule/api/v1beta2" + "github.com/projectcapsule/capsule/pkg/utils" ) // Ensuring all the NetworkPolicies are applied to each Namespace handled by the Tenant. diff --git a/controllers/tenant/resourcequotas.go b/controllers/tenant/resourcequotas.go index 7f70e053..15d6bbf5 100644 --- a/controllers/tenant/resourcequotas.go +++ b/controllers/tenant/resourcequotas.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package tenant @@ -19,9 +19,9 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" - capsulev1beta2 "github.com/clastix/capsule/api/v1beta2" - "github.com/clastix/capsule/pkg/api" - "github.com/clastix/capsule/pkg/utils" + capsulev1beta2 "github.com/projectcapsule/capsule/api/v1beta2" + "github.com/projectcapsule/capsule/pkg/api" + "github.com/projectcapsule/capsule/pkg/utils" ) // When the Resource Budget assigned to a Tenant is Tenant-scoped we have to rely on the ResourceQuota resources to diff --git a/controllers/tenant/resourcequotas_quota.go b/controllers/tenant/resourcequotas_quota.go index 55e42749..2f42b914 100644 --- a/controllers/tenant/resourcequotas_quota.go +++ b/controllers/tenant/resourcequotas_quota.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package tenant @@ -16,7 +16,7 @@ import ( "k8s.io/client-go/dynamic" "k8s.io/client-go/util/retry" - capsulev1beta2 "github.com/clastix/capsule/api/v1beta2" + capsulev1beta2 "github.com/projectcapsule/capsule/api/v1beta2" ) func (r *Manager) syncCustomResourceQuotaUsages(ctx context.Context, tenant *capsulev1beta2.Tenant) error { diff --git a/controllers/tenant/rolebindings.go b/controllers/tenant/rolebindings.go index 236bfec7..065aa5bd 100644 --- a/controllers/tenant/rolebindings.go +++ b/controllers/tenant/rolebindings.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package tenant @@ -14,9 +14,9 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" - capsulev1beta2 "github.com/clastix/capsule/api/v1beta2" - "github.com/clastix/capsule/pkg/api" - "github.com/clastix/capsule/pkg/utils" + capsulev1beta2 "github.com/projectcapsule/capsule/api/v1beta2" + "github.com/projectcapsule/capsule/pkg/api" + "github.com/projectcapsule/capsule/pkg/utils" ) // ownerClusterRoleBindings generates a Capsule AdditionalRoleBinding object for the Owner dynamic clusterrole in order diff --git a/controllers/tenant/utils.go b/controllers/tenant/utils.go index 5adf7ac4..f94eed13 100644 --- a/controllers/tenant/utils.go +++ b/controllers/tenant/utils.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package tenant @@ -14,7 +14,7 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" - capsulev1beta2 "github.com/clastix/capsule/pkg/utils" + capsulev1beta2 "github.com/projectcapsule/capsule/pkg/utils" ) // pruningResources is taking care of removing the no more requested sub-resources as LimitRange, ResourceQuota or diff --git a/controllers/tls/errors.go b/controllers/tls/errors.go index 98a49bca..471b8b2b 100644 --- a/controllers/tls/errors.go +++ b/controllers/tls/errors.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package tls diff --git a/controllers/tls/manager.go b/controllers/tls/manager.go index f788e360..e2cdd5a2 100644 --- a/controllers/tls/manager.go +++ b/controllers/tls/manager.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package tls @@ -28,9 +28,9 @@ import ( "sigs.k8s.io/controller-runtime/pkg/predicate" "sigs.k8s.io/controller-runtime/pkg/reconcile" - "github.com/clastix/capsule/controllers/utils" - "github.com/clastix/capsule/pkg/cert" - "github.com/clastix/capsule/pkg/configuration" + "github.com/projectcapsule/capsule/controllers/utils" + "github.com/projectcapsule/capsule/pkg/cert" + "github.com/projectcapsule/capsule/pkg/configuration" ) const ( diff --git a/controllers/utils/name_matching.go b/controllers/utils/name_matching.go index ddc3dbdf..98fd1a68 100644 --- a/controllers/utils/name_matching.go +++ b/controllers/utils/name_matching.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Clastix Labs +// Copyright 2020-2023 Project Capsule Authors. // SPDX-License-Identifier: Apache-2.0 package utils diff --git a/docs/content/contributing/development.md b/docs/content/contributing/development.md index e56ff8f5..43184ffe 100644 --- a/docs/content/contributing/development.md +++ b/docs/content/contributing/development.md @@ -107,12 +107,12 @@ $ git clone git@github.com:myuser/capsule.git && cd capsule It's a good practice to add the upstream as the remote too so we can easily fetch and merge the upstream to our fork: ```shell -$ git remote add upstream https://github.com/clastix/capsule.git +$ git remote add upstream https://github.com/projectcapsule/capsule.git $ git remote -vv origin git@github.com:myuser/capsule.git (fetch) origin git@github.com:myuser/capsule.git (push) -upstream https://github.com/clastix/capsule.git (fetch) -upstream https://github.com/clastix/capsule.git (push) +upstream https://github.com/projectcapsule/capsule.git (fetch) +upstream https://github.com/projectcapsule/capsule.git (push) ``` Pull all tags diff --git a/docs/content/contributing/governance.md b/docs/content/contributing/governance.md index 6c9af9b0..6c012d88 100644 --- a/docs/content/contributing/governance.md +++ b/docs/content/contributing/governance.md @@ -17,7 +17,7 @@ In the context of Capsule project, we consider the following roles: The release process will be governed by Maintainers. -Please, refer to the [maintainers file](https://github.com/clastix/capsule/blob/master/.github/maintainers.yaml) available in the source code. +Please, refer to the [maintainers file](https://github.com/projectcapsule/capsule/blob/master/.github/maintainers.yaml) available in the source code. ## Roadmap Planning diff --git a/docs/content/contributing/guidelines.md b/docs/content/contributing/guidelines.md index 5d101697..e6ac9717 100644 --- a/docs/content/contributing/guidelines.md +++ b/docs/content/contributing/guidelines.md @@ -59,7 +59,7 @@ You can easily check them issuing the _Make_ recipe `golint`. golangci-lint run -c .golangci.yml ``` -> Enabled linters and related options are defined in the [.golanci.yml file](https://github.com/clastix/capsule/blob/master/.golangci.yml) +> Enabled linters and related options are defined in the [.golanci.yml file](https://github.com/projectcapsule/capsule/blob/master/.golangci.yml) ### goimports @@ -77,7 +77,7 @@ To help you out you can use the _Make_ recipe `goimports` ``` # make goimports -goimports -w -l -local "github.com/clastix/capsule" . +goimports -w -l -local "github.com/projectcapsule/capsule" . ``` ## Finding contributions to work on @@ -108,4 +108,4 @@ Please, add a new single line at end of any file as the current coding style. ## Licensing -See the [LICENSE](https://github.com/clastix/capsule/blob/master/LICENSE) file for our project's licensing. We can ask you to confirm the licensing of your contribution. +See the [LICENSE](https://github.com/projectcapsule/capsule/blob/master/LICENSE) file for our project's licensing. We can ask you to confirm the licensing of your contribution. diff --git a/docs/content/contributing/release.md b/docs/content/contributing/release.md index aadf6a1f..668ab31f 100644 --- a/docs/content/contributing/release.md +++ b/docs/content/contributing/release.md @@ -28,7 +28,7 @@ This will trigger a _GitHub Action_ which builds a multi-arch container image, t ## Helm Chart hosting -The suggested installation tool is [Helm](https://helm.sh), and the Capsule chart is hosted in the [GitHub repository](https://github.com/clastix/capsule/tree/master/charts/capsule). +The suggested installation tool is [Helm](https://helm.sh), and the Capsule chart is hosted in the [GitHub repository](https://github.com/projectcapsule/capsule/tree/master/charts/capsule). For each Helm Chart release, a tit tag with the prefix `helm-v` will be issued to help developers to address the corresponding commit. The built Helm Charts are then automatically pushed upon tag release to the [CLASTIX Helm repository](https://clastix.github.io/charts). diff --git a/docs/content/general/getting-started.md b/docs/content/general/getting-started.md index 5eed9121..979e99e2 100644 --- a/docs/content/general/getting-started.md +++ b/docs/content/general/getting-started.md @@ -9,7 +9,7 @@ Make sure you have access to a Kubernetes cluster as administrator. There are two ways to install Capsule: * Use the [single YAML file installer](https://raw.githubusercontent.com/clastix/capsule/master/config/install.yaml) -* Use the [Capsule Helm Chart](https://github.com/clastix/capsule/blob/master/charts/capsule/README.md) +* Use the [Capsule Helm Chart](https://github.com/projectcapsule/capsule/blob/master/charts/capsule/README.md) ### Install with the single YAML file installer @@ -23,7 +23,7 @@ It will install the Capsule controller in a dedicated namespace `capsule-system` ### Install with Helm Chart -Please, refer to the instructions reported in the Capsule Helm Chart [README](https://github.com/clastix/capsule/blob/master/charts/capsule/README.md). +Please, refer to the instructions reported in the Capsule Helm Chart [README](https://github.com/projectcapsule/capsule/blob/master/charts/capsule/README.md). ## Create your first Tenant @@ -74,7 +74,7 @@ Users authenticated through an _OIDC token_ must have in their token: ] ``` -The [hack/create-user.sh](https://github.com/clastix/capsule/blob/master/hack/create-user.sh) can help you set up a dummy `kubeconfig` for the `alice` user acting as owner of a tenant called `oil` +The [hack/create-user.sh](https://github.com/projectcapsule/capsule/blob/master/hack/create-user.sh) can help you set up a dummy `kubeconfig` for the `alice` user acting as owner of a tenant called `oil` ```bash ./hack/create-user.sh alice oil diff --git a/docs/content/general/lens.md b/docs/content/general/lens.md index ec96f8ad..9db9ff14 100644 --- a/docs/content/general/lens.md +++ b/docs/content/general/lens.md @@ -8,4 +8,4 @@ Capsule extension for Lens provides these capabilities: - See tenant details and change through the embedded Lens editor - Check Resources Quota and Budget at both the tenant and namespace level -Please, see the [README](https://github.com/clastix/capsule-lens-extension) for details about the installation of the Capsule Lens Extension. +Please, see the [README](https://github.com/projectcapsule/capsule-lens-extension) for details about the installation of the Capsule Lens Extension. diff --git a/docs/content/general/proxy.md b/docs/content/general/proxy.md index 246a2193..237df36a 100644 --- a/docs/content/general/proxy.md +++ b/docs/content/general/proxy.md @@ -138,7 +138,7 @@ Each Resource kind can be granted with several verbs, such as: ## Cluster-scoped resources selection strategy precedence -Starting from [Capsule v0.2.0](https://github.com/clastix/capsule/releases/tag/v0.2.0), selection of cluster-scoped resources based on labels has been introduced. +Starting from [Capsule v0.2.0](https://github.com/projectcapsule/capsule/releases/tag/v0.2.0), selection of cluster-scoped resources based on labels has been introduced. Due to the limitations of Kubernetes API Server which not support `OR` label selector, the Capsule core team decided to give precedence to the label selector over the exact and regex match. diff --git a/docs/content/guides/flux2-capsule.md b/docs/content/guides/flux2-capsule.md index 6aa9ca02..fac1baeb 100644 --- a/docs/content/guides/flux2-capsule.md +++ b/docs/content/guides/flux2-capsule.md @@ -180,7 +180,7 @@ To deepen on this please go to [#Insights](#insights). ### How to setup Tenants GitOps-ready -Given that [Capsule](github.com/clastix/capsule) and [Capsule Proxy](github.com/clastix/capsule-proxy) are installed, and [Flux v2](https://github.com/fluxcd/flux2) configured with [multi-tenancy lockdown](https://fluxcd.io/docs/installation/#multi-tenancy-lockdown) features, of which the patch below: +Given that [Capsule](github.com/projectcapsule/capsule) and [Capsule Proxy](github.com/clastix/capsule-proxy) are installed, and [Flux v2](https://github.com/fluxcd/flux2) configured with [multi-tenancy lockdown](https://fluxcd.io/docs/installation/#multi-tenancy-lockdown) features, of which the patch below: ```yaml apiVersion: kustomize.config.k8s.io/v1beta1 @@ -435,7 +435,7 @@ For other protections against threats in this multi-tenancy scenario please see - https://fluxcd.io/docs/installation/#multi-tenancy-lockdown - https://fluxcd.io/blog/2022/05/may-2022-security-announcement/ - https://github.com/clastix/capsule-proxy/issues/218 -- https://github.com/clastix/capsule/issues/528 +- https://github.com/projectcapsule/capsule/issues/528 - https://github.com/clastix/flux2-capsule-multi-tenancy - https://github.com/fluxcd/flux2-multi-tenancy - https://fluxcd.io/docs/guides/repository-structure/ diff --git a/docs/content/guides/monitoring.md b/docs/content/guides/monitoring.md index 9f92f0d8..113a146d 100644 --- a/docs/content/guides/monitoring.md +++ b/docs/content/guides/monitoring.md @@ -18,7 +18,7 @@ To fastly deploy this monitoring stack, consider installing the [Prometheus Oper ## Quick Start -The Capsule Helm [charts](https://github.com/clastix/capsule/tree/master/charts/capsule) allow you to automatically create Kubernetes minimum resources needed for the proper functioning of the dashboard: +The Capsule Helm [charts](https://github.com/projectcapsule/capsule/tree/master/charts/capsule) allow you to automatically create Kubernetes minimum resources needed for the proper functioning of the dashboard: * ServiceMonitor * Role @@ -38,7 +38,7 @@ serviceMonitor: name: namespace: ``` -Take a look at the Helm charts [README.md](https://github.com/clastix/capsule/blob/master/charts/capsule/README.md#customize-the-installation) file for further customization. +Take a look at the Helm charts [README.md](https://github.com/projectcapsule/capsule/blob/master/charts/capsule/README.md#customize-the-installation) file for further customization. ### Check Service Monitor @@ -47,7 +47,7 @@ Verify that the service monitor is working correctly through the Prometheus "tar ![Prometheus Targets](./assets/prometheus_targets.png) ### Deploy dashboard -A dashboard for Grafana is provided as [dashboard.json](https://github.com/clastix/capsule/blob/master/config/grafana/dashboard.json). +A dashboard for Grafana is provided as [dashboard.json](https://github.com/projectcapsule/capsule/blob/master/config/grafana/dashboard.json). Render with `kustomize` the dashboard as a ConfigMap and apply in the namespace where Grafana is installed, making sure to select the correct Prometheus datasource: diff --git a/docs/content/guides/upgrading.md b/docs/content/guides/upgrading.md index caa6f1a9..f68d4dc0 100644 --- a/docs/content/guides/upgrading.md +++ b/docs/content/guides/upgrading.md @@ -2,9 +2,9 @@ List of Tenant API changes: -- [Capsule v0.1.0](https://github.com/clastix/capsule/releases/tag/v0.1.0) bump to `v1beta1` from `v1alpha1`. -- [Capsule v0.2.0](https://github.com/clastix/capsule/releases/tag/v0.2.0) bump to `v1beta2` from `v1beta1`, deprecating `v1alpha1`. -- [Capsule v0.3.0](https://github.com/clastix/capsule/releases/tag/v0.3.0) missing enums required by [Capsule Proxy](https://github.com/clastix/capsule-proxy). +- [Capsule v0.1.0](https://github.com/projectcapsule/capsule/releases/tag/v0.1.0) bump to `v1beta1` from `v1alpha1`. +- [Capsule v0.2.0](https://github.com/projectcapsule/capsule/releases/tag/v0.2.0) bump to `v1beta2` from `v1beta1`, deprecating `v1alpha1`. +- [Capsule v0.3.0](https://github.com/projectcapsule/capsule/releases/tag/v0.3.0) missing enums required by [Capsule Proxy](https://github.com/clastix/capsule-proxy). This document aims to provide support and a guide on how to perform a clean upgrade to the latest API version in order to avoid service disruption and data loss. diff --git a/docs/src/components/AppFooter.vue b/docs/src/components/AppFooter.vue index 910fc08b..2d2f6278 100644 --- a/docs/src/components/AppFooter.vue +++ b/docs/src/components/AppFooter.vue @@ -17,7 +17,7 @@