Skip to content

[Question]: Can I use trivy with k8sgpt operator ? #755

@LADIESDIV

Description

@LADIESDIV

Checklist

  • I've searched for similar issues and couldn't find anything matching
  • I've included steps to reproduce the behavior

Affected Components

  • K8sGPT (CLI)
  • K8sGPT Operator

K8sGPT Version

k8sgpt-operator:v0.2.22

Kubernetes Version

v1.33.0

Host OS and its Version

wsl

Steps to reproduce

Hey !
I would like use k8sgpt operator with trivy.
I deploy trivy-operator et k8sgpt resource like this :

apiVersion: core.k8sgpt.ai/v1alpha1
kind: K8sGPT
metadata:
name: k8sgpt-local-ai
namespace: k8sgpt-operator-system
spec:
ai:
enabled: true
model: llama3
backend: localai
baseUrl: $URL
integrations:
trivy:
enabled: true
namespace: trivy-system
skipInstall: true
noCache: false
repository: ghcr.io/k8sgpt-ai/k8sgpt
version: v0.4.1

Expected behaviour

When I check logs, there are
"WARNING: ListIntegrations is deprecated.
{"level":"info","ts":1758055207.7972093,"caller":"server/log.go:50","msg":"request completed","duration_ms":0,"method":"/schema.v1.ServerConfigService/ListIntegrations","request":"","remote_addr":"10.244.0.87:39796"}"

In grafana dashboard and result, there are not values show trivy is ok.

Do you see the mistake please ?

Thanks for help.

Actual behaviour

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions