From 5368d7df0424986d9d32141200302b902039e84d Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Sat, 23 May 2020 15:42:14 +0200 Subject: [PATCH] helm lint --strict - almost there --- jupyterhub/templates/_helpers.tpl | 15 +++--- jupyterhub/templates/hub/deployment.yaml | 36 +++----------- .../hub/image-credentials-secret.yaml | 2 +- jupyterhub/templates/hub/netpol.yaml | 4 +- jupyterhub/templates/hub/secret.yaml | 4 +- jupyterhub/templates/hub/service.yaml | 12 ++--- .../image-puller/_daemonset-helper.yaml | 8 ++-- .../templates/image-puller/daemonset.yaml | 4 +- .../templates/proxy/autohttps/service.yaml | 2 +- jupyterhub/templates/proxy/deployment.yaml | 6 +-- jupyterhub/templates/proxy/netpol.yaml | 4 +- jupyterhub/templates/proxy/service.yaml | 4 +- .../templates/scheduling/priorityclass.yaml | 2 +- .../scheduling/user-scheduler/rbac.yaml | 6 +-- .../singleuser/image-credentials-secret.yaml | 4 +- jupyterhub/templates/singleuser/netpol.yaml | 4 +- jupyterhub/values.yaml | 47 +++++++++++++------ 17 files changed, 76 insertions(+), 88 deletions(-) diff --git a/jupyterhub/templates/_helpers.tpl b/jupyterhub/templates/_helpers.tpl index bdc8f95d52..7762225131 100644 --- a/jupyterhub/templates/_helpers.tpl +++ b/jupyterhub/templates/_helpers.tpl @@ -91,7 +91,6 @@ {{ .Values.nameOverride | default .Chart.Name | trunc 63 | trimSuffix "-" }} {{- end }} - {{- /* jupyterhub.componentLabel: Used by "jupyterhub.labels" and "jupyterhub.nameField". @@ -105,8 +104,8 @@ {{- define "jupyterhub.componentLabel" -}} {{- $file := .Template.Name | base | trimSuffix ".yaml" -}} {{- $parent := .Template.Name | dir | base | trimPrefix "templates" -}} -{{- $component := .componentLabel | default $parent | default $file -}} -{{- $component := print (.componentPrefix | default "") $component (.componentSuffix | default "") -}} +{{- $component := .Values.componentLabel | default $parent | default $file -}} +{{- $component := print .Values.componentPrefix $component .Values.componentSuffix -}} {{ $component }} {{- end }} @@ -122,7 +121,7 @@ .Values to allow for multiple deployments within a single namespace. */}} {{- define "jupyterhub.nameField" -}} -{{- $name := print (.namePrefix | default "") (include "jupyterhub.componentLabel" .) (.nameSuffix | default "") -}} +{{- $name := print .Values.namePrefix (include "jupyterhub.componentLabel" .) .Values.nameSuffix -}} {{ printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} {{- end }} @@ -133,11 +132,11 @@ Provides labels: app, release, (chart and heritage). */}} {{- define "jupyterhub.commonLabels" -}} -app: {{ .appLabel | default (include "jupyterhub.appLabel" .) }} +app: {{ .Values.appLabel | default (include "jupyterhub.appLabel" .) }} release: {{ .Release.Name }} -{{- if not .matchLabels }} +{{- if not .Values.matchLabels }} chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} -heritage: {{ .heritageLabel | default .Release.Service }} +heritage: {{ .Values.heritageLabel | default .Release.Service }} {{- end }} {{- end }} @@ -157,7 +156,7 @@ component: {{ include "jupyterhub.componentLabel" . }} Used to provide pod selection labels: component, app, release. */}} {{- define "jupyterhub.matchLabels" -}} -{{- $_ := merge (dict "matchLabels" true) . -}} +{{- $_ := merge (dict "Values" (dict "matchLabels" true)) . -}} {{ include "jupyterhub.labels" $_ }} {{- end }} diff --git a/jupyterhub/templates/hub/deployment.yaml b/jupyterhub/templates/hub/deployment.yaml index 5e1a1df872..e27becfdce 100644 --- a/jupyterhub/templates/hub/deployment.yaml +++ b/jupyterhub/templates/hub/deployment.yaml @@ -41,11 +41,7 @@ spec: name: hub-config - name: secret secret: - {{- if .Values.hub.existingSecret }} - secretName: {{ .Values.hub.existingSecret }} - {{- else }} - secretName: hub-secret - {{- end }} + secretName: {{ .Values.hub.existingSecret | default "hub-secret" }} {{- if .Values.hub.extraVolumes }} {{- .Values.hub.extraVolumes | toYaml | trimSuffix "\n" | nindent 8 }} {{- end }} @@ -145,11 +141,7 @@ spec: - name: JPY_COOKIE_SECRET valueFrom: secretKeyRef: - {{- if .Values.hub.existingSecret }} - name: {{ .Values.hub.existingSecret }} - {{- else }} - name: hub-secret - {{- end }} + name: {{ .Values.hub.existingSecret | default "hub-secret" }} key: hub.cookie-secret {{- end }} - name: POD_NAMESPACE @@ -159,21 +151,13 @@ spec: - name: CONFIGPROXY_AUTH_TOKEN valueFrom: secretKeyRef: - {{- if .Values.hub.existingSecret }} - name: {{ .Values.hub.existingSecret }} - {{- else }} - name: hub-secret - {{- end }} + name: {{ .Values.hub.existingSecret | default "hub-secret" }} key: proxy.token {{- if .Values.auth.state.enabled }} - name: JUPYTERHUB_CRYPT_KEY valueFrom: secretKeyRef: - {{- if .Values.hub.existingSecret }} - name: {{ .Values.hub.existingSecret }} - {{- else }} - name: hub-secret - {{- end }} + name: {{ .Values.hub.existingSecret | default "hub-secret" }} key: auth.state.crypto-key {{- end }} {{- if .Values.hub.db.password }} @@ -181,21 +165,13 @@ spec: - name: MYSQL_PWD valueFrom: secretKeyRef: - {{- if .Values.hub.existingSecret }} - name: {{ .Values.hub.existingSecret }} - {{- else }} - name: hub-secret - {{- end }} + name: {{ .Values.hub.existingSecret | default "hub-secret" }} key: hub.db.password {{- else if eq .Values.hub.db.type "postgres" }} - name: PGPASSWORD valueFrom: secretKeyRef: - {{- if .Values.hub.existingSecret }} - name: {{ .Values.hub.existingSecret }} - {{- else }} - name: hub-secret - {{- end }} + name: {{ .Values.hub.existingSecret | default "hub-secret" }} key: hub.db.password {{- end }} {{- end }} diff --git a/jupyterhub/templates/hub/image-credentials-secret.yaml b/jupyterhub/templates/hub/image-credentials-secret.yaml index edafcd489a..3c50cf328a 100644 --- a/jupyterhub/templates/hub/image-credentials-secret.yaml +++ b/jupyterhub/templates/hub/image-credentials-secret.yaml @@ -4,7 +4,7 @@ apiVersion: v1 metadata: name: hub-image-credentials labels: - {{- $_ := merge (dict "componentSuffix" "-image-credentials") . }} + {{- $_ := merge (dict "Values" (dict "componentSuffix" "-image-credentials")) . }} {{- include "jupyterhub.labels" $_ | nindent 4 }} type: kubernetes.io/dockerconfigjson data: diff --git a/jupyterhub/templates/hub/netpol.yaml b/jupyterhub/templates/hub/netpol.yaml index bb4e419903..8342465d4a 100644 --- a/jupyterhub/templates/hub/netpol.yaml +++ b/jupyterhub/templates/hub/netpol.yaml @@ -34,7 +34,7 @@ spec: to: - podSelector: matchLabels: - {{- $_ := merge (dict "componentLabel" "proxy") . }} + {{- $_ := merge (dict "Values" (dict "componentLabel" "proxy")) . }} {{- include "jupyterhub.matchLabels" $_ | nindent 14 }} # hub --> singleuser-server - ports: @@ -42,7 +42,7 @@ spec: to: - podSelector: matchLabels: - {{- $_ := merge (dict "componentLabel" "singleuser-server") . }} + {{- $_ := merge (dict "Values" (dict "componentLabel" "singleuser-server")) . }} {{- include "jupyterhub.matchLabels" $_ | nindent 14 }} # hub -> Kubernetes internal DNS diff --git a/jupyterhub/templates/hub/secret.yaml b/jupyterhub/templates/hub/secret.yaml index 2520698d52..b04c94212a 100644 --- a/jupyterhub/templates/hub/secret.yaml +++ b/jupyterhub/templates/hub/secret.yaml @@ -11,11 +11,11 @@ data: {{- if .Values.hub.cookieSecret }} hub.cookie-secret: {{ .Values.hub.cookieSecret | b64enc | quote }} {{- end }} - {{- if .Values.hub.db.password }} + {{- with .Values.hub.db.password }} hub.db.password: {{ .Values.hub.db.password | b64enc | quote }} {{- end }} {{- if .Values.auth.state.enabled }} - auth.state.crypto-key: {{ (required "Encryption key is required for auth state to be persisted!" .Values.auth.state.cryptoKey) | b64enc | quote }} + auth.state.crypto-key: {{ .Values.auth.state.cryptoKey | required "Encryption key is required for auth state to be persisted!" | b64enc | quote }} {{- end }} {{- $values := dict "hub" dict }} {{- /* pluck only needed secret values, preserving values.yaml structure */ -}} diff --git a/jupyterhub/templates/hub/service.yaml b/jupyterhub/templates/hub/service.yaml index 38c56273bb..34470b6b0f 100644 --- a/jupyterhub/templates/hub/service.yaml +++ b/jupyterhub/templates/hub/service.yaml @@ -11,19 +11,19 @@ metadata: {{- if not (index .Values.hub.service.annotations "prometheus.io/path") }} prometheus.io/path: {{ .Values.hub.baseUrl }}hub/metrics {{- end }} - {{- if .Values.hub.service.annotations }} - {{- .Values.hub.service.annotations | toYaml | nindent 4 }} + {{- with .Values.hub.service.annotations }} + {{- . | toYaml | nindent 4 }} {{- end }} spec: type: {{ .Values.hub.service.type }} - {{- if .Values.hub.service.loadBalancerIP }} - loadBalancerIP: {{ .Values.hub.service.loadBalancerIP }} + {{- with .Values.hub.service.loadBalancerIP }} + loadBalancerIP: {{ . }} {{- end }} selector: {{- include "jupyterhub.matchLabels" . | nindent 4 }} ports: - port: 8081 targetPort: http - {{- if .Values.hub.service.ports.nodePort }} - nodePort: {{ .Values.hub.service.ports.nodePort }} + {{- with .Values.hub.service.ports.nodePort }} + nodePort: {{ . }} {{- end }} diff --git a/jupyterhub/templates/image-puller/_daemonset-helper.yaml b/jupyterhub/templates/image-puller/_daemonset-helper.yaml index 91fe5d605e..e7205c1355 100644 --- a/jupyterhub/templates/image-puller/_daemonset-helper.yaml +++ b/jupyterhub/templates/image-puller/_daemonset-helper.yaml @@ -7,13 +7,13 @@ Returns an image-puller daemonset. Two daemonsets will be created like this. apiVersion: apps/v1 kind: DaemonSet metadata: - name: {{ print .componentPrefix "image-puller" }} + name: {{ print .Values.componentPrefix "image-puller" }} labels: {{- include "jupyterhub.labels" . | nindent 4 }} - {{- if .hook }} + {{- if .Values.hook }} hub.jupyter.org/deletable: "true" {{- end }} - {{- if .hook }} + {{- if .Values.hook }} annotations: {{- /* Allows the daemonset to be deleted when the image-awaiter job is completed. @@ -51,7 +51,7 @@ spec: {{- if or .Values.singleuser.imagePullSecret.enabled .Values.singleuser.image.pullSecrets }} imagePullSecrets: {{- if .Values.singleuser.imagePullSecret.enabled }} - - name: {{ if .hook -}} hook- {{- end -}} singleuser-image-credentials + - name: {{ if .Values.hook -}} hook- {{- end -}} singleuser-image-credentials {{ else }} {{- range .Values.singleuser.image.pullSecrets }} - name: {{ . }} diff --git a/jupyterhub/templates/image-puller/daemonset.yaml b/jupyterhub/templates/image-puller/daemonset.yaml index 190e4f6db9..3f8d6900b4 100644 --- a/jupyterhub/templates/image-puller/daemonset.yaml +++ b/jupyterhub/templates/image-puller/daemonset.yaml @@ -5,7 +5,7 @@ image-awaiter job confirms the required images to be pulled, the daemonset is deleted. Only then will the actual helm upgrade start. */}} {{- if .Values.prePuller.hook.enabled }} -{{- $_ := merge (dict "hook" true "componentPrefix" "hook-") . }} +{{- $_ := merge (dict "Values" (dict "hook" true "componentPrefix" "hook-")) . }} {{- include "jupyterhub.imagePuller.daemonset" $_ }} {{- end }} --- @@ -15,6 +15,6 @@ that are added in between helm upgrades, for example by manually adding a node or by the cluster autoscaler. */}} {{- if .Values.prePuller.continuous.enabled }} -{{- $_ := merge (dict "hook" false "componentPrefix" "continuous-") . }} +{{- $_ := merge (dict "Values" (dict "hook" false "componentPrefix" "continuous-")) . }} {{ include "jupyterhub.imagePuller.daemonset" $_ }} {{- end }} diff --git a/jupyterhub/templates/proxy/autohttps/service.yaml b/jupyterhub/templates/proxy/autohttps/service.yaml index 6884f1c446..c1d1963d54 100644 --- a/jupyterhub/templates/proxy/autohttps/service.yaml +++ b/jupyterhub/templates/proxy/autohttps/service.yaml @@ -14,7 +14,7 @@ metadata: spec: type: ClusterIP selector: - {{- $_ := merge (dict "componentLabel" "proxy") . }} + {{- $_ := merge (dict "Values" (dict "componentLabel" "proxy")) . }} {{- include "jupyterhub.matchLabels" $_ | nindent 4 }} ports: - port: 8000 diff --git a/jupyterhub/templates/proxy/deployment.yaml b/jupyterhub/templates/proxy/deployment.yaml index 3f6102d96e..d394ec65b3 100644 --- a/jupyterhub/templates/proxy/deployment.yaml +++ b/jupyterhub/templates/proxy/deployment.yaml @@ -91,11 +91,7 @@ spec: - name: CONFIGPROXY_AUTH_TOKEN valueFrom: secretKeyRef: - {{- if .Values.hub.existingSecret }} - name: {{ .Values.hub.existingSecret }} - {{- else }} - name: hub-secret - {{- end }} + name: {{ .Values.hub.existingSecret | default "hub-secret" }} key: proxy.token {{- with .Values.proxy.chp.image.pullPolicy }} imagePullPolicy: {{ . }} diff --git a/jupyterhub/templates/proxy/netpol.yaml b/jupyterhub/templates/proxy/netpol.yaml index 855d0cc89e..0460b0454a 100644 --- a/jupyterhub/templates/proxy/netpol.yaml +++ b/jupyterhub/templates/proxy/netpol.yaml @@ -49,7 +49,7 @@ spec: to: - podSelector: matchLabels: - {{- $_ := merge (dict "componentLabel" "hub") . }} + {{- $_ := merge (dict "Values" (dict "componentLabel" "hub")) . }} {{- include "jupyterhub.matchLabels" $_ | nindent 14 }} # proxy --> singleuser-server @@ -58,7 +58,7 @@ spec: to: - podSelector: matchLabels: - {{- $_ := merge (dict "componentLabel" "singleuser-server") . }} + {{- $_ := merge (dict "Values" (dict "componentLabel" "singleuser-server")) . }} {{- include "jupyterhub.matchLabels" $_ | nindent 14 }} # proxy -> Kubernetes internal DNS diff --git a/jupyterhub/templates/proxy/service.yaml b/jupyterhub/templates/proxy/service.yaml index ffa5aa71bb..7d067452e4 100644 --- a/jupyterhub/templates/proxy/service.yaml +++ b/jupyterhub/templates/proxy/service.yaml @@ -8,7 +8,7 @@ kind: Service metadata: name: proxy-api labels: - {{- $_ := merge (dict "componentSuffix" "-api") . }} + {{- $_ := merge (dict "Values" (dict "componentSuffix" "-api")) . }} {{- include "jupyterhub.labels" $_ | nindent 4 }} spec: selector: @@ -22,7 +22,7 @@ kind: Service metadata: name: proxy-public labels: - {{- $_ := merge (dict "componentSuffix" "-public") . }} + {{- $_ := merge (dict "Values" (dict "componentSuffix" "-public")) . }} {{- include "jupyterhub.labels" $_ | nindent 4 }} {{- if .Values.proxy.service.labels }} {{- .Values.proxy.service.labels | toYaml | trimSuffix "\n" | nindent 4 }} diff --git a/jupyterhub/templates/scheduling/priorityclass.yaml b/jupyterhub/templates/scheduling/priorityclass.yaml index fd026e1b7d..b7b519a84e 100644 --- a/jupyterhub/templates/scheduling/priorityclass.yaml +++ b/jupyterhub/templates/scheduling/priorityclass.yaml @@ -4,7 +4,7 @@ kind: PriorityClass metadata: name: {{ .Release.Name }}-default-priority labels: - {{- $_ := merge (dict "componentLabel" "default-priority") . }} + {{- $_ := merge (dict "Values" (dict "componentLabel" "default-priority")) . }} {{- include "jupyterhub.labels" $_ | nindent 4 }} annotations: # PriorityClasses must be added before the other resources reference them. diff --git a/jupyterhub/templates/scheduling/user-scheduler/rbac.yaml b/jupyterhub/templates/scheduling/user-scheduler/rbac.yaml index f03ad4846d..85908f94b5 100644 --- a/jupyterhub/templates/scheduling/user-scheduler/rbac.yaml +++ b/jupyterhub/templates/scheduling/user-scheduler/rbac.yaml @@ -12,7 +12,7 @@ apiVersion: rbac.authorization.k8s.io/v1 metadata: name: {{ .Release.Name }}-user-scheduler-base labels: - {{- $_ := merge (dict "componentSuffix" "-base") . }} + {{- $_ := merge (dict "Values" (dict "componentSuffix" "-base")) . }} {{- include "jupyterhub.labels" $_ | nindent 4 }} subjects: - kind: ServiceAccount @@ -28,7 +28,7 @@ apiVersion: rbac.authorization.k8s.io/v1 metadata: name: {{ .Release.Name }}-user-scheduler-complementary labels: - {{- $_ := merge (dict "componentSuffix" "-complementary") . }} + {{- $_ := merge (dict "Values" (dict "componentSuffix" "-complementary")) . }} {{- include "jupyterhub.labels" $_ | nindent 4 }} rules: # Support leader elections @@ -50,7 +50,7 @@ apiVersion: rbac.authorization.k8s.io/v1 metadata: name: {{ .Release.Name }}-user-scheduler-complementary labels: - {{- $_ := merge (dict "componentSuffix" "-complementary") . }} + {{- $_ := merge (dict "Values" (dict "componentSuffix" "-complementary")) . }} {{- include "jupyterhub.labels" $_ | nindent 4 }} subjects: - kind: ServiceAccount diff --git a/jupyterhub/templates/singleuser/image-credentials-secret.yaml b/jupyterhub/templates/singleuser/image-credentials-secret.yaml index 342f16ca73..fe43bfc90c 100644 --- a/jupyterhub/templates/singleuser/image-credentials-secret.yaml +++ b/jupyterhub/templates/singleuser/image-credentials-secret.yaml @@ -4,7 +4,7 @@ apiVersion: v1 metadata: name: singleuser-image-credentials labels: - {{- $_ := merge (dict "componentSuffix" "-image-credentials") . }} + {{- $_ := merge (dict "Values" (dict "componentSuffix" "-image-credentials")) . }} {{- include "jupyterhub.labels" $_ | nindent 4 }} type: kubernetes.io/dockerconfigjson data: @@ -16,7 +16,7 @@ apiVersion: v1 metadata: name: hook-singleuser-image-credentials labels: - {{- $_ := merge (dict "componentPrefix" "hook-" "componentSuffix" "-image-credentials") . }} + {{- $_ := merge (dict "Values" (dict "componentPrefix" "hook-" "componentSuffix" "-image-credentials")) . }} {{- include "jupyterhub.labels" $_ | nindent 4 }} hub.jupyter.org/deletable: "true" annotations: diff --git a/jupyterhub/templates/singleuser/netpol.yaml b/jupyterhub/templates/singleuser/netpol.yaml index f106aa5919..55c9a94faf 100644 --- a/jupyterhub/templates/singleuser/netpol.yaml +++ b/jupyterhub/templates/singleuser/netpol.yaml @@ -8,7 +8,7 @@ metadata: spec: podSelector: matchLabels: - {{- $_ := merge (dict "componentLabel" "singleuser-server") . }} + {{- $_ := merge (dict "Values" (dict "componentLabel" "singleuser-server")) . }} {{- include "jupyterhub.matchLabels" $_ | nindent 6 }} policyTypes: - Ingress @@ -35,7 +35,7 @@ spec: to: - podSelector: matchLabels: - {{- $_ := merge (dict "componentLabel" "hub") . }} + {{- $_ := merge (dict "Values" (dict "componentLabel" "hub")) . }} {{- include "jupyterhub.matchLabels" $_ | nindent 14 }} # singleuser-server -> Kubernetes internal DNS diff --git a/jupyterhub/values.yaml b/jupyterhub/values.yaml index d26741094a..e227833f95 100644 --- a/jupyterhub/values.yaml +++ b/jupyterhub/values.yaml @@ -5,8 +5,8 @@ hub: type: ClusterIP annotations: {} ports: - nodePort: - loadBalancerIP: + nodePort: 0 + loadBalancerIP: "" baseUrl: / cookieSecret: publicURL: @@ -27,7 +27,7 @@ hub: type: Recreate db: type: sqlite-pvc - upgrade: + upgrade: false pvc: annotations: {} selector: {} @@ -37,7 +37,7 @@ hub: subPath: storageClassName: url: - password: + password: "" labels: {} annotations: {} extraConfig: {} @@ -49,8 +49,8 @@ hub: image: name: jupyterhub/k8s-hub tag: 'set-by-chartpress' - # pullSecrets: - # - secretName + pullPolicy: "" + pullSecrets: [] resources: requests: cpu: 200m @@ -93,7 +93,7 @@ hub: enabled: true initialDelaySeconds: 0 periodSeconds: 2 - # existingSecret: existing-secret + existingSecret: "" rbac: enabled: true @@ -101,6 +101,7 @@ rbac: proxy: secretToken: '' + annotations: {} deploymentStrategy: ## type: Recreate ## - JupyterHub's interaction with the CHP proxy becomes a lot more robust @@ -134,12 +135,13 @@ proxy: nodePorts: http: https: - loadBalancerIP: + loadBalancerIP: "" loadBalancerSourceRanges: [] chp: image: name: jupyterhub/configurable-http-proxy tag: 4.2.1 + pullPolicy: "" livenessProbe: enabled: true initialDelaySeconds: 60 @@ -156,6 +158,7 @@ proxy: image: name: traefik tag: v2.2 # ref: https://hub.docker.com/_/traefik?tab=tags + pullPolicy: "" hsts: includeSubdomains: false preload: false @@ -167,6 +170,7 @@ proxy: image: name: jupyterhub/k8s-secret-sync tag: 'set-by-chartpress' + pullPolicy: "" resources: {} labels: {} nodeSelector: {} @@ -214,7 +218,7 @@ auth: user: {} state: enabled: false - cryptoKey: + cryptoKey: "" singleuser: @@ -233,6 +237,7 @@ singleuser: image: name: jupyterhub/k8s-network-tools tag: 'set-by-chartpress' + pullPolicy: "" cloudMetadata: enabled: false ip: 169.254.169.254 @@ -275,9 +280,8 @@ singleuser: image: name: jupyterhub/k8s-singleuser-sample tag: 'set-by-chartpress' - pullPolicy: IfNotPresent - # pullSecrets: - # - secretName + pullPolicy: "" + pullSecrets: [] imagePullSecret: enabled: false registry: @@ -286,10 +290,10 @@ singleuser: password: startTimeout: 300 cpu: - limit: - guarantee: + limit: "" + guarantee: "" memory: - limit: + limit: "" guarantee: 1G extraResource: limits: {} @@ -297,6 +301,7 @@ singleuser: cmd: jupyterhub-singleuser defaultUrl: extraPodConfig: {} + profileList: [] scheduling: @@ -375,3 +380,15 @@ cull: debug: enabled: false + +# default values are set to please helm lint --strict, +# but they will be overridden internally in various helm templates +appLabel: "" # defaults to nameOverride +nameOverride: "" # defaults to .Chart.Name +namePrefix: "" # not used, part of unused jupyterhub.nameField template +nameSuffix: "" # not used, part of unused jupyterhub.nameField template +componentLabel: "" # defaults to containing folder name or template filename +componentPrefix: "" # prefix componentLabel +componentSuffix: "" # suffix componentLabel +heritageLabel: "" # defaults to .Release.Service +matchLabels: false