Closed zadigus closed 1 year ago
While expected for a StatefulSet, the volumeClaimsTemplate property is unexpected for a Deployment. Generating that property for a Deployment makes it hard to scan the rendered yaml manifests by devspace (e.g. with trivy or terrascan).
StatefulSet
volumeClaimsTemplate
Deployment
To fix the issue, it suffices to wrap the volumeClaimTemplates with
volumeClaimTemplates
{{- if eq $kind "StatefulSet" }} {{- end }}
Hello! Thanks for reporting. This should be fixed in an upcoming release.
While expected for a
StatefulSet
, thevolumeClaimsTemplate
property is unexpected for aDeployment
. Generating that property for aDeployment
makes it hard to scan the rendered yaml manifests by devspace (e.g. with trivy or terrascan).