1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-09 15:55:23 +02:00

feat(kuberenetes): add annotations to kube objects EE-4089 (#8499)

* add annotations BE teaser
* fix settings icon click on home screen for kube env
* add debouce to namespace validation
* ingress button tooltip fixed
* fix tooltip text
This commit is contained in:
Prabhat Khera 2023-03-01 13:11:12 +13:00 committed by GitHub
parent 5f66020e42
commit defce0cf6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 579 additions and 483 deletions

View file

@ -60,7 +60,7 @@ function getConfigRoute(environment: Environment) {
case PlatformType.Docker:
return getDockerConfigRoute(environment);
case PlatformType.Kubernetes:
return 'kubernetes.cluster';
return 'kubernetes.cluster.setup';
default:
return '';
}

View file

@ -37,4 +37,5 @@ export enum FeatureId {
ENFORCE_DEPLOYMENT_OPTIONS = 'k8s-enforce-deployment-options',
K8S_ADM_ONLY_USR_INGRESS_DEPLY = 'k8s-admin-only-ingress-deploy',
K8S_ROLLING_RESTART = 'k8s-rolling-restart',
K8S_ANNOTATIONS = 'k8s-annotations',
}

View file

@ -42,6 +42,7 @@ export async function init(edition: Edition) {
[FeatureId.ENFORCE_DEPLOYMENT_OPTIONS]: Edition.BE,
[FeatureId.K8S_ADM_ONLY_USR_INGRESS_DEPLY]: Edition.BE,
[FeatureId.K8S_ROLLING_RESTART]: Edition.BE,
[FeatureId.K8S_ANNOTATIONS]: Edition.BE,
};
state.currentEdition = currentEdition;

View file

@ -14,3 +14,4 @@ export const FORCE_REDEPLOYMENT = 'force-redeployment';
export const STACK_PULL_IMAGE = 'stack-pull-image';
export const STACK_WEBHOOK = 'stack-webhook';
export const CONTAINER_WEBHOOK = 'container-webhook';
export const K8S_ANNOTATIONS = 'k8s-annotations';