Skip to content

Commit 17c96f9

Browse files
authored
Merge pull request #5457 from ostrain/ostrain-kep-4322-change
Update KEP-4322 to account for ClusterProfile CR being namespaced
2 parents 5df9a0b + 3de6601 commit 17c96f9

File tree

1 file changed

+1
-0
lines changed
  • keps/sig-multicluster/4322-cluster-inventory

1 file changed

+1
-0
lines changed

keps/sig-multicluster/4322-cluster-inventory/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,7 @@ Those information can be obtained during the "registering" process but this is o
586586
##### Secret format
587587
- The secret *MUST* reside in the namespace with the label `x-k8s.io/cluster-inventory-consumer` with the value being the name of the ClusterInventory Consumer.
588588
- The secret *MUST* contain the label `x-k8s.io/cluster-profile` with the value being the name of the ClusterProfile object that the secret is associated with.
589+
- The secret *MAY* contain the label `x-k8s.io/cluster-profile-namespace` with the value being the namespace of the ClusterProfile object that the secret is associated with. If not present, the ClusterProfile is assumed to be in the default namespace.
589590
- The access information in the secret must contain the following fields
590591
- **Config**: This field contains cluster access information compatible with the
591592
[kubeconfig format](https://github.com/kubernetes/kubernetes/blob/v1.31.2/staging/src/k8s.io/client-go/tools/clientcmd/api/types.go#L31).

0 commit comments

Comments
 (0)