summaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/model-repo/templates/networkpolicy.yaml
diff options
context:
space:
mode:
authorPramod <pramod.raghavendra.jayathirth@intel.com>2019-04-17 15:02:56 -0700
committerPramod <pramod.raghavendra.jayathirth@intel.com>2019-04-17 15:06:13 -0700
commitc8038e7451fb5bf2b9d5e7b70e5a29d56f9202a7 (patch)
tree113ad9f20181c6a63e53a79ffc1b7a2694c289c9 /vnfs/DAaaS/model-repo/templates/networkpolicy.yaml
parent2b21e905e3fa4593ec7c2f1dd16ffb28a97eb56d (diff)
Fixed the chart name for Minio Model repo
The Chart name is incosistent with the minio related manifests. Change-Id: I42b6e9597651faba4c79cbeb77db2adffe191952 Issue-ID: ONAPARC-487 Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com>
Diffstat (limited to 'vnfs/DAaaS/model-repo/templates/networkpolicy.yaml')
-rw-r--r--vnfs/DAaaS/model-repo/templates/networkpolicy.yaml25
1 files changed, 0 insertions, 25 deletions
diff --git a/vnfs/DAaaS/model-repo/templates/networkpolicy.yaml b/vnfs/DAaaS/model-repo/templates/networkpolicy.yaml
deleted file mode 100644
index de57f485..00000000
--- a/vnfs/DAaaS/model-repo/templates/networkpolicy.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-{{- if .Values.networkPolicy.enabled }}
-kind: NetworkPolicy
-apiVersion: {{ template "minio.networkPolicy.apiVersion" . }}
-metadata:
- name: {{ template "minio.fullname" . }}
- labels:
- app: {{ template "minio.name" . }}
- chart: {{ template "minio.chart" . }}
- release: {{ .Release.Name }}
- heritage: {{ .Release.Service }}
-spec:
- podSelector:
- matchLabels:
- app: {{ template "minio.name" . }}
- release: {{ .Release.Name }}
- ingress:
- - ports:
- - port: {{ .Values.service.port }}
- {{- if not .Values.networkPolicy.allowExternal }}
- from:
- - podSelector:
- matchLabels:
- {{ template "minio.name" . }}-client: "true"
- {{- end }}
-{{- end }}