* Fix for helm 3 and k8s 1.16 * Inclusion of archived directory under k8s * separate deploy-all powershell script for local Mac OS deployment.
		
			
				
	
	
		
			46 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| {{- if .Values.ingress.enabled -}}
 | |
| {{- $ingressPath := include "pathBase" . -}}
 | |
| apiVersion: extensions/v1beta1
 | |
| kind: Ingress
 | |
| metadata:
 | |
|   name: {{ template "webhooks-web.fullname" . }}
 | |
|   labels:
 | |
|     app: {{ template "webhooks-web.name" . }}
 | |
|     chart: {{ template "webhooks-web.chart" . }}
 | |
|     release: {{ .Release.Name }}
 | |
|     heritage: {{ .Release.Service }}
 | |
| {{- with .Values.ingress.annotations }}
 | |
|   annotations:
 | |
| {{ toYaml . | indent 4 }}
 | |
| {{- end }}
 | |
| {{- if and .Values.inf.tls.enabled .Values.inf.tls.issuer }}
 | |
|     cert-manager.io/issuer: {{ .Values.inf.tls.issuer }} 
 | |
| {{- end }}
 | |
| {{- if .Values.inf.mesh.enabled }} 
 | |
| {{- with .Values.ingress.mesh.annotations }}
 | |
| {{ toYaml . | indent 4 }}
 | |
| {{- end }}
 | |
| {{- end }}
 | |
| spec:
 | |
| {{- if .Values.ingress.tls }}
 | |
|   tls:
 | |
|   {{- range .Values.ingress.tls }}
 | |
|     - hosts:
 | |
|       {{- range .hosts }}
 | |
|         - {{ . }}
 | |
|       {{- end }}
 | |
|       secretName: {{ .secretName }}
 | |
|   {{- end }}
 | |
| {{- end }}
 | |
|   rules:
 | |
|   {{- range .Values.ingress.hosts }}
 | |
|     - host: {{ . }}
 | |
|       http:
 | |
|         paths:
 | |
|           - path: {{ $ingressPath }}
 | |
|             backend:
 | |
|               serviceName: {{ $.Values.app.svc.webhooksweb }}
 | |
|               servicePort: http
 | |
|   {{- end }}
 | |
| {{- end }}
 |