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
appVersion: v2.10.0
type: application
version: 0.1.2
version: 0.1.3
maintainers:
- name: Tommy Skaug
email: tommy@skaug.me

View file

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

View file

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