• Kubernetes Submit Queue's avatar
    Merge pull request #38433 from yuanying/remove-needless-config · b202ebb7
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 38433, 36245)
    
    Remove needless env var in OpenStack provider
    
    **What this PR does / why we need it**:
    
    If we use openstack provider to set up k8s cluster using kube-up script,
    `TENANT_ID` environment variable is needed.
    But to configure `TENANT_ID` is very annoying because this value is not static by each env.
    This patch uses `TENANT_NAME` instead of `TENANT_ID`
    
    **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**:
    
    **Release note**:
    
    ```release-note
    ```
    
    Since `TENANT_NAME` is unique if we use keystone v2 api,
    so `TENANT_ID` is not needed if `TENANT_NAME` is provided
    to configure OpenStack provider.
    And also to set `TENANT_ID` is annoying to develop, because
    `TENANT_ID` is not static by each environment.
    This patch remove dependency of `TENANT_ID` and simply use
    `TENANT_NAME`.
    b202ebb7
Name
Last commit
Last update
.github Loading commit data...
Godeps Loading commit data...
api Loading commit data...
build Loading commit data...
cluster Loading commit data...
cmd Loading commit data...
docs Loading commit data...
examples Loading commit data...
federation Loading commit data...
hack Loading commit data...
hooks Loading commit data...
logo Loading commit data...
pkg Loading commit data...
plugin Loading commit data...
staging Loading commit data...
test Loading commit data...
third_party Loading commit data...
translations Loading commit data...
vendor Loading commit data...
.gazelcfg.json Loading commit data...
.generated_docs Loading commit data...
.generated_files Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
BUILD.bazel Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
Makefile.generated_files Loading commit data...
OWNERS Loading commit data...
OWNERS_ALIASES Loading commit data...
README.md Loading commit data...
Vagrantfile Loading commit data...
WORKSPACE Loading commit data...
code-of-conduct.md Loading commit data...
labels.yaml Loading commit data...