deploy with instance labels
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user