2023-02-07 03:33:57 +00:00
|
|
|
import { KubernetesConfigurationKinds } from 'Kubernetes/models/configuration/models';
|
|
|
|
import { FileCode, Lock } from 'lucide-react';
|
|
|
|
|
|
|
|
import { BoxSelectorOption } from '@@/BoxSelector';
|
|
|
|
|
|
|
|
export const typeOptions: ReadonlyArray<BoxSelectorOption<number>> = [
|
|
|
|
{
|
|
|
|
id: 'type_basic',
|
|
|
|
value: KubernetesConfigurationKinds.CONFIGMAP,
|
|
|
|
icon: FileCode,
|
|
|
|
iconType: 'badge',
|
|
|
|
label: 'ConfigMap',
|
2023-05-15 21:21:50 +00:00
|
|
|
description: 'This kind holds non-sensitive information',
|
2023-02-07 03:33:57 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'type_secret',
|
|
|
|
value: KubernetesConfigurationKinds.SECRET,
|
|
|
|
icon: Lock,
|
|
|
|
iconType: 'badge',
|
|
|
|
label: 'Secret',
|
2023-05-15 21:21:50 +00:00
|
|
|
description: 'This kind holds sensitive information',
|
2023-02-07 03:33:57 +00:00
|
|
|
},
|
|
|
|
] as const;
|