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: