22 lines
692 B
Smarty
22 lines
692 B
Smarty
{{/* vim: set filetype=mustache: */}}
|
|
{{/*
|
|
Kubernetes standard labels
|
|
*/}}
|
|
{{- define "uavcloud-middleware.mongo.labels.standard" -}}
|
|
cmii.app: {{ .Values.appName }}
|
|
cmii.type: {{ .Values.global.application.type }}
|
|
helm.sh/chart: {{ include "uavcloud-middleware.chart" . }}
|
|
app.kubernetes.io/managed-by: {{ $.Release.Service }}
|
|
{{- if $.Values.global.image.tag }}
|
|
app.kubernetes.io/version: {{ $.Values.global.image.tag | quote }}
|
|
{{- end }}
|
|
{{- end -}}
|
|
|
|
{{/*
|
|
Labels to use on deploy.spec.selector.matchLabels and svc.spec.selector
|
|
*/}}
|
|
{{- define "uavcloud-middleware.mongo.labels.matchLabels" -}}
|
|
cmii.app: {{ .Values.appName }}
|
|
cmii.type: {{ .Values.global.application.type }}
|
|
{{- end -}}
|