Open AllardKrings opened 9 months ago
This project doesn't have compatibility with clair 4 and will throw errors when pointed at clair 4.7.2 as you have done in your deployment. It sounds like you're having issues with clairctl which is maintained in https://github.com/quay/clair
Hello,
i am strugling now for days with configuring CLAIR. I can call clair from the CLi clairctl and from QUAY when pushing an image. C:LAIR allways rsponds with ok and does not report any vulnerabilities.
It must have something to do with my configuration: I run on a microk8s-cluster on ubutu 22.04 on amd
My config.yaml:
http_listen_addr: :8081 introspection_addr: :8088 log_level: debug indexer: connstring: host=postgres13.postgres.svc.cluster.local port=5432 dbname=clair user> scanlock_retry: 10 layer_scan_concurrency: 5 migrations: true matcher: indexer_addr: :8081 connstring: host=postgres13.postgres.svc.cluster.local port=5432 dbname=clair user> max_conn_pool: 100 migrations: true updaters: sets:
This is my yaml:
apiVersion: apps/v1 kind: Deployment metadata: name: clair namespace: quay spec: replicas: 1 selector: matchLabels: app: clair template: metadata: labels: app: clair spec: containers:
name: clair persistentVolumeClaim: claimName: clair-pvc
apiVersion: v1 kind: Service metadata: name: clair namespace: quay spec: ports:
name: health port: 8088 nodePort: 30088 protocol: TCP targetPort: 8088 selector: app: clair type: NodePort status: loadBalancer: {}
apiVersion: v1 kind: PersistentVolumeClaim metadata: name: clair-pvc namespace: quay spec: accessModes:
ReadWriteMany resources: requests: storage: 1Gi storageClassName: "" volumeMode: Filesystem volumeName: clair-pv
apiVersion: v1 kind: PersistentVolume metadata: name: clair-pv spec: accessModes:
Anybody any sugfgestions?