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

Use uyuniadm to install container server #1359

Merged
merged 2 commits into from
Aug 2, 2023

Conversation

cbosdo
Copy link
Contributor

@cbosdo cbosdo commented Jul 31, 2023

What does this PR change?

Use uyuniadm install to install the containerized server for both podman and k3s

Needs to be synchronized with PRs:

@cbosdo cbosdo changed the title Use uyuniadmto install container server Use uyuniadm to install container server Jul 31, 2023
Copy link
Member

@rjmateus rjmateus left a comment

Choose a reason for hiding this comment

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

Just one note, other then that looks good to me

cmd.run:
- name: uyuniadm install --config /root/uyuniadm.yaml {{ grains.get("fqdn") }}
- env:
- KUBECONFIG: /etc/rancher/k3s/k3s.yaml
Copy link
Member

Choose a reason for hiding this comment

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

Do you want to always add this line or only for kubernetes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is only useful for K3s as it comes with a kubeconfig in an unexpected place. Can't harm on podman, but yes we could make it conditional

Since uyuniadm install embeds all the logic to setup a containerized
server use it to setup both k3s and podman containers.
@cbosdo cbosdo merged commit 5696978 into uyuni-project:master Aug 2, 2023
2 checks passed
@cbosdo cbosdo deleted the uyuniadm branch August 2, 2023 08:30
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.

3 participants