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 kind: StatefulSet
metadata: metadata:
name: thelounge name: thelounge
labels:
app.kubernetes.io/name: thelounge
app.kubernetes.io/instance: thelounge
annotations: annotations:
polaris.fairwinds.com/runAsRootAllowed-exempt: "true" # linuxserver.io images don't support this, need to build my own 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 polaris.fairwinds.com/tagNotSpecified-exempt: "true" # allow latest tag for this app
@@ -12,12 +15,14 @@ spec:
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/name: thelounge app.kubernetes.io/name: thelounge
app.kubernetes.io/instance: thelounge
serviceName: "thelounge" serviceName: "thelounge"
replicas: 1 replicas: 1
template: template:
metadata: metadata:
labels: labels:
app.kubernetes.io/name: thelounge app.kubernetes.io/name: thelounge
app.kubernetes.io/instance: thelounge
spec: spec:
priorityClassName: low-priority priorityClassName: low-priority
automountServiceAccountToken: false automountServiceAccountToken: false
+3
View File
@@ -2,6 +2,9 @@ apiVersion: apps/v1
kind: StatefulSet kind: StatefulSet
metadata: metadata:
name: znc name: znc
labels:
app.kubernetes.io/name: znc
app.kubernetes.io/instance: znc
annotations: annotations:
polaris.fairwinds.com/runAsRootAllowed-exempt: "true" polaris.fairwinds.com/runAsRootAllowed-exempt: "true"
polaris.fairwinds.com/tagNotSpecified-exempt: "true" polaris.fairwinds.com/tagNotSpecified-exempt: "true"