From c3776634fb6aa3d78d32370b87a5fb11a8251e19 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Sun, 10 Sep 2023 20:21:04 +0200 Subject: [PATCH] chore: ignore dangling-service linter errors --- deploy/prod/svc-db.yaml | 4 ++++ deploy/prod/svc-netflux.yaml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/deploy/prod/svc-db.yaml b/deploy/prod/svc-db.yaml index d3fcc2f..1c3e7ca 100644 --- a/deploy/prod/svc-db.yaml +++ b/deploy/prod/svc-db.yaml @@ -3,6 +3,8 @@ apiVersion: v1 kind: Service metadata: name: db + annotations: + ignore-check.kube-linter.io/dangling-service: "This is a headless service" spec: clusterIP: None ports: @@ -26,6 +28,8 @@ apiVersion: v1 kind: Service metadata: name: db-metrics + annotations: + ignore-check.kube-linter.io/dangling-service: "This is a headless service" spec: clusterIP: None ports: diff --git a/deploy/prod/svc-netflux.yaml b/deploy/prod/svc-netflux.yaml index 0706b47..c86c995 100644 --- a/deploy/prod/svc-netflux.yaml +++ b/deploy/prod/svc-netflux.yaml @@ -3,6 +3,8 @@ apiVersion: v1 kind: Service metadata: name: netflux + annotations: + ignore-check.kube-linter.io/dangling-service: "This is a headless service" spec: clusterIP: None ports: