rancher / rancher-docs

Rancher Documentation
https://ranchermanager.docs.rancher.com/
Apache License 2.0
59 stars 204 forks source link

[Rancher2] Document file naming requirements for manifests #102

Open dkeightley opened 3 years ago

dkeightley commented 3 years ago

Request Summary: Document the requirements of HelmChart, HelmChartConfig and manifest files to avoid confusion in logs.

Details: For eg, a filename with underscores will produce errors: level=error msg="Failed to process config: failed to process /var/lib/rancher/rke2/server/manifests/rke2_ingress_daemonset.yaml: Addon.k3s.cattle.io \"rke2_ingress_daemonset\" is invalid: metadata.name: Invalid value: \"rke2_ingress_daemonset\": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')"

github-actions[bot] commented 1 year ago

This repository uses an automated workflow to automatically label issues which have not had any activity (commit/comment/label) for 90 days. This helps us manage the community issues better. If the issue is still relevant, please add a comment to the issue so the workflow can remove the label and we know it is still valid. If it is no longer relevant (or possibly fixed in the latest release), the workflow will automatically close the issue in 30 days. Thank you for your contributions.