Skip to content
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

Adds ENV variables to connect to K8s APIs #1218

Merged
merged 1 commit into from
Feb 7, 2018
Merged

Adds ENV variables to connect to K8s APIs #1218

merged 1 commit into from
Feb 7, 2018

Conversation

AmitKumarDas
Copy link
Member

@AmitKumarDas AmitKumarDas commented Feb 7, 2018

  1. Why is this change necessary ?

This lets maya api service & openebs provisioner connect to
K8s APIs based on K8s Master address or KubeConfig.

These ENV variables are optional.

  1. How does this change address the issue ?
  • Adds ENV to specs
    • OPENEBS_IO_KUBE_CONFIG
    • OPENEBS_IO_K8S_MASTER
  1. How to verify this change ?
  • Refer to the comments specified in the specs
  1. What side effects does this change have ?
  • This will let the services connect to K8s using
    either of above ENV variables.

Signed-off-by: amitkumardas amit.das@openebs.io

What this PR does / why we need it:

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:

1. Why is this change necessary ?

This lets maya api service & openebs provisioner connect to
K8s APIs based on K8s Master address or KubeConfig.

These ENV variables are optional.

2. How does this change address the issue ?

- Adds ENV to specs
  - OPENEBS_IO_KUBE_CONFIG
  - OPENEBS_IO_K8S_MASTER

3. How to verify this change ?

- Refer to the comments specified in the specs

4. What side effects does this change have ?

- This will let the services connect to K8s using
either of above ENV variables.

Signed-off-by: amitkumardas <amit.das@openebs.io>
Copy link
Contributor

@yudaykiran yudaykiran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kmova kmova merged commit aa64a93 into openebs:v0.5 Feb 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants