From c80a19fa39eec9649630aebe1b1aab871264dc5e Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Sun, 9 Jan 2022 18:33:38 +0200 Subject: [PATCH] chore(templates): Adds description for CPU and RAM (#1669) * chore(templates): Adds description for CPU and RAM Also remove memory as its redundant and capitalize a label * Update templates/questions/resources.yaml Co-authored-by: Kjeld Schouten-Lebbing --- templates/questions/resources.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/templates/questions/resources.yaml b/templates/questions/resources.yaml index 1ecf4c04584..2a2333aaf0a 100644 --- a/templates/questions/resources.yaml +++ b/templates/questions/resources.yaml @@ -19,29 +19,33 @@ attrs: - variable: cpu label: "CPU" + description: "1000m means 1 hyperthread. Detailed info: https://truecharts.org/manual/indepth/validation/" schema: type: string default: "4000m" valid_chars: '^(?!^0(\.0|m|)$)([0-9]+)(\.[0-9]|m?)$' - variable: memory - label: "Memory RAM" + label: "RAM" + description: "1Gi means 1 Gibibyte RAM. Detailed info: https://truecharts.org/manual/indepth/validation/" schema: type: string default: "8Gi" valid_chars: '^(?!^0(e[0-9]|[EPTGMK]i?|)$)([0-9]+)(|[EPTGMK]i?|e[0-9]+)$' - variable: requests - label: "Advanced Request minimum resources required" + label: "Minimum Resources Required (request)" schema: type: dict attrs: - variable: cpu label: "CPU" + description: "1000m means 1 hyperthread. Detailed info: https://truecharts.org/manual/indepth/validation/" schema: type: string default: "10m" valid_chars: '^(?!^0(\.0|m|)$)([0-9]+)(\.[0-9]|m?)$' - variable: memory - label: "Memory RAM" + label: "RAM" + description: "1Gi means 1 Gibibyte RAM. Detailed info: https://truecharts.org/manual/indepth/validation/" schema: type: string default: "50Mi"