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: Invalid rendered template when we only specify an adminToken in values.yaml #16

Open
JPLachance opened this issue Sep 20, 2024 · 0 comments

Comments

@JPLachance
Copy link

Hello,

When doing a helm template poc-eks strongdm/sdm-relay -f values.yaml > poc-eks.yaml using a values file that only contains an adminToken, no token, the resulting poc-eks.yaml is invalid and cannot be applied in Kubernetes.

Issues:

  • The secret has an empty value for token
  • That empty value then makes the Deployment environment variables invalid
  • At launch, the Relay won't start

Solution: don't set token in the secret if it does not have a value.

Thanks!

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

No branches or pull requests

1 participant