kubernetes-sigs/cluster-api-provider-aws
View on GitHubadditionalTags with whitespace in the key
Open
#4,642 opened on Nov 20, 2023
good first issuehelp wantedkind/bugneeds-triagepriority/important-soon
Repository metrics
- Stars
- (723 stars)
- PR merge metrics
- (PR metrics pending)
Description
/kind bug
Unfortunately, I have a company's mandatory tag with a space in the key:
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
kind: AWSCluster
...
spec:
additionalTags:
"Patch Group": nopatch
...
but I'm getting:
The AWSCluster "mycluster-dr" is invalid: spec.additionalTags: Invalid value: "Patch Group": key cannot have characters other than alphabets, numbers, spaces and _ . : / = + - @
- Cluster-api-provider-aws version: 1.5.1