Shorten RELEASE_NAME to for DNS compliance
What does this MR do?
Trims the RELEASE_NAME variable to 48 30 characters to leave room for any
prefixes / suffixes that may be added in templates. Resulting object names must match DNS Label Names specification of Kubernetes.
This is a bugfix in response to this pipeline error:
Error: Service "rvw-2311-support-migrating-to-praefect-nginx-ingress-controller-metrics" is invalid: metadata.name: Invalid value: "rvw-2311-support-migrating-to-praefect-nginx-ingress-controller-metrics": must be no more than 63 characters
https://gitlab.com/gitlab-org/charts/gitlab/-/jobs/1002734143
Checklist
See Definition of done.
For anything in this list which will not be completed, please provide a reason in the MR discussion.
Required
-
Merge Request Title and Description are up to date, accurate, and descriptive -
MR targeting the appropriate branch -
MR has a green pipeline on GitLab.com
Expected (please provide an explanation if not completing)
-
Test plan indicating conditions for success has been posted and passes -
Documentation created/updated -
Tests added -
Integration tests added to GitLab QA -
Equivalent MR/issue for omnibus-gitlab opened
Edited by Mitchell Nielsen