Bugzilla – Bug 1216820
[doc] Issue in "The values.yaml file"
Last modified: 2024-02-06 15:08:00 UTC
The values.yaml file: https://documentation.suse.com/sles/15-SP4/html/SLES-all/cha-rmt-installation.html#sec-rmt-deploy-kubernetes-values --- # 1. The example yaml-file syntax is incorrect when it comes to the ingress part. Your example: 8<--- ingress: enabled: true hosts: - host: chart-example.local paths: - path: "/" pathType: Prefix tls: secretName: rmt-cert hosts: - chart-example.local 8<--- "hosts" and "tls" are part of the "ingress" definition and must be indented. Also "tls" supports multiple instances if "secretName", i.e., it should be preceded with "- ". This is an example it the "ingress" part of the yaml file that works as expected: 8<-- ingress: enabled: true hosts: - host: chart-example.local paths: - path: "/" pathType: Prefix tls: - secretName: rmt-cert hosts: - chart-example.local 8<--- --- # 2. Faulty documentation regarding the SUSE RMT server: The RMT server, as deployed using the Helm chart does not support navigating through the directory structure using a web-browser as described here: https://documentation.suse.com/sles/15-SP4/html/SLES-all/cha-rmt-client.html#rmt-client-custom-repo "Navigate the browser through the directory structure to your custom repository's repodata/ subdirectory." --- Please update the erroneous docs, and please implement directory browsing in the RMT server. Best regards, /Kristofer Lundgren
Thank you for reporting this bug! It is being tracked and processed as part of our queue.
(In reply to Kristofer Lundgren from comment #0) > The values.yaml file: > > https://documentation.suse.com/sles/15-SP4/html/SLES-all/cha-rmt- > installation.html#sec-rmt-deploy-kubernetes-values > > --- > > # 1. The example yaml-file syntax is incorrect when it comes to the ingress > part. > > Your example: > 8<--- > ingress: > enabled: true > hosts: > - host: chart-example.local > paths: > - path: "/" > pathType: Prefix > tls: > secretName: rmt-cert > hosts: > - chart-example.local > 8<--- > > "hosts" and "tls" are part of the "ingress" definition and must be indented. > Also "tls" supports multiple instances if "secretName", i.e., it should be > preceded with "- ". > > This is an example it the "ingress" part of the yaml file that works as > expected: > > 8<-- > ingress: > enabled: true > hosts: > - host: chart-example.local > paths: > - path: "/" > pathType: Prefix > tls: > - secretName: rmt-cert > hosts: > - chart-example.local > 8<--- I've checked it and the online version is the meantime in sync with what you've suggested here
Hi Kristofer, I used the sample snippet given on the docs and everything seems to work out of the box. I don't know where you get the indentation issue but the docs seems perfectly self contained. As for walking the mirrored directory via a web ui, it's dependent on the ingress networking you've set up. Please check if the FQDN is right and ensure your load balancers can route to the ingress controller. Best, Natnael Getahun
Hi Natnael, The documentation regarding the values.yaml file was fixed here: - https://bugzilla.suse.com/show_bug.cgi?id=1216193 I created a separate ticket regarding the SUSE RMT Helm chart web browser issue here: - https://bugzilla.suse.com/show_bug.cgi?id=1216821 You may close this ticket and focus on 1216821. (The ingress is properly configured (I can download individual files) but the RMT server does not support directory browsing.)
*** Bug 1216821 has been marked as a duplicate of this bug. ***
marking as duplicate *** This bug has been marked as a duplicate of bug 1216821 ***