mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
refactoring frigate ingress (#50)
* frigate helm chart Signed-off-by: Jeff Billimek <jeff@billimek.com> * remove trailing spaces * bump chart version * refactoring frigate ingress
This commit is contained in:
parent
201b2a2dc9
commit
d3b3ef83a9
@ -2,7 +2,7 @@ apiVersion: v1
|
|||||||
appVersion: "0.2.0-beta"
|
appVersion: "0.2.0-beta"
|
||||||
description: Realtime object detection on RTSP cameras with the Google Coral
|
description: Realtime object detection on RTSP cameras with the Google Coral
|
||||||
name: frigate
|
name: frigate
|
||||||
version: 0.1.1
|
version: 0.1.2
|
||||||
keywords:
|
keywords:
|
||||||
- tensorflow
|
- tensorflow
|
||||||
- coral
|
- coral
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{{- if .Values.ingress.enabled -}}
|
{{- if .Values.ingress.enabled -}}
|
||||||
{{- $fullName := include "frigate.fullname" . -}}
|
{{- $fullName := include "frigate.fullname" . -}}
|
||||||
|
{{- $ingressPath := .Values.ingress.path -}}
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
@ -23,14 +24,12 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
rules:
|
rules:
|
||||||
{{- range .Values.ingress.hosts }}
|
{{- range .Values.ingress.hosts }}
|
||||||
- host: {{ .host | quote }}
|
- host: {{ . | quote }}
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
{{- range .paths }}
|
- path: {{ $ingressPath }}
|
||||||
- path: {{ . }}
|
|
||||||
backend:
|
backend:
|
||||||
serviceName: {{ $fullName }}
|
serviceName: {{ $fullName }}
|
||||||
servicePort: http
|
servicePort: http
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
@ -105,16 +105,14 @@ service:
|
|||||||
## Set the externalTrafficPolicy in the Service to either Cluster or Local
|
## Set the externalTrafficPolicy in the Service to either Cluster or Local
|
||||||
# externalTrafficPolicy: Cluster
|
# externalTrafficPolicy: Cluster
|
||||||
|
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
annotations: {}
|
annotations: {}
|
||||||
# kubernetes.io/ingress.class: nginx
|
# kubernetes.io/ingress.class: nginx
|
||||||
# kubernetes.io/tls-acme: "true"
|
# kubernetes.io/tls-acme: "true"
|
||||||
|
path: /
|
||||||
hosts:
|
hosts:
|
||||||
- host: chart-example.local
|
- chart-example.local
|
||||||
paths: []
|
|
||||||
|
|
||||||
tls: []
|
tls: []
|
||||||
# - secretName: chart-example-tls
|
# - secretName: chart-example-tls
|
||||||
# hosts:
|
# hosts:
|
||||||
|
Loading…
Reference in New Issue
Block a user