mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +02:00
* feat(configurations): Review UI/UX configurations * feat(configurations): fix binary secret value * fix(frontend): populate data between simple and advanced modes (#4503) * fix(configuration): parseYaml before create configuration * fix(configurations): change c to C in ConfigurationOwner * fix(application): change configuration index to configuration key in the view * fix(configuration): resolve problem in application create with configuration not overriden. * fix(configuration): fix bad import in helper Co-authored-by: Simon Meng <simon.meng@portainer.io>
33 lines
807 B
JavaScript
33 lines
807 B
JavaScript
import { KubernetesCommonMetadataPayload } from 'Kubernetes/models/common/payloads';
|
|
|
|
/**
|
|
* KubernetesSecretCreatePayload Model
|
|
*/
|
|
const _KubernetesSecretCreatePayload = Object.freeze({
|
|
metadata: new KubernetesCommonMetadataPayload(),
|
|
type: 'Opaque',
|
|
data: {},
|
|
stringData: {},
|
|
});
|
|
|
|
export class KubernetesSecretCreatePayload {
|
|
constructor() {
|
|
Object.assign(this, JSON.parse(JSON.stringify(_KubernetesSecretCreatePayload)));
|
|
}
|
|
}
|
|
|
|
/**
|
|
* KubernetesSecretUpdatePayload Model
|
|
*/
|
|
const _KubernetesSecretUpdatePayload = Object.freeze({
|
|
metadata: new KubernetesCommonMetadataPayload(),
|
|
type: 'Opaque',
|
|
data: {},
|
|
stringData: {},
|
|
});
|
|
|
|
export class KubernetesSecretUpdatePayload {
|
|
constructor() {
|
|
Object.assign(this, JSON.parse(JSON.stringify(_KubernetesSecretUpdatePayload)));
|
|
}
|
|
}
|