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/daemon-set/models.js

26 lines
494 B

/**
* KubernetesDaemonSet Model
*/
const _KubernetesDaemonSet = Object.freeze({
Namespace: '',
Name: '',
StackName: '',
ImageModel: null,
Env: [],
CpuLimit: 0,
MemoryLimit: 0,
VoluemMounts: [],
Volumes: [],
Secret: undefined,
ApplicationName: '',
ApplicationOwner: '',
Note: '',
Affinity: undefined, // KubernetesPodAffinity
});
export class KubernetesDaemonSet {
constructor() {
Object.assign(this, JSON.parse(JSON.stringify(_KubernetesDaemonSet)));
}
}