apiVersion: v1
kind: ConfigMap
metadata:
  name: clair-override-cm
  namespace:  devtroncd
data:
  override: |
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: clair
      namespace: devtroncd
    update:
      spec:
        template:
          spec:
            containers:
            - resources:
                limits:
                  cpu: 0.3
                  memory: 3Gi
                requests:
                  cpu: 0.3
                  memory: 3Gi
    ---
    apiVersion: v1
    kind: Secret
    metadata:
      name: clair
#    update:
#      data:
#        config.yaml: |-
#          replace-me with key/secret 
