mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 07:19:41 +02:00
refactor(app): migrate configmap and secret form sections [EE-6233] (#10528)
* refactor(app): migrate configmap and secret form sections [EE-6233]
This commit is contained in:
parent
391b85da41
commit
7a2412b1be
18 changed files with 631 additions and 447 deletions
|
@ -30,19 +30,13 @@ export function KubernetesApplicationFormValues() {
|
|||
this.OriginalIngresses = undefined;
|
||||
}
|
||||
|
||||
export const KubernetesApplicationConfigurationFormValueOverridenKeyTypes = Object.freeze({
|
||||
NONE: 0,
|
||||
ENVIRONMENT: 1,
|
||||
FILESYSTEM: 2,
|
||||
});
|
||||
|
||||
/**
|
||||
* KubernetesApplicationConfigurationFormValueOverridenKey Model
|
||||
*/
|
||||
const _KubernetesApplicationConfigurationFormValueOverridenKey = Object.freeze({
|
||||
Key: '',
|
||||
Path: '',
|
||||
Type: KubernetesApplicationConfigurationFormValueOverridenKeyTypes.ENVIRONMENT,
|
||||
key: '',
|
||||
path: '',
|
||||
type: 'ENVIRONMENT',
|
||||
});
|
||||
|
||||
export class KubernetesApplicationConfigurationFormValueOverridenKey {
|
||||
|
@ -55,9 +49,9 @@ export class KubernetesApplicationConfigurationFormValueOverridenKey {
|
|||
* KubernetesApplicationConfigurationFormValue Model
|
||||
*/
|
||||
const _KubernetesApplicationConfigurationFormValue = Object.freeze({
|
||||
SelectedConfiguration: undefined,
|
||||
Overriden: false,
|
||||
OverridenKeys: [], // KubernetesApplicationConfigurationFormValueOverridenKey list
|
||||
selectedConfiguration: undefined,
|
||||
overriden: false,
|
||||
overridenKeys: [],
|
||||
});
|
||||
|
||||
export class KubernetesApplicationConfigurationFormValue {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue