* Fix for helm 3 and k8s 1.16 * Inclusion of archived directory under k8s * separate deploy-all powershell script for local Mac OS deployment.
		
			
				
	
	
		
			33 lines
		
	
	
		
			875 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			875 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| {{- if .Values.ingress.enabled -}}
 | |
| {{- if .Values.inf.k8s.local -}}
 | |
| {{- $ingressPath := include "pathBase" . -}}
 | |
| {{- $serviceName := .Values.app.svc.identity }}
 | |
| {{- $name := include "identity-api.fullname" . -}} 
 | |
| apiVersion: extensions/v1beta1
 | |
| kind: Ingress
 | |
| metadata:
 | |
|   name: {{ $name }}-local
 | |
|   labels:
 | |
|     app: {{ template "identity-api.name" . }}
 | |
|     chart: {{ template "identity-api.chart" . }}
 | |
|     release: {{ .Release.Name }}
 | |
|     heritage: {{ .Release.Service }}
 | |
| {{- with .Values.ingress.annotations }}
 | |
|   annotations:
 | |
| {{ toYaml . | indent 4 }}
 | |
| {{- end }}    
 | |
| {{- if .Values.inf.mesh.enabled }} 
 | |
| {{- with .Values.ingress.mesh.annotations }}
 | |
| {{ toYaml . | indent 4 }}
 | |
| {{- end }}
 | |
| {{- end }}
 | |
| spec:
 | |
|   rules:
 | |
|   - http:
 | |
|       paths:
 | |
|       - backend:
 | |
|           serviceName: {{ $serviceName }}
 | |
|           servicePort: http
 | |
|         path: {{ $ingressPath }}
 | |
| {{- end -}}
 | |
| {{- end -}} |