You've already forked reposilite-charts
Some checks failed
Generate README / generate-parameters (push) Failing after 15s
Helm / helm-lint (push) Successful in 15s
Helm / helm-unittest (push) Successful in 7s
Markdown linter / markdown-lint (push) Successful in 8s
Release / publish-chart (push) Successful in 8s
Markdown linter / markdown-link-checker (push) Successful in 43s
The following patch extends the helm chart of additional init containers for each plugin.
29 lines
826 B
Smarty
29 lines
826 B
Smarty
{{/* vim: set filetype=mustache: */}}
|
|
|
|
{{/* annotations */}}
|
|
|
|
{{- define "reposilite.service.annotations" -}}
|
|
{{ include "reposilite.annotations" . }}
|
|
{{- if .Values.service.annotations }}
|
|
{{ toYaml .Values.service.annotations }}
|
|
{{- end }}
|
|
{{- end }}
|
|
|
|
{{/* labels */}}
|
|
|
|
{{- define "reposilite.service.labels" -}}
|
|
{{ include "reposilite.labels" . }}
|
|
{{- if .Values.service.labels }}
|
|
{{ toYaml .Values.service.labels }}
|
|
{{- end }}
|
|
{{/* Add label to select the correct service via `selector.matchLabels` of the serviceMonitor resource. */}}
|
|
app.kubernetes.io/service-name: {{ required "The scheme of the serviceMonitor is not defined!" .Values.service.scheme }}
|
|
{{- end }}
|
|
|
|
{{/* names */}}
|
|
|
|
{{- define "reposilite.service.name" -}}
|
|
{{- if .Values.service.enabled -}}
|
|
{{ include "reposilite.fullname" . }}
|
|
{{- end -}}
|
|
{{- end -}} |