_helpers.tpl 357 B

123456789101112131415
  1. {{/* vim: set filetype=mustache: */}}
  2. {{/*
  3. 应用名
  4. */}}
  5. {{- define "admin.appname" -}}
  6. {{- .Release.Name | trunc 63 | trimSuffix "-" -}}
  7. {{- end -}}
  8. {{/*
  9. Create chart name and version as used by the chart label.
  10. */}}
  11. {{- define "admin.chart" -}}
  12. {{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
  13. {{- end -}}