1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-18 21:09:40 +02:00

chore: add KaaS deprecation notice (#727)

Co-authored-by: testA113 <aliharriss1995@gmail.com>
This commit is contained in:
Steven Kang 2025-05-13 16:33:14 +12:00 committed by GitHub
parent 0b69729173
commit dfa32b6755
2 changed files with 15 additions and 1 deletions

View file

@ -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,

View file

@ -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() {
<div className="mt-12">
<FormSection title={formTitles[currentStep.id]}>
{currentStep.id === 'kaas' && (
<Alert
color="warn"
title="Deprecated Feature"
className="mb-2"
>
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.
</Alert>
)}
<Component
onCreate={handleCreateEnvironment}
isDockerStandalone={isDockerStandalone}