mirror of
https://github.com/h44z/wg-portal
synced 2025-02-26 05:49:14 +00:00
12 lines
402 B
YAML
12 lines
402 B
YAML
|
{{- if and .Values.persistence.enabled (eq .Values.workloadType "Deployment") -}}
|
||
|
apiVersion: v1
|
||
|
kind: PersistentVolumeClaim
|
||
|
metadata:
|
||
|
{{- with .Values.persistence.annotations }}
|
||
|
annotations: {{- toYaml . | nindent 4}}
|
||
|
{{- end }}
|
||
|
name: {{ include "wg-portal.fullname" . }}
|
||
|
labels: {{- include "wg-portal.labels" . | nindent 4 }}
|
||
|
spec: {{- include "wg-portal.pvc" . | nindent 2 }}
|
||
|
{{- end -}}
|