terraform-kubernetes-argocd
terraform-kubernetes-argocd copied to clipboard
Secret name mismatch
Hello.
Ingress which is setup by this module references to not existing secret. TLS key and cert are kept in argocd-secret
but in default values.yaml in this module reference to argocd-tls:
https://github.com/squareops/terraform-kubernetes-argocd/blob/e4d58ec6b39b8318013116ea94db3345bfd6cc44/helm/values/values.yaml#L97
I know that it is easy to modify that by argocd_config.values_yaml
with provided yaml file:
server:
ingress:
tls:
- secretName: argocd-secret
hosts:
${hostname}
but then substitution to tls.hosts https://github.com/squareops/terraform-kubernetes-argocd/blob/e4d58ec6b39b8318013116ea94db3345bfd6cc44/helm/values/values.yaml#L99 is not being resolved.
Is there sth I can use to make it work?
It seems like rename the default value of secret to argocd-secret
here:
https://github.com/squareops/terraform-kubernetes-argocd/blob/e4d58ec6b39b8318013116ea94db3345bfd6cc44/helm/values/values.yaml#L97
would solve the issue.
Regards, Dawid.