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/volume/payloads.js

24 lines
603 B

import { KubernetesCommonMetadataPayload } from 'Kubernetes/models/common/payloads';
/**
* KubernetesPersistentVolumClaimCreatePayload Model
*/
const _KubernetesPersistentVolumClaimCreatePayload = Object.freeze({
metadata: new KubernetesCommonMetadataPayload(),
spec: {
accessModes: ['ReadWriteOnce'],
resources: {
requests: {
storage: '',
},
},
storageClassName: '',
},
});
export class KubernetesPersistentVolumClaimCreatePayload {
constructor() {
Object.assign(this, JSON.parse(JSON.stringify(_KubernetesPersistentVolumClaimCreatePayload)));
}
}