kubernetes-sigs/cluster-api-provider-aws

additionalTags with whitespace in the key

Aperta

#4642 aperta il 20 nov 2023

 (13 commenti) (0 reazioni) (0 assegnatari)Go (689 fork)auto 404
good first issuehelp wantedkind/bugneeds-triagepriority/important-soon

Metriche repository

Star
 (723 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

/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

Guida contributor