Files
kubernetes/pkg/volume
Kubernetes Submit Queue 3f581dc265 Merge pull request #64427 from andyzhangx/azuredisk-rg
Automatic merge from submit-queue (batch tested with PRs 65032, 63471, 64104, 64672, 64427). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

add external resource group support for azure disk

**What this PR does / why we need it**:
add external resource group support for azure disk, 
 - without this PR, user could only create dynamic azure disk in the same resource group as cluster
 - with this PR, user could specify external resource group in PVC:
```
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: pvc-azuredisk
  annotations:
    volume.beta.kubernetes.io/resource-group: "USER-SPECIFIED-RG"  
spec:
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 1Gi
  storageClassName: hdd
```

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #64388

**Special notes for your reviewer**:
Pls note above config won't change resource group for azure disk forever, next time if user don't specify resource group, only default resource group will be used.

**Release note**:

```
add external resource group support for azure disk
```
/sig azure
/assign @feiskyer @karataliu 
/cc @khenidak
2018-06-20 04:23:24 -07:00
..
2018-06-05 16:35:16 +08:00
2018-06-05 16:35:16 +08:00
2018-06-18 12:46:07 -04:00
2018-06-05 16:35:16 +08:00
2018-06-01 12:42:53 -07:00
2018-06-05 16:35:16 +08:00
2018-06-05 16:35:16 +08:00
2018-06-05 16:35:16 +08:00
2018-06-05 16:35:16 +08:00
2018-06-08 11:04:23 -04:00
2018-06-05 16:35:16 +08:00
2018-06-05 16:35:16 +08:00
2018-06-05 16:35:16 +08:00
2018-02-27 20:23:35 +08:00