Skip to content

Commit

Permalink
fix: define explicitly kind and apiVersion of volumeClaimTemplate child
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasVanHaaren authored Aug 20, 2024
1 parent efdbd8f commit c3dd039
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 c3dd039

Please sign in to comment.