Interlegis Public Rancher Charts for Kubernetes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
687 B

apiVersion: nfs.rook.io/v1alpha1
kind: NFSServer
metadata:
name: {{ include "rook-nfs-server.fullname" . }}
labels:
{{- include "rook-nfs-server.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
exports:
{{- range .Values.exports }}
- name: {{ .name }}
server:
accessMode: {{ .server.accessMode }}
squash: {{ .server.squash | quote }}
{{- with .server.allowedClients }}
allowedClients:
{{- toYaml . | nindent 8 }}
{{- end }}
persistentVolumeClaim:
claimName: {{ $.Release.Name }}-{{ .name }}-pvc
{{ end }}
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}