From dfa32b6755ede817a690236f2d24070e3b287ce5 Mon Sep 17 00:00:00 2001 From: Steven Kang Date: Tue, 13 May 2025 16:33:14 +1200 Subject: [PATCH] chore: add KaaS deprecation notice (#727) Co-authored-by: testA113 --- .../EnvironmentTypeSelectView/environment-types.ts | 2 +- .../EnvironmentsCreationView.tsx | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/app/react/portainer/environments/wizard/EnvironmentTypeSelectView/environment-types.ts b/app/react/portainer/environments/wizard/EnvironmentTypeSelectView/environment-types.ts index 695feb53e..9c590687c 100644 --- a/app/react/portainer/environments/wizard/EnvironmentTypeSelectView/environment-types.ts +++ b/app/react/portainer/environments/wizard/EnvironmentTypeSelectView/environment-types.ts @@ -69,7 +69,7 @@ export const newEnvironmentTypes: EnvironmentOption[] = [ { id: 'kaas', value: 'kaas', - label: 'Provision KaaS Cluster', + label: 'Provision KaaS Cluster (Deprecated)', description: "Provision a Kubernetes cluster via a cloud provider's Kubernetes as a Service", icon: KaaS, diff --git a/app/react/portainer/environments/wizard/EnvironmentsCreationView/EnvironmentsCreationView.tsx b/app/react/portainer/environments/wizard/EnvironmentsCreationView/EnvironmentsCreationView.tsx index a56095bfc..666193743 100644 --- a/app/react/portainer/environments/wizard/EnvironmentsCreationView/EnvironmentsCreationView.tsx +++ b/app/react/portainer/environments/wizard/EnvironmentsCreationView/EnvironmentsCreationView.tsx @@ -17,6 +17,7 @@ import { PageHeader } from '@@/PageHeader'; import { Button } from '@@/buttons'; import { FormSection } from '@@/form-components/FormSection'; import { Icon } from '@@/Icon'; +import { Alert } from '@@/Alert'; import { EnvironmentOptionValue, @@ -84,6 +85,19 @@ export function EnvironmentCreationView() {
+ {currentStep.id === 'kaas' && ( + + Provisioning a KaaS environment from Portainer is deprecated + and will be removed in a future release. You will still be + able to use any Kubernetes clusters provisioned using this + method but will no longer have access to any of the + KaaS-specific management functionality. + + )}