You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In all addons argocd app follow the pattern to specify the name using cluster name, but the cluster name can have upper case letters like using EKS cluster name "Carlos Cluster" we need to lower case and replace space with dash -
This will address when user see the following error
Error: metadata.0.name a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. '[example.com](http://example.com/)', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')
│
│ with module.gitops_bridge_bootstrap.kubernetes_secret_v1.cluster[0],
│ on .terraform/modules/gitops_bridge_bootstrap/main.tf line 127, in resource "kubernetes_secret_v1" "cluster":
│ 127: name = local.argocd.metadata.name
Found a better solution for this use {{nameNormalized}} ('name' but normalized to contain only lowercase alphanumeric characters, '-' or '.') instead of {{name}}
In all addons argocd app follow the pattern to specify the name using cluster name, but the cluster name can have upper case letters like using EKS cluster name "Carlos Cluster" we need to lower case and replace space with dash
-
For example in https://github.com/gitops-bridge-dev/gitops-bridge-argocd-control-plane-template/blob/main/bootstrap/control-plane/addons/aws/addons-aws-load-balancer-controller-appset.yaml#L41
We need to convert appset to goTemplate issue #46
Then use sprig function lower for example
The text was updated successfully, but these errors were encountered: