Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug/secret capital letters issue #5

Conversation

markoskandylis
Copy link

if the EKS cluster has Upper chars secret was not created with 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', 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

Fixing the issue by using the lower function in the clusters name

@csantanapr
Copy link
Member

I think is ok to leave the cluster name with upper case this way the user will see the same name in the ArgoCD UI and in the AWS Console UI.
Lets fix this in the addons templates I opened an issue to discuss and fix, if you want to work on it here gitops-bridge-dev/gitops-bridge-argocd-control-plane-template#47

@csantanapr csantanapr closed this Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants