You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/app/kubernetes/models/configuration/models.js

30 lines
708 B

export const KubernetesPortainerConfigurationOwnerLabel = 'io.portainer.kubernetes.configuration.owner';
export const KubernetesPortainerConfigurationDataAnnotation = 'io.portainer.kubernetes.configuration.data';
/**
* Configuration Model (Composite)
*/
const _KubernetesConfiguration = Object.freeze({
Id: 0,
Name: '',
Type: '',
Namespace: '',
CreationDate: '',
ConfigurationOwner: '',
Used: false,
Applications: [],
Data: {},
SecretType: '',
});
export class KubernetesConfiguration {
constructor() {
Object.assign(this, JSON.parse(JSON.stringify(_KubernetesConfiguration)));
}
}
export const KubernetesConfigurationTypes = Object.freeze({
CONFIGMAP: 1,
SECRET: 2,
});