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

feat: Provide operating system from config #1809

Merged
merged 5 commits into from
Feb 10, 2022

Conversation

kron4eg
Copy link
Member

@kron4eg kron4eg commented Feb 4, 2022

What this PR does / why we need it:
Many RHEL rebuilds are floating around and they all can be treated equal as "centos" for example.

Does this PR introduce a user-facing change?:

Provide operating system from config

@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. labels Feb 4, 2022
@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 Feb 4, 2022
@kron4eg kron4eg requested a review from xmudrii February 4, 2022 15:36
@kubermatic-bot kubermatic-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Feb 4, 2022
@kron4eg
Copy link
Member Author

kron4eg commented Feb 4, 2022

/retest

@kron4eg kron4eg added this to the KubeOne 1.4 milestone Feb 4, 2022
@kron4eg
Copy link
Member Author

kron4eg commented Feb 4, 2022

/retest

image_name = ["CentOS 8.* x86_64"]
osp_name = "osp-centos8"
owners = ["792107900819"] # RockyLinux
image_name = ["Rocky-8-ec2-*.x86_64"]
Copy link
Member Author

Choose a reason for hiding this comment

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

Live example of RHEL-rebuild is being used as a substitution for CentOS8

* validate provided operating system
* fallback to runtime detection

Signed-off-by: Artiom Diomin <kron82@gmail.com>
Signed-off-by: Artiom Diomin <kron82@gmail.com>
Signed-off-by: Artiom Diomin <kron82@gmail.com>
Signed-off-by: Artiom Diomin <kron82@gmail.com>
Signed-off-by: Artiom Diomin <kron82@gmail.com>
@kron4eg
Copy link
Member Author

kron4eg commented Feb 9, 2022

@xmudrii rebased the PR against current master, PTAL

@kubermatic-bot kubermatic-bot added the lgtm Indicates that a PR is ready to be merged. label Feb 10, 2022
@kubermatic-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 28ce54b149170246a341369383b8cf766e0a294b

@kubermatic-bot kubermatic-bot merged commit 13b4099 into kubermatic:master Feb 10, 2022
@kron4eg kron4eg deleted the os-config branch February 10, 2022 10:23
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.

None yet

3 participants