-
Notifications
You must be signed in to change notification settings - Fork 39.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove needless env var in OpenStack provider #38433
Remove needless env var in OpenStack provider #38433
Conversation
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`.
Hi @yuanying. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with If you have questions or suggestions related to this bot's behavior, please file an issue against the kubernetes/test-infra repository. |
@k8s-bot ok to test |
/lgtm |
@idvoretskyi can you add the sig/openstack label please? /cc @kubernetes/sig-openstack |
@k8s-bot test this |
Jenkins kops AWS e2e failed for commit d5e039c. Full PR test history. The magic incantation to run this job again is If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
@k8s-bot kops aws e2e test this |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue (batch tested with PRs 38433, 36245) |
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 ofTENANT_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:
Since
TENANT_NAME
is unique if we use keystone v2 api,so
TENANT_ID
is not needed ifTENANT_NAME
is providedto configure OpenStack provider.
And also to set
TENANT_ID
is annoying to develop, becauseTENANT_ID
is not static by each environment.This patch remove dependency of
TENANT_ID
and simply useTENANT_NAME
.