Closed tolgap closed 4 years ago
Huh, I'm not sure why it's doing that. Will you do a run with debug: true
and paste the results?
One other thing that jumped out at me is your values_file
setting—it should be values_files
, plural. That probably isn't causing this problem, but it will cause other problems later on :)
@ErinCall that's very sharp, I hadn't noticed that typo.
Once I fixed the values_files
typo, I can see that my kubernetes_service_account
is actually being used. I haven't changed anything else.
All I had to do was make sure that service account was allowed to perform all the steps by assigning it a ClusterRoleBinding to the ClusterRole admin
for the namespace order66-staging
.
I'm closing this issue. Thanks again for the quick response!
This is the error I get when doing a deploy using
mode: upgrade
:Based on that error, it seems like
drone-helm3
is using the serviceaccount nameddefault
in theorder66-staging
namespace. But that is definitely not what I'm passing in:This is my Service Account:
This is my ClusterRole:
And I have definitely bound that clusterrole to my service account using a RoleBinding:
So what could be going wrong here?