From 6eca981e17aba57f98ae752d5ea6ff5b6ea04554 Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Sun, 8 Feb 2026 10:40:34 -0500 Subject: [PATCH] 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 Co-Authored-By: Happy --- .gitea/workflows/best-practices.yaml | 1 - thelounge/statefulset.yaml | 1 - znc/statefulset.yaml | 1 - 3 files changed, 3 deletions(-) diff --git a/.gitea/workflows/best-practices.yaml b/.gitea/workflows/best-practices.yaml index f90bd0a..1765905 100644 --- a/.gitea/workflows/best-practices.yaml +++ b/.gitea/workflows/best-practices.yaml @@ -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 diff --git a/thelounge/statefulset.yaml b/thelounge/statefulset.yaml index 6be3032..6e5621c 100644 --- a/thelounge/statefulset.yaml +++ b/thelounge/statefulset.yaml @@ -9,7 +9,6 @@ metadata: polaris.fairwinds.com/tagNotSpecified-exempt: "true" polaris.fairwinds.com/topologySpreadConstraint-exempt: "true" spec: - serviceName: thelounge replicas: 1 selector: matchLabels: diff --git a/znc/statefulset.yaml b/znc/statefulset.yaml index 5ea7d06..6311f84 100644 --- a/znc/statefulset.yaml +++ b/znc/statefulset.yaml @@ -13,7 +13,6 @@ spec: matchLabels: app.kubernetes.io/name: znc app.kubernetes.io/instance: znc - serviceName: "znc" replicas: 1 template: metadata: