Merge pull request #10765 from mclarke47/k8s-namespaced-lookup

add kubernetes namespace annotation
This commit is contained in:
Ben Lambert
2022-04-13 22:06:11 +02:00
committed by GitHub
7 changed files with 99 additions and 3 deletions
+10
View File
@@ -355,6 +355,16 @@ annotations:
'backstage.io/kubernetes-id': dice-roller
```
#### Adding the namespace annotation
Entities can have the `backstage.io/kubernetes-namespace` annotation, this will cause the entity's Kubernetes resources
to by looked up via that namespace.
```yaml
annotations:
'backstage.io/kubernetes-namespace': dice-space
```
#### Labeling Kubernetes components
In order for Kubernetes components to show up in the software catalog as a part