diff options
author | Pramod <pramod.raghavendra.jayathirth@intel.com> | 2019-04-17 15:02:56 -0700 |
---|---|---|
committer | Pramod <pramod.raghavendra.jayathirth@intel.com> | 2019-04-17 15:06:13 -0700 |
commit | c8038e7451fb5bf2b9d5e7b70e5a29d56f9202a7 (patch) | |
tree | 113ad9f20181c6a63e53a79ffc1b7a2694c289c9 /vnfs/DAaaS/minio/templates/ingress.yaml | |
parent | 2b21e905e3fa4593ec7c2f1dd16ffb28a97eb56d (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/minio/templates/ingress.yaml')
-rw-r--r-- | vnfs/DAaaS/minio/templates/ingress.yaml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/vnfs/DAaaS/minio/templates/ingress.yaml b/vnfs/DAaaS/minio/templates/ingress.yaml new file mode 100644 index 00000000..5168b861 --- /dev/null +++ b/vnfs/DAaaS/minio/templates/ingress.yaml @@ -0,0 +1,39 @@ +{{- if .Values.ingress.enabled -}} +{{- $fullName := include "minio.fullname" . -}} +{{- $servicePort := .Values.service.port -}} +{{- $ingressPath := .Values.ingress.path -}} +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: {{ $fullName }} + labels: + app: {{ template "minio.name" . }} + chart: {{ template "minio.chart" . }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} +{{- with .Values.ingress.annotations }} + annotations: +{{ toYaml . | indent 4 }} +{{- end }} +spec: +{{- if .Values.ingress.tls }} + tls: + {{- range .Values.ingress.tls }} + - hosts: + {{- range .hosts }} + - {{ . | quote }} + {{- end }} + secretName: {{ .secretName }} + {{- end }} +{{- end }} + rules: + {{- range .Values.ingress.hosts }} + - host: {{ . | quote }} + http: + paths: + - path: {{ $ingressPath }} + backend: + serviceName: {{ $fullName }} + servicePort: {{ $servicePort }} + {{- end }} +{{- end }} |