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/storage-class/models.js

22 lines
594 B

export { StorageClass as KubernetesStorageClass } from './StorageClass';
/**
* KubernetesStorageClassAccessPolicies Model
*/
const _KubernetesStorageClassAccessPolicies = Object.freeze([
{
Name: 'ReadWriteOnce',
Description: 'Allow read-write from a single pod only (RWO)',
selected: true,
},
{
Name: 'ReadWriteMany',
Description: 'Allow read-write access from one or more pods concurrently (RWX)',
selected: false,
},
]);
export function KubernetesStorageClassAccessPolicies() {
return JSON.parse(JSON.stringify(_KubernetesStorageClassAccessPolicies));
}