fix: labels and selectors on ntfy

This commit is contained in:
Tommy 2024-04-06 21:27:07 +02:00
parent b71a6441be
commit 975125e2e0
No known key found for this signature in database
3 changed files with 4 additions and 5 deletions

View file

@ -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.1.2 version: 0.1.3
maintainers: maintainers:
- name: Tommy Skaug - name: Tommy Skaug
email: tommy@skaug.me email: tommy@skaug.me

View file

@ -4,15 +4,15 @@ metadata:
name: {{ include "ntfy.fullname" . }} name: {{ include "ntfy.fullname" . }}
labels: labels:
{{- include "ntfy.labels" . | nindent 4 }} {{- include "ntfy.labels" . | nindent 4 }}
app.kubernetes.io/component: {{ include "ntfy.fullname" . }}-server spec:
replicas: 1 replicas: 1
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/component: {{ include "ntfy.fullname" . }}-server app: {{ include "ntfy.fullname" . }}-server
template: template:
metadata: metadata:
labels: labels:
app.kubernetes.io/component: {{ include "ntfy.fullname" . }}-server app: {{ include "ntfy.fullname" . }}-server
spec: spec:
serviceAccountName: {{ include "ntfy.fullname" . }} serviceAccountName: {{ include "ntfy.fullname" . }}
containers: containers:

View file

@ -5,7 +5,6 @@ metadata:
name: {{ include "ntfy.fullname" . }}-server name: {{ include "ntfy.fullname" . }}-server
labels: labels:
{{- include "ntfy.labels" . | nindent 4 }} {{- include "ntfy.labels" . | nindent 4 }}
app.kubernetes.io/component: {{ include "ntfy.fullname" . }}-server
spec: spec:
selector: selector:
app: {{ include "ntfy.fullname" . }}-server app: {{ include "ntfy.fullname" . }}-server