apiVersion: v1
kind: Pod
metadata:
  name: micronaut
spec:
  containers:
    - name: micronaut
      image: k3s-maven-plugin-it-pod-with-local-image-from-tar
      imagePullPolicy: Never
      env:
        - name: ENDPOINTS_HEALTH_DISK_SPACE_ENABLED
          value: "false"
      ports:
        - name: http
          containerPort: 8080
          hostPort: 8080
      startupProbe:
        httpGet:
          path: /health
          port: http
      securityContext:
        runAsUser: 10001
        runAsGroup: 10001
        readOnlyRootFilesystem: true
  automountServiceAccountToken: false
  terminationGracePeriodSeconds: 0
