mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 07:19:41 +02:00
* kubernetes sidebar configuration lingo updated * configurations list view updated * updated configurations list add config button * - updated create and update configuration buttons to display type of configuration being created/updated - configuration filter displays explicit configuration type * updated create configuration sub-title * add configmap wording update * portainer service lingo updated in k8s app creation and update forms * publishing mode text updates * KubernetesApplicationPublishingTypes updated INTERNAL and CLUSTER to CLUSTER_IP and NODE_PORT respectively * application ports datatable updated * updated service and ingress lingo on application view page * reduced spacing to fit in ConfigMaps & Secrets in sidenav for different screen res
54 lines
1.4 KiB
JavaScript
54 lines
1.4 KiB
JavaScript
export const KubernetesApplicationDeploymentTypes = Object.freeze({
|
|
REPLICATED: 1,
|
|
GLOBAL: 2,
|
|
});
|
|
|
|
export const KubernetesApplicationDataAccessPolicies = Object.freeze({
|
|
SHARED: 1,
|
|
ISOLATED: 2,
|
|
});
|
|
|
|
export const KubernetesApplicationTypes = Object.freeze({
|
|
DEPLOYMENT: 1,
|
|
DAEMONSET: 2,
|
|
STATEFULSET: 3,
|
|
POD: 4,
|
|
HELM: 5,
|
|
});
|
|
|
|
export const KubernetesApplicationTypeStrings = Object.freeze({
|
|
HELM: 'Helm',
|
|
DEPLOYMENT: 'Deployment',
|
|
DAEMONSET: 'DaemonSet',
|
|
STATEFULSET: 'StatefulSet',
|
|
POD: 'Pod',
|
|
});
|
|
|
|
export const KubernetesApplicationPublishingTypes = Object.freeze({
|
|
CLUSTER_IP: 1,
|
|
NODE_PORT: 2,
|
|
LOAD_BALANCER: 3,
|
|
INGRESS: 4,
|
|
});
|
|
|
|
export const KubernetesApplicationPlacementTypes = Object.freeze({
|
|
PREFERRED: 1,
|
|
MANDATORY: 2,
|
|
});
|
|
|
|
export const KubernetesApplicationQuotaDefaults = {
|
|
CpuLimit: 0.1,
|
|
MemoryLimit: 64, // MB
|
|
};
|
|
|
|
export const KubernetesPortainerApplicationStackNameLabel = 'io.portainer.kubernetes.application.stack';
|
|
|
|
export const KubernetesPortainerApplicationStackIdLabel = 'io.portainer.kubernetes.application.stackid';
|
|
|
|
export const KubernetesPortainerApplicationKindLabel = 'io.portainer.kubernetes.application.kind';
|
|
|
|
export const KubernetesPortainerApplicationNameLabel = 'io.portainer.kubernetes.application.name';
|
|
|
|
export const KubernetesPortainerApplicationOwnerLabel = 'io.portainer.kubernetes.application.owner';
|
|
|
|
export const KubernetesPortainerApplicationNote = 'io.portainer.kubernetes.application.note';
|