fix: remove serviceName from StatefulSets (not needed)

Removed serviceName field from both StatefulSets since stable pod DNS
is not required for single-replica IRC applications. StatefulSets only
need serviceName when using headless Services for stable network identities.

Also removed statefulset-has-servicename ignore since it's now properly fixed.

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
2026-02-08 10:40:34 -05:00
parent 956c39c1c5
commit 6eca981e17
3 changed files with 0 additions and 3 deletions
-1
View File
@@ -40,7 +40,6 @@ jobs:
--ignore-test container-security-context-readonlyrootfilesystem \
--ignore-test container-image-tag \
--ignore-test container-security-context-user-group-id \
--ignore-test statefulset-has-servicename \
--ignore-test probe-not-identical \
--output-format ci
fi
-1
View File
@@ -9,7 +9,6 @@ metadata:
polaris.fairwinds.com/tagNotSpecified-exempt: "true"
polaris.fairwinds.com/topologySpreadConstraint-exempt: "true"
spec:
serviceName: thelounge
replicas: 1
selector:
matchLabels:
-1
View File
@@ -13,7 +13,6 @@ spec:
matchLabels:
app.kubernetes.io/name: znc
app.kubernetes.io/instance: znc
serviceName: "znc"
replicas: 1
template:
metadata: