Skip to content

Commit

Permalink
trivy: add apiVersion and Kind to volumeClaimTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
LinAnt committed Sep 4, 2023
1 parent 61907ee commit ce58c88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/trivy/trivy-sts.yaml
Expand Up @@ -198,7 +198,9 @@ spec:
{{- end }}
{{- if and .Values.persistence.enabled (not $trivy.existingClaim) }}
volumeClaimTemplates:
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: data
labels:
{{ include "harbor.labels" . | indent 8 }}
Expand Down

0 comments on commit ce58c88

Please sign in to comment.