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

Some system settings are not allowed during the IPXE installation #803

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

votdev
Copy link
Member

@votdev votdev commented Aug 13, 2024

Problem:
We have an allow list in the installer:

func GetSystemSettingsAllowList() []string {
to validate if provides a valid setting, but the list doesn't catch up the changes in the harvester backend side.

Solution:
Add the missing supported system settings.

Related Issue:
harvester/harvester#6329

Test plan:
Do an IPXE Install and add a missing system setting like auto-rotate-rke2-certs. The installation should not fail.

This can be done easily by adding the setting to the file vagrant-pxe-harvester/ansible/roles/harvester/templates/config-create.yaml.j2

@votdev votdev added the bug Something isn't working label Aug 13, 2024
@votdev votdev self-assigned this Aug 13, 2024
@votdev votdev force-pushed the issue_6329_system_settings branch from 6ab9302 to a3fbc8a Compare August 13, 2024 12:35
@votdev votdev force-pushed the issue_6329_system_settings branch from a3fbc8a to 4dc9b04 Compare August 13, 2024 13:46
@votdev votdev marked this pull request as ready for review August 14, 2024 08:11
@votdev votdev requested a review from bk201 August 14, 2024 08:11
@bk201 bk201 requested a review from Vicente-Cheng August 14, 2024 08:18
Copy link
Contributor

@Vicente-Cheng Vicente-Cheng left a comment

Choose a reason for hiding this comment

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

lgtm, thanks!

@bk201 bk201 merged commit 601bee7 into harvester:master Aug 15, 2024
7 checks passed
@bk201
Copy link
Member

bk201 commented Aug 15, 2024

@Mergifyio backport v1.4 v1.3

Copy link

mergify bot commented Aug 15, 2024

backport v1.4 v1.3

✅ Backports have been created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants