1 {{- if .Values.networkPolicy.enabled }}
3 apiVersion: {{ template "minio.networkPolicy.apiVersion" . }}
5 name: {{ template "minio.fullname" . }}
7 app: {{ template "minio.name" . }}
8 chart: {{ template "minio.chart" . }}
9 release: {{ .Release.Name }}
10 heritage: {{ .Release.Service }}
14 app: {{ template "minio.name" . }}
15 release: {{ .Release.Name }}
18 - port: {{ .Values.service.port }}
19 {{- if not .Values.networkPolicy.allowExternal }}
23 {{ template "minio.name" . }}-client: "true"