kubernetes-sigs/cluster-api-provider-aws

additionalTags with whitespace in the key

Open

#4,642 opened on Nov 20, 2023

View on GitHub
 (13 comments) (0 reactions) (0 assignees)Go (689 forks)auto 404
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

Contributor guide