Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Is your feature request related to a problem? Please describe.
Allow a user to set automountServiceAccountToken on the serviceAccount. By default, the server pod mounts the API credentials token and I am just asking to make it explicit on the serviceAccount resource in this helm chart. Currently its not possible.
Feature Description
We have a requirement to set this key instead of getting the default behavior without knowing about it. to overcome this issueI could have created my own serviceAccount but this chart does not allow me to stop the creation of the serviceAccount in the chart . Even If I create my own I cannot provide it as a value to the server Statefulset (https://github.com/hashicorp/consul-k8s/blob/main/charts/consul/templates/server-statefulset.yaml#L138).
Community Note
Is your feature request related to a problem? Please describe.
Allow a user to set
automountServiceAccountToken
on the serviceAccount. By default, the server pod mounts the API credentials token and I am just asking to make it explicit on the serviceAccount resource in this helm chart. Currently its not possible.Feature Description
We have a requirement to set this key instead of getting the default behavior without knowing about it. to overcome this issueI could have created my own serviceAccount but this chart does not allow me to stop the creation of the serviceAccount in the chart . Even If I create my own I cannot provide it as a value to the server Statefulset (https://github.com/hashicorp/consul-k8s/blob/main/charts/consul/templates/server-statefulset.yaml#L138).
Use Case(s)
We are using consul as a kv store for Cortex.
Contributions
Yes, here is the contribution: https://github.com/hashicorp/consul-k8s/pull/1921