mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 05:19:39 +02:00
chore: add KaaS deprecation notice (#727)
Co-authored-by: testA113 <aliharriss1995@gmail.com>
This commit is contained in:
parent
0b69729173
commit
dfa32b6755
2 changed files with 15 additions and 1 deletions
|
@ -69,7 +69,7 @@ export const newEnvironmentTypes: EnvironmentOption[] = [
|
||||||
{
|
{
|
||||||
id: 'kaas',
|
id: 'kaas',
|
||||||
value: 'kaas',
|
value: 'kaas',
|
||||||
label: 'Provision KaaS Cluster',
|
label: 'Provision KaaS Cluster (Deprecated)',
|
||||||
description:
|
description:
|
||||||
"Provision a Kubernetes cluster via a cloud provider's Kubernetes as a Service",
|
"Provision a Kubernetes cluster via a cloud provider's Kubernetes as a Service",
|
||||||
icon: KaaS,
|
icon: KaaS,
|
||||||
|
|
|
@ -17,6 +17,7 @@ import { PageHeader } from '@@/PageHeader';
|
||||||
import { Button } from '@@/buttons';
|
import { Button } from '@@/buttons';
|
||||||
import { FormSection } from '@@/form-components/FormSection';
|
import { FormSection } from '@@/form-components/FormSection';
|
||||||
import { Icon } from '@@/Icon';
|
import { Icon } from '@@/Icon';
|
||||||
|
import { Alert } from '@@/Alert';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
EnvironmentOptionValue,
|
EnvironmentOptionValue,
|
||||||
|
@ -84,6 +85,19 @@ export function EnvironmentCreationView() {
|
||||||
|
|
||||||
<div className="mt-12">
|
<div className="mt-12">
|
||||||
<FormSection title={formTitles[currentStep.id]}>
|
<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
|
<Component
|
||||||
onCreate={handleCreateEnvironment}
|
onCreate={handleCreateEnvironment}
|
||||||
isDockerStandalone={isDockerStandalone}
|
isDockerStandalone={isDockerStandalone}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue