k3s/cluster/gce
Kubernetes Submit Queue eea406c108
Merge pull request #62669 from immutableT/deploy_helper_test
Automatic merge from submit-queue (batch tested with PRs 63007, 62919, 62669, 62860). 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 unit test for configure-helper.sh.

**What this PR does / why we need it**:
Add a framework for unit-testing configure-helper.sh.
configure-helper.sh plays a critical role in initializing clusters both on GCE and GKE. It is currently, over 2K lines of code, yet it has no unit test coverage.
This PR proposes a framework/approach on how to provide test coverage for this component.
Notes: 
1. Changes to configure-helper.sh itself were necessary to enable sourcing of this script for the purposes of testing.
2. As POC api_manifest_test.go covers the logic related to the initialization of apiserver when integration with KMS was requested. The hope is that the same approach could be extended to the rest of the script.

**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 #

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2018-04-23 15:45:17 -07:00
..
addons Update addon manifests to use policy/v1beta1 and grant permissions in policy API group. 2018-04-17 14:56:55 +02:00
gci Merge pull request #62669 from immutableT/deploy_helper_test 2018-04-23 15:45:17 -07:00
manifests Merge pull request #62669 from immutableT/deploy_helper_test 2018-04-23 15:45:17 -07:00
BUILD Add unit test for configure-helper. 2018-04-23 12:18:57 -07:00
OWNERS Add jingax10 as both reviewer and approver in cluster/gce. 2018-02-21 22:11:32 -08:00
config-common.sh Add comment to gce config files advising to not use empty scopes 2017-12-18 11:33:21 -08:00
config-default.sh Merge pull request #62195 from serathius/prometheus 2018-04-18 02:17:48 -07:00
config-test.sh Merge pull request #62195 from serathius/prometheus 2018-04-18 02:17:48 -07:00
cos Symlink cluster/gce/cos to cluster/gce/gci 2017-03-15 15:31:51 -07:00
custom add folder named custom in gce 2018-01-05 15:36:53 -08:00
delete-stranded-load-balancers.sh
list-resources.sh Merge pull request #61306 from ixdy/list-resources-logging-sinks 2018-04-13 14:45:51 -07:00
ubuntu Makes cluster/gce/ubuntu to be a symlink to cluster/gce/gci and changes the gci's [master|node].yaml to enable kubernetes.target. 2017-04-25 16:19:00 -07:00
upgrade-aliases.sh Bump etcd default server version to 3.2.18 2018-04-11 21:12:44 -07:00
upgrade.sh Add cluster-location to GCE instance attributes 2018-02-19 10:48:25 +01:00
util.sh Merge pull request #62195 from serathius/prometheus 2018-04-18 02:17:48 -07:00