Skip to content

Commit

Permalink
fix(helm): explicitly define kind and apiVersion of `volumeClaimT…
Browse files Browse the repository at this point in the history
…emplate` element (aquasecurity#7362)
  • Loading branch information
LucasVanHaaren authored and fhielpos committed Dec 20, 2024
1 parent 8f75a54 commit 2e6709b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion helm/trivy/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ spec:
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if .Values.persistence.enabled }}
volumeClaimTemplates:
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: data
spec:
resources:
Expand Down

0 comments on commit 2e6709b

Please sign in to comment.