# Default values for cyber-dojo-service.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

fullnameOverride: "runner"

daemonSet: true

volumes:
  - name: runner-tmp-dir
    emptyDir:
      medium: Memory
      sizeLimit: "64Mi"
  - name: docker-socket
    hostPath:
      path: /var/run/docker.sock
      type: File

service:
  port: 4597

containers:
  - name: runner
    image: cyberdojo/runner
    securityContext:
      readOnlyRootFilesystem: true
    volumeMounts:
      - name: runner-tmp-dir
        mountPath: /tmp
        readOnly: false
      - mountPath: /var/run/docker.sock
        name: docker-socket
    resources:
      limits:
        memory: 64Mi
      requests:
        memory: 64Mi
    livenessProbe:
      path: /alive?
      port: 4597
    readinessProbe:
      path: /ready?
      port: 4597

initContainers: {}

envFromSecret: {}

nodeSelector: {}

affinity: {}

tolerations: []

# Default values for cyber-dojo-service.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

fullnameOverride: "runner"

daemonSet: true

volumes:
  - name: runner-tmp-dir
    emptyDir:
      medium: Memory
      sizeLimit: "64Mi"
  - name: docker-socket
    hostPath:
      path: /var/run/docker.sock
      type: File

service:
  port: 4597
  annotations:
    - prometheus.io/scrape: "true"
    - prometheus.io/port: "4597"

containers:
  - name: runner
    image: cyberdojo/runner
    securityContext:
      readOnlyRootFilesystem: true
    volumeMounts:
      - name: runner-tmp-dir
        mountPath: /tmp
        readOnly: false
      - mountPath: /var/run/docker.sock
        name: docker-socket
    resources:
      limits:
        memory: 64Mi
      requests:
        memory: 64Mi
    livenessProbe:
      path: /alive?
      port: 4597
    readinessProbe:
      path: /ready?
      port: 4597

initContainers: {}

envFromSecret: {}

nodeSelector: {}

affinity: {}

tolerations: []

Add prometheus settings to k8s yaml values file
Add prometheus settings to k8s yaml values file
