apiVersion: apps/v1
kind: Deployment
metadata:
  name: retraced-dbutil
  namespace: '{{repl ConfigOption "namespace"}}'
  labels:
    app: retraced
    tier: dbutil
spec:
  selector:
    matchLabels:
      app: retraced
      tier: dbutil
  replicas: 1
  template:
    metadata:
      labels:
        app: retraced
        tier: dbutil
    spec:
      imagePullSecrets:
      - name: auditlog-imagepull-secret
      containers:
      - name: dbutil
        image: registry.replicated.com/library/retraced:1.4.6
        command:
        - /bin/sleep
        - infinity
        envFrom:
          - secretRef:
              name: auditlog
