k3s/pkg/cloudprovider/providers
Kubernetes Submit Queue 9c0e46bdff Merge pull request #40843 from luomiao/photon-cloud-provider-authentication-update
Automatic merge from submit-queue (batch tested with PRs 41756, 36344, 34259, 40843, 41526)

Update Photon Controller cloud provider for authentication support

Resolve Issue: [#40755](https://github.com/kubernetes/kubernetes/issues/40755)
1. Update the configuration file for Photon Controller cloud provider
2. Only master nodes can communicate with Photon Controller endpoint
3. Enable support for authentication-enabled Photon Controller endpoint
4. Update NodeAddresses function for query from local node

New format of photon controller config file:
```
[Global]
target = https://[LOAD_BALANCER_IP]:443
project = [PROJECT ID]
overrideIP = true
vmID = [LOCAL VM ID]
authentication = true
```
This config file will be automatically created by Photon Controller cluster management.

If authentication file is set to true, then a pc_login_info file should be placed under /etc/kubernetes with username and password.
This file can be created by user directly.
Or the user can choose to use kubernetes secret and a handling pod to avoid directly login to master nodes. This usage will be available with Photon Controller 1.2.
This is a temporary solution before metadata service becomes available in Photon Controller.
2017-02-20 13:39:39 -08:00
..
aws Merge pull request #34259 from liggitt/node-dns 2017-02-20 13:39:37 -08:00
azure Set NetworkInterfaces and Subnets to nil before updating Azure security groups 2017-01-25 09:01:11 +01:00
cloudstack Merge pull request #36530 from apelisse/owners-pkg-cloudprovider 2017-01-18 18:40:53 -08:00
fake start the apimachinery repo 2017-01-11 09:09:48 -05:00
gce Merge pull request #41034 from rootfs/gce-instance 2017-02-14 09:11:25 -08:00
mesos Update generated files 2017-01-29 21:41:45 +01:00
openstack Migrate rackspace/gophercloud -> gophercloud/gophercloud 2017-02-20 11:03:05 +11:00
ovirt start the apimachinery repo 2017-01-11 09:09:48 -05:00
photon Update Photon Controller cloud provider for authentication support 2017-02-05 22:54:09 -08:00
rackspace start the apimachinery repo 2017-01-11 09:09:48 -05:00
vsphere adding e2e test for storage class diskformat verification 2017-02-14 21:08:53 -08:00
BUILD Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
providers.go Support persistent volume on Photon Controller platform 2016-11-08 09:36:16 -08:00