uyuni-project / uyuni-tools

Tools to work with containerized Uyuni server
Apache License 2.0
13 stars 14 forks source link

Make k8s always enabled when using mgrpxy #369

Closed aaannz closed 2 weeks ago

aaannz commented 2 weeks ago

What does this PR change?

Proxy officially supports k8s, but some of our shared libs where checking settings meant for server and thus breaking k8s detection on the proxy. This commit uses args[0] to workaround this.

Test coverage

Links

Issue(s): none

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:

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!