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 (#7362)
  • Loading branch information
LucasVanHaaren authored Sep 3, 2024
1 parent af1d257 commit da4ebfa
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 da4ebfa

Please sign in to comment.