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

Add support for OpenStack application credentials and update validation #1666

Merged
merged 5 commits into from
Dec 7, 2021

Conversation

embik
Copy link
Member

@embik embik commented Dec 6, 2021

What this PR does / why we need it:
machine-controller supports OpenStack application credentials since kubermatic/machine-controller#900. This PR adds support for picking that up and passing it as part of the credentials secret.

It also adjusts the validation function for OpenStack to make sure we're not passing both application and user credentials at the same time.

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

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

Add support for OpenStack application credentials

Signed-off-by: Marvin Beckers marvin@kubermatic.com

Signed-off-by: Marvin Beckers <marvin@kubermatic.com>
@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 Dec 6, 2021
@embik
Copy link
Member Author

embik commented Dec 6, 2021

/test pull-kubeone-e2e-openstack-conformance-1.22

pkg/credentials/credentials.go Outdated Show resolved Hide resolved
pkg/credentials/credentials.go Outdated Show resolved Hide resolved
pkg/credentials/credentials.go Show resolved Hide resolved
Co-authored-by: Marko Mudrinić <mudrinic.mare@gmail.com>
@embik
Copy link
Member Author

embik commented Dec 6, 2021

/test pull-kubeone-e2e-openstack-conformance-1.22

pkg/credentials/credentials.go Outdated Show resolved Hide resolved
pkg/credentials/credentials.go Outdated Show resolved Hide resolved
Signed-off-by: Marvin Beckers <marvin@kubermatic.com>
@kubermatic-bot kubermatic-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Dec 6, 2021
Signed-off-by: Marvin Beckers <marvin@kubermatic.com>
Signed-off-by: Marvin Beckers <marvin@kubermatic.com>
@embik
Copy link
Member Author

embik commented Dec 6, 2021

/test pull-kubeone-e2e-openstack-conformance-1.22

@kubermatic-bot kubermatic-bot added the lgtm Indicates that a PR is ready to be merged. label Dec 6, 2021
@kubermatic-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: c946fe2790e2b52f1f642e48ab88fd15defcb7d0

Copy link
Member

@xmudrii xmudrii left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@kubermatic-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: embik, xmudrii

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 Dec 7, 2021
@kubermatic-bot kubermatic-bot merged commit 0340e75 into kubermatic:master Dec 7, 2021
@kubermatic-bot kubermatic-bot added this to the KubeOne 1.4 milestone Dec 7, 2021
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/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support OpenStack Application Credentials for machine-controller
4 participants