-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to deploy from helm chart #2488
Comments
Could you try the following: helm install trivy-operator oci://ghcr.io/aquasecurity/helm-charts/trivy-operator \
--namespace trivy-system \
--create-namespace \
--version 0.27.0 cc @afdesk |
hi @jkbbwr Could you also try next way (it's from the docs): $ git clone --depth 1 https://github.com/aquasecurity/trivy-operator.git
$ helm install trivy-operator ./trivy-operator/deploy/helm --namespace trivy-system --create-namespace |
also |
I also get this! I'm trying
Output:
kubectl version
OS: |
@nika-pr thanks for the report! $ helm upgrade --install trivy-operator aquasecurity/trivy-operator \
--namespace trivy-system \
--create-namespace \
--version 0.27.0
$ kubectl logs -n trivy-system deployment/trivy-operator
2025/03/25 09:21:25 maxprocs: Leaving GOMAXPROCS=14: CPU quota undefined
{"level":"info","ts":"2025-03-25T09:21:25Z","logger":"main","msg":"Starting operator","buildInfo":{"Version":"0.25.0","Commit":"0816542808e81dc318a34a1ce8a5cd004c59dfdd","Date":"2025-03-11T03:41:44Z","Executable":""}} |
kubectl logs -n trivy-system deployment/trivy-operator part 1
|
Part 2
|
Part 3
|
@nika-pr it's interesting how was it installed? |
could you try to use $ helm install chart my-chart --debug |
Based on #1387 (comment), I already tried deleting aquasecurity crds and uninstalling the operator, but that also currently fails:
|
@nika-pr there is the comment is really old, and for example, |
The order of my troubleshooting steps probably broke the uninstall command (take a look at my uninstall command and outputs again). |
IIUC, you need $ wget wget https://raw.githubusercontent.com/aquasecurity/trivy-operator/refs/heads/main/deploy/helm/crds/aquasecurity.github.io_clustercompliancereports.yaml
$ kubectl apply -f aquasecurity.github.io_clustercompliancereports.yaml |
After this I was able to run the |
What steps did you take and what happened:
Either from helm repo or from locally cloned pinned to version v0.25.0
Only change was
Running
helm install trivy-operator ./trivy-operator/ --namespace trivy-system
generates the following errorWhat did you expect to happen:
It to install successfully
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
trivy-operator version
):v0.25.0
kubectl version
):Darwin GY4L32RJJV 24.3.0 Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:23 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6031 arm64
The text was updated successfully, but these errors were encountered: