Skip to content

Commit 4a536cf

Browse files
authored
Add --set tag={productchartversion} to helm commnands (#5128)
`latest` being the default tag value can lead to troubles, especially on MLM where latest is no longer added to the images. There is a code change to change the default tag to the chart's appVersion but this will be merged for the next releases. In the mean time, document to set the tag value. (bsc#1271902) Uyuni cannot use {productchartversion} as there is no semver2 tag for the images, {productnumber} is the one to use for it.
1 parent 5bf5e62 commit 4a536cf

4 files changed

Lines changed: 9 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
- Add the --set tag parameter to helm install/upgrade commands as a workaround (bsc#1271902)
12
- Removed legacy mgradm and mgrpxy commands
23
- Documented apache2 parameter used for large deployments (bsc#1268673)
34
- Documented Grafana reporting database automated setup and Hub Overview in Administration and Specialized Guides

en/modules/specialized-guides/pages/kubernetes-guide/proxy-kubernetes-deployment.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,8 @@ helm install smlm-proxy \
427427
--set-file global.config=path/to/config.yaml \
428428
--set-file global.ssh=path/to/ssh.yaml \
429429
--set-file global.httpd=path/to/httpd.yaml \
430+
--set tag={productchartversion} \
431+
--version {productchartversion}
430432
----
431433
endif::[]
432434

@@ -442,6 +444,8 @@ helm install uyuni-proxy \
442444
--set-file global.config=path/to/config.yaml \
443445
--set-file global.ssh=path/to/ssh.yaml \
444446
--set-file global.httpd=path/to/httpd.yaml \
447+
--set tag={productnumber} \
448+
--version {productchartversion}
445449
----
446450
endif::[]
447451

en/modules/specialized-guides/pages/kubernetes-guide/proxy-kubernetes-upgrade.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ ifeval::[{mlm-content} == true]
2323
helm upgrade uyuni-proxy \
2424
oci://registry.suse.com/suse/multi-linux-manager/{productnumber}/proxy-helm \
2525
--version {productchartversion} \
26+
--set tag={productchartversion} \
2627
--namespace uyuni-proxy \
2728
--reuse-values
2829
----
@@ -38,6 +39,7 @@ ifeval::[{uyuni-content} == true]
3839
helm upgrade uyuni-proxy \
3940
oci://registry.opensuse.org/uyuni/proxy-helm \
4041
--version {productchartversion} \
42+
--set tag={productnumber} \
4143
--namespace uyuni-proxy \
4244
--reuse-values
4345
----

en/modules/specialized-guides/pages/kubernetes-guide/server-kubernetes-deployment.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,7 @@ helm install smlm-server \
680680
--set "global.fqdn=the.server.fqdn" \
681681
--set "registrySecret=scc-credentials" \
682682
--set "repository=registry.suse.com/suse/multi-linux-manager/5.2/$ARCH$/"
683+
--set tag={productchartversion} \
683684
--version {productchartversion}
684685
----
685686
endif::[]
@@ -692,6 +693,7 @@ helm install uyuni-server \
692693
-n $NAMESPACE \
693694
--description "Server installation" \
694695
--set "global.fqdn=the.server.fqdn" \
696+
--set tag={productnumber} \
695697
--version {productchartversion}
696698
----
697699
endif::[]

0 commit comments

Comments
 (0)