fix: add missing selectorlabels for podmonitor and source image tag from chart
This commit is contained in:
parent
ea8eb431f0
commit
477ea20fc8
5 changed files with 21 additions and 4 deletions
|
@ -4,7 +4,7 @@ description: |
|
||||||
ntfy lets you send push notifications to your phone or desktop via scripts from any computer
|
ntfy lets you send push notifications to your phone or desktop via scripts from any computer
|
||||||
appVersion: v2.10.0
|
appVersion: v2.10.0
|
||||||
type: application
|
type: application
|
||||||
version: 0.2.1
|
version: 0.2.2
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Tommy Skaug
|
- name: Tommy Skaug
|
||||||
email: tommy@skaug.me
|
email: tommy@skaug.me
|
||||||
|
|
|
@ -7,6 +7,13 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
|
||||||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
|
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Get the correct image tag name
|
||||||
|
*/}}
|
||||||
|
{{- define "ntfy.imageTag" -}}
|
||||||
|
{{- .Values.image.tag | default (printf "v%s" .Chart.AppVersion) -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
# Define a template for standard labels.
|
# Define a template for standard labels.
|
||||||
{{/*
|
{{/*
|
||||||
Common labels
|
Common labels
|
||||||
|
@ -19,6 +26,14 @@ app.kubernetes.io/version: {{ .Chart.Version | quote }}
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Selector labels
|
||||||
|
*/}}
|
||||||
|
{{- define "ntfy.selectorLabels" -}}
|
||||||
|
app.kubernetes.io/name: {{ include "ntfy.name" . }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
# Define a template for the chart name and version.
|
# Define a template for the chart name and version.
|
||||||
{{/*
|
{{/*
|
||||||
Generate basic labels
|
Generate basic labels
|
||||||
|
|
|
@ -17,7 +17,7 @@ spec:
|
||||||
serviceAccountName: {{ include "ntfy.fullname" . }}
|
serviceAccountName: {{ include "ntfy.fullname" . }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ include "ntfy.fullname" . }}-server
|
- name: {{ include "ntfy.fullname" . }}-server
|
||||||
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
|
image: {{ .Values.image.repository }}:{{ include "ntfy.imageTag" . }}
|
||||||
args: ["serve"]
|
args: ["serve"]
|
||||||
env:
|
env:
|
||||||
- name: NTFY_BASE_URL
|
- name: NTFY_BASE_URL
|
||||||
|
|
|
@ -6,4 +6,7 @@ persistence:
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: binwiederhier/ntfy
|
repository: binwiederhier/ntfy
|
||||||
tag: v2.10.0
|
|
||||||
|
prometheus:
|
||||||
|
podmonitor:
|
||||||
|
enabled: true
|
||||||
|
|
|
@ -6,7 +6,6 @@ persistence:
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: binwiederhier/ntfy
|
repository: binwiederhier/ntfy
|
||||||
tag: v2.10.0
|
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
podmonitor:
|
podmonitor:
|
||||||
|
|
Loading…
Reference in a new issue