-
Notifications
You must be signed in to change notification settings - Fork 247
Open
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Milestone
Description
What steps did you take and what happened:
After upgrading from the 0.29.1 helm chart, I noticed the fix for #2615 in the PR #2646 incorrectly specifies {{ .Release.namespace }}
when it should be using {{ .Release.Namespace }}
if using the helm built-in internal object. This results in the namespace value being set to an empty string when rendered by helm. Also, based on other objects related to the operator pod like the deployment and service account, the PVC should probably use the helper provided value {{ include "trivy-operator.namespace" . }}
.
What did you expect to happen:
The PVC for alternate report storage should properly specify a namespace.
Environment:
- Trivy-Operator version (use
trivy-operator version
): 0.28.0, chart 0.30.0 - Kubernetes version (use
kubectl version
): v1.33.2 - OS (macOS 10.15, Windows 10, Ubuntu 19.10 etc): Almalinux 9.6
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.