Support custom name for serviceAccount in helm chart #529
Labels
good-first-issue
Start here if you'd like to start contributing to Pulumi
impact/usability
Something that impacts users' ability to use the product easily and intuitively
kind/enhancement
Improvements or new features
resolution/fixed
This issue was fixed
Milestone
Hello!
Issue details
Currently the helm chart uses the helper
pulumi-kubernetes-operator.fullname
to populate the service account name, but thevalues.yaml
file provide aserviceAccount.name
value that is only used if theserviceAccount.create
isfalse
.Could make sense to use the
serviceAccount.name
field as.metadata.name
in the ServiceAccount and fallback to the fullname only if theserviceAccount.name
field is empty or missing.Having to use the
fullnameOverride
value to override the name of the serviceAccount doesn't provide enought flexibility and it could be confusing having bothserviceAccount.create = true
andserviceAccount.name = "non-empty-string"
.The text was updated successfully, but these errors were encountered: