kubernetes-sigs/cluster-api-provider-aws

additionalTags with whitespace in the key

开放

#4,642 创建于 2023年11月20日

 (13 条评论) (0 个反应) (0 位负责人)Go (689 个派生)auto 404
good first issuehelp wantedkind/bugneeds-triagepriority/important-soon

仓库指标

星标
 (723 个星标)
PR 合并指标
 (平均合并 19天 11小时) (30 天内合并 33 个 PR)

描述

/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

贡献者指南