mirror of https://github.com/portainer/portainer
22 lines
520 B
JavaScript
22 lines
520 B
JavaScript
export const KubernetesPortainerConfigMapNamespace = 'portainer';
|
|||
export const KubernetesPortainerConfigMapConfigName = 'portainer-config';
|
|||
export const KubernetesPortainerConfigMapAccessKey = 'NamespaceAccessPolicies';
|
|||
|
|||
/**
|
|||
* ConfigMap Model
|
|||
*/
|
|||
const _KubernetesConfigMap = Object.freeze({
|
|||
Id: 0,
|
|||
Name: '',
|
|||
Namespace: '',
|
|||
Yaml: '',
|
|||
ConfigurationOwner: '',
|
|||
Data: {},
|
|||
});
|
|||
|
|||
export class KubernetesConfigMap {
|
|||
constructor() {
|
|||
Object.assign(this, JSON.parse(JSON.stringify(_KubernetesConfigMap)));
|
|||
}
|
|||
}
|