templater/templates/periodics.yaml [101:164]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      {{- end }}
      {{- if .volumeMounts }}
      volumeMounts:
      {{- range .volumeMounts }}
      - name: {{ .Name }}
        mountPath: {{ .MountPath }}
        readOnly: {{ .ReadOnly }}
      {{- end }}
      {{- end }}
    {{- if .imageBuild }}
    - name: buildkitd
      image: moby/buildkit:{{ .buildkitImageTag }}
      command:
      - sh
      args:
      - /script/entrypoint.sh
      livenessProbe:
        exec:
          command:
          - sh
          - -c
          - test $(($(date +%s) - 15)) -lt $(cat /status/pending)
        periodSeconds: 15
      securityContext:
        runAsUser: 1000
        runAsGroup: 1000
      resources:
        requests:
          memory: "2Gi"
          cpu: "1024m"
    {{- end }}
    {{- if .localRegistry }}
    - name: registry
      image: registry:2
      command:
      - sh
      args:
      - /registry-script/entrypoint.sh
      livenessProbe:
        exec:
          command:
          - sh
          - -c
          - test $(($(date +%s) - 15)) -lt $(cat /status/pending)
        periodSeconds: 15
        initialDelaySeconds: 10
      readinessProbe:
        httpGet:
          path: /
          port: 5000
        initialDelaySeconds: 5
        periodSeconds: 3
      resources:
        requests:
          memory: "1Gi"
          cpu: "256m"
        limits:
          memory: "1Gi"
          cpu: "256m"
    {{- end }}
    {{- if .volumes }}
    volumes:
    {{- range .volumes }}
    - name: {{ .Name }}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



templater/templates/postsubmits.yaml [112:175]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        {{- end }}
        {{- if .volumeMounts }}
        volumeMounts:
        {{- range .volumeMounts }}
        - name: {{ .Name }}
          mountPath: {{ .MountPath }}
          readOnly: {{ .ReadOnly }}
        {{- end }}
        {{- end }}
      {{- if .imageBuild }}
      - name: buildkitd
        image: moby/buildkit:{{ .buildkitImageTag }}
        command:
        - sh
        args:
        - /script/entrypoint.sh
        livenessProbe:
          exec:
            command:
            - sh
            - -c
            - test $(($(date +%s) - 15)) -lt $(cat /status/pending)
          periodSeconds: 15
        securityContext:
          runAsUser: 1000
          runAsGroup: 1000
        resources:
          requests:
            memory: "2Gi"
            cpu: "1024m"
      {{- end }}
      {{- if .localRegistry }}
      - name: registry
        image: registry:2
        command:
        - sh
        args:
        - /registry-script/entrypoint.sh
        livenessProbe:
          exec:
            command:
            - sh
            - -c
            - test $(($(date +%s) - 15)) -lt $(cat /status/pending)
          periodSeconds: 15
          initialDelaySeconds: 10
        readinessProbe:
          httpGet:
            path: /
            port: 5000
          initialDelaySeconds: 5
          periodSeconds: 3
        resources:
          requests:
            memory: "1Gi"
            cpu: "256m"
          limits:
            memory: "1Gi"
            cpu: "256m"
      {{- end }}
      {{- if .volumes }}
      volumes:
      {{- range .volumes }}
      - name: {{ .Name }}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



