Files
athens-proxy-charts/templates/_services.tpl
T
volker.raschek dbe754df4e
Helm / helm-lint (push) Successful in 12s
Helm / helm-unittest (push) Successful in 28s
Release / publish-chart (push) Successful in 2m21s
fix: avoid mixing singular and plural naming conventions
2026-05-31 21:01:15 +02:00

30 lines
755 B
Smarty

{{/* vim: set filetype=mustache: */}}
{{/* annotations */}}
{{- define "athens-proxy.service.annotations" -}}
{{ include "athens-proxy.annotations" . }}
{{- if .Values.service.annotations }}
{{ toYaml .Values.service.annotations }}
{{- end }}
{{- end }}
{{/* labels */}}
{{- define "athens-proxy.service.labels" -}}
{{ include "athens-proxy.labels" . }}
{{/* Add label to select the correct service via `selector.matchLabels` of the serviceMonitor resource. */}}
app.kubernetes.io/service-name: http
{{- if .Values.service.labels }}
{{ toYaml .Values.service.labels }}
{{- end }}
{{- end }}
{{/* names */}}
{{- define "athens-proxy.service.name" -}}
{{- if .Values.service.enabled -}}
{{ include "athens-proxy.fullname" . }}
{{- end -}}
{{- end -}}