apiVersion: v1
kind: ConfigMap
metadata:
  name: image-scanner-parameters-configmap
data:
  image-scanner-parameters.yaml: |-
    # Configuration values can be set as key-value properties
    parallelization: 10
    buffer: 1000

    kube:
      configPath: /usr/.kube/kubeconfig
      namespaces:
        - default
        - operations
    
    scanner:
      !trivy-scanner
      binaryPath: /usr/local/bin/trivy
      cachePath: /app/.cache/.trivy
      registries:
        - name: myacr.azurecr.io
          address: myacr.azurecr.io
          username: myacr
          password: <MYACRPASSWD>
        - name: deepnetwork
          address: http://registry.hub.docker.com
          username: 
          password: 
    
    exporter:
      !file-exporter
      path: /app/.cache/scan-results/
    
    importer:
      !file-importer
      path: /app/.cache/scan-results/