deploy with instance labels

This commit is contained in:
2026-01-17 20:14:22 -05:00
parent 36eb6e1ef0
commit 3b69cb6384
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -4,6 +4,9 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
name: thelounge
labels:
app.kubernetes.io/name: thelounge
app.kubernetes.io/instance: thelounge
annotations:
polaris.fairwinds.com/runAsRootAllowed-exempt: "true" # linuxserver.io images don't support this, need to build my own
polaris.fairwinds.com/tagNotSpecified-exempt: "true" # allow latest tag for this app
@@ -12,12 +15,14 @@ spec:
selector:
matchLabels:
app.kubernetes.io/name: thelounge
app.kubernetes.io/instance: thelounge
serviceName: "thelounge"
replicas: 1
template:
metadata:
labels:
app.kubernetes.io/name: thelounge
app.kubernetes.io/instance: thelounge
spec:
priorityClassName: low-priority
automountServiceAccountToken: false
+3
View File
@@ -2,6 +2,9 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
name: znc
labels:
app.kubernetes.io/name: znc
app.kubernetes.io/instance: znc
annotations:
polaris.fairwinds.com/runAsRootAllowed-exempt: "true"
polaris.fairwinds.com/tagNotSpecified-exempt: "true"