k3s/pkg/api/v1
Kubernetes Submit Queue 7d5dc528a0 Merge pull request #54013 from vladimirvivien/scaleio-secret-multi-tenancy
Automatic merge from submit-queue (batch tested with PRs 49865, 53731, 54013, 54513, 51502). 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>.

ScaleIO - Ability to specify Secret's name and namespace 

**What this PR does / why we need it**:
This PR is to decouple the ScaleIO secret from the same namespace as that of the StorageClass/PVC/PV that uses it (#53619). Currently, authorized non-admin k8s user, who creates volumes, may end up having unauthorized access to ScaleIO secret information.  This PR introduces secret parameter that allows specification of secret's namespace.

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

**Release note**:
```release-note
ScaleIO persistent volumes now support referencing a secret in a namespace other than the bound persistent volume claim's namespace; this is controlled during provisioning with the `secretNamespace` storage class parameter; StoragePool and ProtectionDomain attributes no longer defaults to the value `default`
```
2017-10-26 13:24:34 -07:00
..
endpoints update BUILD files 2017-10-15 18:18:13 -07:00
helper fix build vendor 2017-10-18 14:57:59 +08:00
node update BUILD files 2017-10-15 18:18:13 -07:00
pod update BUILD files 2017-10-15 18:18:13 -07:00
resource update BUILD files 2017-10-15 18:18:13 -07:00
service update BUILD files 2017-10-15 18:18:13 -07:00
validation update BUILD files 2017-10-15 18:18:13 -07:00
BUILD Add fuzz test for RC/RS conversion. 2017-10-18 12:37:30 -07:00
OWNERS Remove myself from a bunch of places 2017-07-20 12:10:46 +02:00
conversion.go Fix loss of Conditions during RC/RS conversion. 2017-10-18 11:46:31 -07:00
conversion_test.go Add fuzz test for RC/RS conversion. 2017-10-18 12:37:30 -07:00
defaults.go ScaleIO - API source code update 2017-10-25 16:05:48 -04:00
defaults_test.go pkg/api/legacyscheme: fixup imports 2017-10-18 17:23:55 +02:00
doc.go split v1/register.go to regsiter.go and builder.go 2017-06-22 10:21:42 -07:00
register.go rename pkg/api/v1/builder.go to register.go to be consistent with others 2017-07-21 14:03:32 -07:00
zz_generated.conversion.go ScaleIO - Generated files 2017-10-25 16:05:57 -04:00
zz_generated.defaults.go ScaleIO - Generated files 2017-10-25 16:05:57 -04:00