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

Allow sourcing cloudConfig from the credentials file #641

Merged
merged 1 commit into from
Aug 29, 2019

Conversation

xmudrii
Copy link
Member

@xmudrii xmudrii commented Aug 29, 2019

What this PR does / why we need it:

Add an option to source cloudConfig from the credentials file. This is done by using the cloudConfig key.

Passing the credentials file path and the credentials bytes down the config functions is maybe not that elegant approach. The reason for doing this is that we want to be able to validate the cloudConfig using the API validation. An alternative approach would be to us the runtime validation, but it is prone to errors.

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

Does this PR introduce a user-facing change?:

Add an option to source cloudConfig from the credentials file using the cloudConfig key

/assign @kron4eg

@xmudrii xmudrii requested a review from kron4eg August 29, 2019 12:38
@kubermatic-bot kubermatic-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 29, 2019
Copy link
Member

@kron4eg kron4eg left a comment

Choose a reason for hiding this comment

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

/approve

@kubermatic-bot kubermatic-bot added the lgtm Indicates that a PR is ready to be merged. label Aug 29, 2019
@kubermatic-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 576790c4d86de2e03928f7290f447563c0a63e1b

@kubermatic-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kron4eg

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubermatic-bot kubermatic-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 29, 2019
@kubermatic-bot kubermatic-bot merged commit b736c02 into master Aug 29, 2019
@kubermatic-bot kubermatic-bot deleted the cloudconfig-file branch August 29, 2019 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow providing secrets and cloudConfig in a form of a file
3 participants