aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/kubernetes/templates/moon_configuration.yaml
blob: 14234cc1ca21d816190436bfc88b74b48c78e3d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
apiVersion: batch/v1
kind: Job
metadata:
  name: moonforming
  namespace: moon
spec:
  template:
    metadata:
      name: moonforming
    spec:
      containers:
      - name: moonforming
        image: asteroide/moonforming:v1.2
        env:
        - name: POPULATE_ARGS
          value: "--verbose" # debug mode: --debug
        volumeMounts:
        - name: config-volume
          mountPath: /etc/moon
      volumes:
      - name: config-volume
        configMap:
          name: moon-config
      restartPolicy: Never
      #backoffLimit: 4