blob: ce970776c1fd365530197e15f800367657777ea0 [file] [log] [blame]
Yi Tseng17657892021-10-11 16:04:59 -07001{{- /*
2
3# Copyright 2020-present Open Networking Foundation
4#
Charles Chand1b4bf92022-02-02 16:27:10 -08005# SPDX-License-Identifier: Apache-2.0
Yi Tseng17657892021-10-11 16:04:59 -07006
7*/ -}}
8
9{{/*
10Expand the name of the chart.
11*/}}
12{{- define "name" -}}
13{{- default .Chart.Name .Values.nameOverride | trunc 24 | trimSuffix "-" -}}
14{{- end -}}
15
16{{/*
17Create a default fully qualified app name.
18We truncate at 63 chars because some Kubernetes name fields are limited to 63 (by the DNS naming spec).
19*/}}
20{{- define "int-host-reporter.fullname" -}}
21{{- $name := default .Chart.Name .Values.nameOverride -}}
22{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
23{{- end -}}