Skip to content

Commit

Permalink
add apiVersion to volumeClaimTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
Piao committed Aug 8, 2024
1 parent 68a092e commit b58e46c
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions server/charts/server/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,13 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
volumeClaimTemplates:
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: influxdb-volume
spec:
accessModes: [ "ReadWriteOnce" ]
storageClassName: "longhorn"
resources:
requests:
storage: 10Gi
spec:
accessModes: [ "ReadWriteOnce" ]
storageClassName: "longhorn"
resources:
requests:
storage: 10Gi

0 comments on commit b58e46c

Please sign in to comment.