diff options
| author | Max Resnick <max@ofmax.li> | 2020-01-01 14:18:41 -0800 |
|---|---|---|
| committer | Max Resnick <max@ofmax.li> | 2020-01-20 16:23:01 -0800 |
| commit | 109fad80f323567d6751c9f51e20dd41582d43bf (patch) | |
| tree | 66b5f0b3c5f147badfbc3f596b089baf11cb10b6 /grumpy/gitolite/templates/gitolite-ingress.yaml | |
| parent | 584857f515ab6fe30530d25483869ed517e9575d (diff) | |
| download | grumpy-charts-109fad80f323567d6751c9f51e20dd41582d43bf.tar.gz | |
add gitolite from orginal author, minor improvements
Diffstat (limited to 'grumpy/gitolite/templates/gitolite-ingress.yaml')
| -rw-r--r-- | grumpy/gitolite/templates/gitolite-ingress.yaml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/grumpy/gitolite/templates/gitolite-ingress.yaml b/grumpy/gitolite/templates/gitolite-ingress.yaml new file mode 100644 index 0000000..e6bf450 --- /dev/null +++ b/grumpy/gitolite/templates/gitolite-ingress.yaml @@ -0,0 +1,22 @@ +{{- if .Values.HostName }} +apiVersion: {{ .Values.NetworkPolicy.ApiVersion }} +kind: Ingress +metadata: +{{- if .Values.Ingress.Annotations }} + annotations: +{{ toYaml .Values.Ingress.Annotations | indent 4 }} +{{- end }} + name: {{ template "gitolite.fullname" . }} +spec: + rules: + - host: {{ .Values.HostName | quote }} + http: + paths: + - backend: + serviceName: {{ template "gitolite.fullname" . }} + servicePort: {{ .Values.ServicePort }} +{{- if .Values.Ingress.TLS }} + tls: +{{ toYaml .Values.Ingress.TLS | indent 4 }} +{{- end -}} +{{- end }} |