mirror of
https://github.com/portainer/portainer.git
synced 2025-07-21 14:29:40 +02:00
feat(secrets): allow creating secrets beyond opaque [EE-2625] (#7709)
This commit is contained in:
parent
3b2f0ff9eb
commit
4e20d70a99
23 changed files with 659 additions and 135 deletions
|
@ -1,4 +1,4 @@
|
|||
import { KubernetesConfigurationTypes } from './models';
|
||||
import { KubernetesConfigurationKinds, KubernetesSecretTypes } from './models';
|
||||
|
||||
/**
|
||||
* KubernetesConfigurationFormValues Model
|
||||
|
@ -8,15 +8,17 @@ const _KubernetesConfigurationFormValues = Object.freeze({
|
|||
ResourcePool: '',
|
||||
Name: '',
|
||||
ConfigurationOwner: '',
|
||||
Type: KubernetesConfigurationTypes.CONFIGMAP,
|
||||
Kind: KubernetesConfigurationKinds.CONFIGMAP,
|
||||
Data: [],
|
||||
DataYaml: '',
|
||||
IsSimple: true,
|
||||
ServiceAccountName: '',
|
||||
Type: KubernetesSecretTypes.OPAQUE,
|
||||
});
|
||||
|
||||
export class KubernetesConfigurationFormValues {
|
||||
constructor() {
|
||||
Object.assign(this, JSON.parse(JSON.stringify(_KubernetesConfigurationFormValues)));
|
||||
Object.assign(this, _KubernetesConfigurationFormValues);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue