Add deprecation tag to k8s annotation in catalog and add new k8s annotations in plugin-kubernetes-common

Signed-off-by: Ruben Vallejo <rvallejo@gmail.com>
This commit is contained in:
Ruben Vallejo
2023-01-12 16:59:54 -05:00
parent 9264487fc2
commit 703d305a45
3 changed files with 82 additions and 0 deletions
@@ -38,6 +38,7 @@ export const ANNOTATION_EDIT_URL = 'backstage.io/edit-url';
/**
* Annotation for specifying the API server of a Kubernetes cluster
*
* @deprecated Import this constant from `@backstage/plugin-kubernetes-common` instead
* @public
*/
export const ANNOTATION_KUBERNETES_API_SERVER = 'kubernetes.io/api-server';
@@ -45,6 +46,7 @@ export const ANNOTATION_KUBERNETES_API_SERVER = 'kubernetes.io/api-server';
/**
* Annotation for specifying the Certificate Authority of an API server for a Kubernetes cluster
*
* @deprecated Import this constant from `@backstage/plugin-kubernetes-common` instead
* @public
*/
export const ANNOTATION_KUBERNETES_API_SERVER_CA =
@@ -53,6 +55,7 @@ export const ANNOTATION_KUBERNETES_API_SERVER_CA =
/**
* Annotation for specifying the auth provider for a Kubernetes cluster
*
* @deprecated Import this constant from `@backstage/plugin-kubernetes-common` instead
* @public
*/
export const ANNOTATION_KUBERNETES_AUTH_PROVIDER =