You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It works fine when I helm install my chart with spark-operator.enabled=true.
However, if I helm install the chart with spark-operator.enabled=false then try to helm upgrade with spark-operator.enabled=true, it errors out because of the missing service account, spark-operator-service-user. I think service account are not being created properly during upgrade because the ServiceAccount manifest only has pre-install hook, not pre-upgrade.
For the actual error message, when I helm upgrade, it just times out because the spark-operator-webhook-cleanup job cannot execute. I can see the following error message when I inspect the event log of the job (with kubernetes describe command).
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedCreate 67s (x5 over 3m37s) job-controller Error creating: pods "hello-world-spark-operator-webhook-cleanup-" is forbidden: error looking up service account spark/spark-operator-service-user: serviceaccount "spark-operator-service-user" not found
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I have a use case where I include
spark-operator
chart as a dependency of my chart, and control its deployment with a Helm variable.For example, with
It works fine when I
helm install
my chart withspark-operator.enabled=true
.However, if I
helm install
the chart withspark-operator.enabled=false
then try tohelm upgrade
withspark-operator.enabled=true
, it errors out because of the missing service account,spark-operator-service-user
. I think service account are not being created properly during upgrade because the ServiceAccount manifest only haspre-install
hook, notpre-upgrade
.For the actual error message, when I
helm upgrade
, it just times out because thespark-operator-webhook-cleanup
job cannot execute. I can see the following error message when I inspect the event log of the job (withkubernetes describe
command).The text was updated successfully, but these errors were encountered: