_helpers.tpl 509 B

123456789101112131415161718
  1. {{/*
  2. Expand the name of the chart.
  3. */}}
  4. {{- define "arcadis-web.name" -}}
  5. {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
  6. {{- end }}
  7. {{/*
  8. Create a fullname using the release name.
  9. */}}
  10. {{- define "arcadis-web.fullname" -}}
  11. {{- if .Values.fullnameOverride }}
  12. {{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
  13. {{- else }}
  14. {{- $name := default .Chart.Name .Values.nameOverride }}
  15. {{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
  16. {{- end }}
  17. {{- end }}