diff options
| author | Max Resnick <max@ofmax.li> | 2021-10-09 23:07:53 -0700 |
|---|---|---|
| committer | Max Resnick <max@ofmax.li> | 2021-10-09 23:28:41 -0700 |
| commit | bda8a1c25070678e6efd22003e398691404c832f (patch) | |
| tree | 6ad3711b08bf3f8f3ad3577e97243402bad64b79 /grumpy/cgit/templates/ingress.yaml | |
| parent | b2630dfd176884f9b33be88f2033b84a1c4dd7cd (diff) | |
| download | grumpy-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.yaml | 37 |
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 }} |