From aaefe793015f55b648300775fc3c5d19c97fb352 Mon Sep 17 00:00:00 2001 From: Liam Date: Mon, 23 Sep 2024 10:28:32 +0100 Subject: [PATCH] fix linter config --- kubelinter-config.yaml | 3 +-- kubernetes/apps/production/flyimg/deployment.yaml | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/kubelinter-config.yaml b/kubelinter-config.yaml index f821df3..0fe942f 100644 --- a/kubelinter-config.yaml +++ b/kubelinter-config.yaml @@ -1,4 +1,3 @@ checks: - runAsNonRoot: false # Disable the check for running as root include: [] - exclude: [] + exclude: ["run-as-non-root", "no-read-only-root-fs"] diff --git a/kubernetes/apps/production/flyimg/deployment.yaml b/kubernetes/apps/production/flyimg/deployment.yaml index 8dd1687..aca1555 100644 --- a/kubernetes/apps/production/flyimg/deployment.yaml +++ b/kubernetes/apps/production/flyimg/deployment.yaml @@ -19,7 +19,6 @@ spec: image: flyimg/flyimg:1.4.12 securityContext: allowPrivilegeEscalation: false - readOnlyRootFilesystem: true ports: - containerPort: 80 resources: