@joaquin Did you use eksctl to set up your k8s cluster on the cloud? I’m using Terraform code to set up all the infrastructure stuff on the cloud. First I wonder if this difference between your testing and mine is caused by different tools we’re using or not, then it’s proven false because I packed a helm chart for my own app with configuration in its values.yaml file almost the same as what I set in Dgraph’s values.yaml file, when it’s installed using helm, the service account was created immediately and successfully. At least this tells me that there’s nothing wrong with the way I use helm install.
This is what I set for my own app’s chart values.yaml.
serviceAccount:
create: true
# Annotations to add to the service account
annotations:
eks.amazonaws.com/role-arn: arn:aws:iam::xxxxxxxxxxx:role/demo-iam-role
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: "myapp-service-account"
# Install app chart
helm install app-release appchart \
--namespace myapp --debug --dry-run \
--values deploy/dev/app/values.yaml | grep serviceAccountName
install.go:178: [debug] Original chart version: ""
install.go:195: [debug] CHART PATH: /Users/Ann.Zhang/Work/app/appchart
# it retruns
# serviceAccountName: myapp-service-account