more polaris findings

This commit is contained in:
2026-01-17 11:34:39 -05:00
parent c77b0aa065
commit a685eca1f5
2 changed files with 11 additions and 2 deletions
+5 -1
View File
@@ -6,6 +6,8 @@ metadata:
name: thelounge name: 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/topologySpreadConstraint-exempt: "true" # statefulset doesn't support multiple replicas
spec: spec:
selector: selector:
matchLabels: matchLabels:
@@ -19,6 +21,7 @@ spec:
app.kubernetes.io/instance: thelounge app.kubernetes.io/instance: thelounge
spec: spec:
priorityClassName: low-priority priorityClassName: low-priority
automountServiceAccountToken: false
containers: containers:
- name: thelounge - name: thelounge
image: ghcr.io/thelounge/thelounge:latest image: ghcr.io/thelounge/thelounge:latest
@@ -33,9 +36,10 @@ spec:
resources: resources:
requests: requests:
memory: "256Mi" memory: "256Mi"
cpu: "250m" cpu: "100m"
limits: limits:
memory: "512Mi" memory: "512Mi"
cpu: "500m"
volumeClaimTemplates: volumeClaimTemplates:
- metadata: - metadata:
name: config name: config
+6 -1
View File
@@ -6,6 +6,8 @@ metadata:
name: znc name: znc
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/topologySpreadConstraint-exempt: "true" # statefulset doesn't support multiple replicas
spec: spec:
selector: selector:
matchLabels: matchLabels:
@@ -16,8 +18,10 @@ spec:
metadata: metadata:
labels: labels:
app.kubernetes.io/name: znc app.kubernetes.io/name: znc
app.kubernetes.io/instance: znc
spec: spec:
priorityClassName: low-priority priorityClassName: low-priority
automountServiceAccountToken: false
containers: containers:
- name: znc - name: znc
image: lscr.io/linuxserver/znc:latest image: lscr.io/linuxserver/znc:latest
@@ -32,9 +36,10 @@ spec:
resources: resources:
requests: requests:
memory: "256Mi" memory: "256Mi"
cpu: "250m" cpu: "100m"
limits: limits:
memory: "512Mi" memory: "512Mi"
cpu: "500m"
volumeClaimTemplates: volumeClaimTemplates:
- metadata: - metadata:
name: config name: config