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

Fixed get/set Default flag for StorageClasses #204

Merged
merged 2 commits into from
Jun 26, 2018

Conversation

ewoutp
Copy link
Contributor

@ewoutp ewoutp commented Jun 26, 2018

This PR fixes StorageClass's Default flag patching/getting.

Before we only looked at the storageclass.kubernetes.io/is-default-class annotation, but it turned out that storageclass.beta.kubernetes.io/is-default-class was also still being used.

fixes #200

@ghost ghost assigned ewoutp Jun 26, 2018
@ghost ghost added the 2 - Working label Jun 26, 2018
@ewoutp ewoutp requested a review from neunhoef June 26, 2018 11:13
Copy link
Member

@neunhoef neunhoef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. This is exactly the kind of issues we want to find with the acceptance test. Great.

@ewoutp ewoutp merged commit 69775c2 into master Jun 26, 2018
@ewoutp ewoutp deleted the bugfix/default-storage-class branch June 26, 2018 14:49
@ghost ghost removed the 4 - Review label Jun 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to unset standard storage class in GKE using kubectl
2 participants