mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 23:09:41 +02:00
* refactor(app): summary widget migration [EE-5351] * update converter and limit display --------- Co-authored-by: testa113 <testa113>
17 lines
577 B
TypeScript
17 lines
577 B
TypeScript
import { AppKind, DeploymentType } from './types';
|
|
|
|
// Portainer specific labels
|
|
export const appStackNameLabel = 'io.portainer.kubernetes.application.stack';
|
|
export const appOwnerLabel = 'io.portainer.kubernetes.application.owner';
|
|
export const appNoteAnnotation = 'io.portainer.kubernetes.application.note';
|
|
export const appDeployMethodLabel = 'io.portainer.kubernetes.application.kind';
|
|
|
|
export const appKindToDeploymentTypeMap: Record<
|
|
AppKind,
|
|
DeploymentType | null
|
|
> = {
|
|
Deployment: 'Replicated',
|
|
StatefulSet: 'Replicated',
|
|
DaemonSet: 'Global',
|
|
Pod: null,
|
|
};
|