blob: f55e3be59ea030e72c382ad6678a647b4b70a449 [file] [log] [blame]
Zack Williams3432b942018-04-24 17:46:41 -07001{{- /*
2Copyright 2017-present Open Networking Foundation
Gopinath Tagetb6a79b12018-03-08 17:27:37 -08003
Zack Williams3432b942018-04-24 17:46:41 -07004Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
Gopinath Tagetb6a79b12018-03-08 17:27:37 -08007
Zack Williams3432b942018-04-24 17:46:41 -07008http://www.apache.org/licenses/LICENSE-2.0
Gopinath Tagetb6a79b12018-03-08 17:27:37 -08009
Zack Williams3432b942018-04-24 17:46:41 -070010Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/ -}}
Gopinath Tagetb6a79b12018-03-08 17:27:37 -080016
Gopinath Taget9b609e02018-03-07 16:02:50 -080017{{- define "xos-core.release_labels" }}
18app: {{ printf "%s-%s" .Release.Name .Chart.Name | trunc 63 }}
Zack Williams3432b942018-04-24 17:46:41 -070019chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
Gopinath Taget9b609e02018-03-07 16:02:50 -080020release: {{ .Release.Name }}
Zack Williams3432b942018-04-24 17:46:41 -070021heritage: {{ .Release.Service }}
22version: {{ .Chart.Version }}
Gopinath Taget9b609e02018-03-07 16:02:50 -080023{{- end }}
Zack Williams3432b942018-04-24 17:46:41 -070024