Can the trivy-operator be deployed in custom namespace? #2368
Answered
by
pohanhuangtw
pohanhuangtw
asked this question in
Help & Support
-
I try to deploy the trivy-operator in test namespace, it keeps failing, is this expected? helm install trivy-operator oci://ghcr.io/aquasecurity/helm-charts/trivy-operator --namespace test Error: INSTALLATION FAILED: Unable to continue with install: ClusterRole "aggregate-vulnerability-reports-view" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-namespace" must equal "test": current value is "trivy-system" |
Beta Was this translation helpful? Give feedback.
Answered by
pohanhuangtw
Jan 2, 2025
Replies: 1 comment
-
Just found out I can simply change the trivy-system in https://github.com/aquasecurity/trivy-operator/blob/main/deploy/static/trivy-operator.yaml and re-deploy. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pohanhuangtw
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just found out I can simply change the trivy-system in https://github.com/aquasecurity/trivy-operator/blob/main/deploy/static/trivy-operator.yaml and re-deploy.