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

Fix the mirror PV handling #514

Merged
merged 1 commit into from
Dec 10, 2024
Merged

Conversation

cbosdo
Copy link
Contributor

@cbosdo cbosdo commented Dec 9, 2024

What does this PR change?

If the PV has no claimRef, the generated JSON fragment will miss a value and won't be valid. Output the whole PV as JSON and parse it using the Kubernetes API type.

The volume mount for the mirror is also missing in the container.

Codespace

Check if you already have a running container clicking on Running CodeSpace

Create CodeSpace About billing for Github Codespaces CodeSpace Billing Summary CodeSpace Limit

Test coverage

  • No tests: not sure we could add meaningful tests here

  • DONE

Links

Issue(s): uyuni-project/uyuni#9542

  • DONE

Changelogs

Make sure the changelogs entries you are adding are compliant with https://github.com/uyuni-project/uyuni/wiki/Contributing#changelogs and https://github.com/uyuni-project/uyuni/wiki/Contributing#uyuni-projectuyuni-repository

If you don't need a changelog check, please mark this checkbox:

  • No changelog needed

If you uncheck the checkbox after the PR is created, you will need to re-run changelog_test (see below)

Before you merge

Check How to branch and merge properly!

If the PV has no claimRef, the generated JSON fragment will miss a
value and won't be valid. Output the whole PV as JSON and parse it
using the Kubernetes API type.

The volume mount for the mirror is also missing in the container.
@cbosdo cbosdo merged commit b7ed0d9 into uyuni-project:main Dec 10, 2024
7 checks passed
@cbosdo cbosdo deleted the k8s-mirror-fix branch December 10, 2024 08:04
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.

1 participant