chore: ignore dangling-service linter errors

This commit is contained in:
Rob Watson 2023-09-10 20:21:04 +02:00
parent a7e8f38012
commit c3776634fb
2 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,8 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: db name: db
annotations:
ignore-check.kube-linter.io/dangling-service: "This is a headless service"
spec: spec:
clusterIP: None clusterIP: None
ports: ports:
@ -26,6 +28,8 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: db-metrics name: db-metrics
annotations:
ignore-check.kube-linter.io/dangling-service: "This is a headless service"
spec: spec:
clusterIP: None clusterIP: None
ports: ports:

View File

@ -3,6 +3,8 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: netflux name: netflux
annotations:
ignore-check.kube-linter.io/dangling-service: "This is a headless service"
spec: spec:
clusterIP: None clusterIP: None
ports: ports: