apiVersion: v1
kind: Secret
metadata:
  name: tracker-config
type: Opaque
stringData:
  tracker.yaml: |-
    log:
      level: {{ .Values.log.level }}
      pretty: {{ .Values.log.pretty }}
    db:
      host: {{ .Values.db.host }}
      port: {{ .Values.db.port }}
      database: {{ .Values.db.database }}
      user: {{ .Values.db.user }}
      password: {{ .Values.db.password }}
    tracker:
      concurrency: {{ .Values.tracker.concurrency }}
      repositoriesNames: {{ .Values.tracker.repositories }}
      imageStore: {{ .Values.tracker.imageStore }}
      bypassDigestCheck: {{ .Values.tracker.bypassDigestCheck }}
