Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Fix the issue that azure file volume could not be dynamically created in v1.7 #2525

Merged

Conversation

andyzhangx
Copy link
Contributor

@andyzhangx andyzhangx commented Mar 26, 2018

What this PR does / why we need it:
current kubernetesmasteraddons-azure-cloud-provider-deployment.yaml does not work for k8s 1.7, which means azure file volume could not be dynamically created in v1.7 now, this PR fix this issue. use v1beta1 for ClusterRole to support k8s 1.7

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

Special notes for your reviewer:

If applicable:

  • documentation
  • unit tests
  • tested backward compatibility (ie. deploy with previous version, upgrade with this branch)

Release note:

Fix the issue that azure file volume could not be dynamically created in v1.7

@jackfrancis

@andyzhangx
Copy link
Contributor Author

andyzhangx commented Mar 26, 2018

This PR should also be back ported to AKS

@jackfrancis
Copy link
Member

@andyzhangx is this change compatible with all k8s versions >= 1.7?

@andyzhangx
Copy link
Contributor Author

@jackfrancis yes, all ClusterRole objects are all using v1beta1, here is an example:
https://github.com/Azure/acs-engine/blob/master/parts/k8s/addons/kubernetesmasteraddons-calico-daemonset.yaml#L7

Copy link
Member

@jackfrancis jackfrancis left a comment

Choose a reason for hiding this comment

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

lgtm

@jackfrancis jackfrancis merged commit f992a0f into Azure:master Mar 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants