apiVersion: v1 kind: Pod metadata: name: nginx labels: env: test spec: containers: - securityContext: readOnlyRootFilesystem: true