Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add pre-upgrade hook to rbac resources #1511

Merged
merged 1 commit into from
May 18, 2022

Conversation

cwyl02
Copy link
Contributor

@cwyl02 cwyl02 commented Apr 12, 2022

In #1379 (comment), a breaking change was introduced.

The result is that when I did a helm upgrade from 1.1.6 chart to a 1.1.10+ chart, the spark-operator ClusterRole and ClusterRoleBinding resources are deleted. also see: #1407

In this PR, I added pre-upgrade value to all 3 resources. Although it won't create the RBAC resources upon the 1st helm upgrade from the old chart(I think this is helm behavior), a second helm upgrade will apply the previously non-hook RBAC resources.

@cwyl02
Copy link
Contributor Author

cwyl02 commented Apr 12, 2022

hi @yuchaoran2011 could you approve me running the workflows?

@liyinan926
Copy link
Collaborator

Could you please rebase this PR?

@cwyl02 cwyl02 force-pushed the cwyl02/add-rbac-hook-preupgrade branch from 6aa88ad to 27036c5 Compare May 18, 2022 13:41
@cwyl02
Copy link
Contributor Author

cwyl02 commented May 18, 2022

hey @liyinan926, done rebasing. Please approve running workflow

@liyinan926 liyinan926 merged commit 5516734 into kubeflow:master May 18, 2022
jbhalodia-slack pushed a commit to jbhalodia-slack/spark-operator that referenced this pull request Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants