updating unifi from helm/charts PR

Signed-off-by: Jeff Billimek <jeff@billimek.com>
This commit is contained in:
Jeff Billimek 2018-09-19 11:47:05 +00:00
parent a034c3157f
commit 4c009b2379
8 changed files with 18 additions and 19 deletions

View File

@ -1,10 +1,10 @@
apiVersion: v1
appVersion: 5.8.28
description: Ubiqiti Network's Unifi Controller
appVersion: 5.8.30
description: Ubiquiti Network's Unifi Controller
name: unifi
version: 0.1.0
version: 0.1.8
keywords:
- ubiqiti
- ubiquiti
- unifi
- mongodb
home: https://github.com/jacobalberty/unifi-docker

View File

@ -11,7 +11,7 @@ spec:
type: {{ .Values.controllerService.type }}
ports:
- port: {{ .Values.controllerService.port }}
targetPort: 8080
targetPort: controller
protocol: TCP
name: controller
selector:

View File

@ -24,28 +24,28 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: gui
containerPort: {{ .Values.guiService.port }}
- name: https-gui
containerPort: 8443
protocol: TCP
- name: controller
containerPort: {{ .Values.controllerService.port }}
containerPort: 8080
protocol: TCP
- name: discovery
containerPort: {{ .Values.discoveryService.port }}
containerPort: 10001
protocol: UDP
- name: stun
containerPort: {{ .Values.stunService.port }}
containerPort: 3478
protocol: UDP
livenessProbe:
httpGet:
path: /status
port: gui
port: https-gui
scheme: HTTPS
initialDelaySeconds: 30
readinessProbe:
httpGet:
path: /status
port: gui
port: https-gui
scheme: HTTPS
initialDelaySeconds: 15
env:

View File

@ -11,7 +11,7 @@ spec:
type: {{ .Values.discoveryService.type }}
ports:
- port: {{ .Values.discoveryService.port }}
targetPort: http
targetPort: discovery
protocol: UDP
name: discovery
selector:

View File

@ -37,10 +37,10 @@ spec:
{{ toYaml .Values.guiService.externalIPs | indent 4 }}
{{- end }}
ports:
- name: https
- name: https-gui
port: {{ .Values.guiService.port }}
protocol: TCP
targetPort: 8443
targetPort: https-gui
{{ if (and (eq .Values.guiService.type "NodePort") (not (empty .Values.guiService.nodePort))) }}
nodePort: {{.Values.guiService.nodePort}}
{{ end }}

View File

@ -1,6 +1,5 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "unifi.fullname" . -}}
{{- $servicePort := .Values.guiService.port -}}
{{- $ingressPath := .Values.ingress.path -}}
apiVersion: extensions/v1beta1
kind: Ingress
@ -34,6 +33,6 @@ spec:
- path: {{ $ingressPath }}
backend:
serviceName: {{ $fullName }}-gui
servicePort: {{ $servicePort }}
servicePort: https-gui
{{- end }}
{{- end }}

View File

@ -11,7 +11,7 @@ spec:
type: {{ .Values.stunService.type }}
ports:
- port: {{ .Values.stunService.port }}
targetPort: 10001
targetPort: stun
protocol: UDP
name: stun
selector:

View File

@ -6,7 +6,7 @@ replicaCount: 1
image:
repository: jacobalberty/unifi
tag: 5.8.28
tag: 5.8.30
pullPolicy: IfNotPresent
guiService: