aboutsummaryrefslogtreecommitdiff
path: root/grumpy/cgit/templates/ingress.yaml
diff options
context:
space:
mode:
authorMax Resnick <max@ofmax.li>2021-10-09 23:07:53 -0700
committerMax Resnick <max@ofmax.li>2021-10-09 23:28:41 -0700
commitbda8a1c25070678e6efd22003e398691404c832f (patch)
tree6ad3711b08bf3f8f3ad3577e97243402bad64b79 /grumpy/cgit/templates/ingress.yaml
parentb2630dfd176884f9b33be88f2033b84a1c4dd7cd (diff)
downloadgrumpy-charts-bda8a1c25070678e6efd22003e398691404c832f.tar.gz
feat: switch to kustomize from helm
Diffstat (limited to 'grumpy/cgit/templates/ingress.yaml')
-rw-r--r--grumpy/cgit/templates/ingress.yaml37
1 files changed, 0 insertions, 37 deletions
diff --git a/grumpy/cgit/templates/ingress.yaml b/grumpy/cgit/templates/ingress.yaml
deleted file mode 100644
index 73aa44b..0000000
--- a/grumpy/cgit/templates/ingress.yaml
+++ /dev/null
@@ -1,37 +0,0 @@
-{{- if .Values.ingress.enabled -}}
-{{- $fullName := include "cgit.fullname" . -}}
-{{- $svcPort := .Values.service.port -}}
-apiVersion: extensions/v1beta1
-kind: Ingress
-metadata:
- name: {{ $fullName }}
- labels:
-{{ include "cgit.labels" . | indent 4 }}
- {{- with .Values.ingress.annotations }}
- annotations:
- {{- toYaml . | nindent 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: {{ .host | quote }}
- http:
- paths:
- {{- range .paths }}
- - path: {{ . }}
- backend:
- serviceName: {{ $fullName }}
- servicePort: {{ $svcPort }}
- {{- end }}
- {{- end }}
-{{- end }}