forked from rook/rook
Replace any invalid characters and ensure length and format for the rook version label, to avoid problems with version strings that contain illegal characters (common characters that aren't valid in labels would be + and ~, for example). Kubernetes label syntax: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set Fixes: #3434 Signed-off-by: Kristoffer Grönlund <kgronlund@suse.com>