You've already forked athens-proxy-charts
f760568ac5
Generate README / generate-parameters (push) Failing after 39s
Helm / helm-lint (push) Successful in 14s
Helm / helm-unittest (push) Successful in 28s
Markdown linter / markdown-link-checker (push) Successful in 45s
Markdown linter / markdown-lint (push) Successful in 33s
30 lines
755 B
Smarty
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 -}}
|