Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Frigate port to be switched to authenticated port #2862

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions community/frigate/1.2.8/ci/basic-values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
frigateNetwork:
webPort: 31000
authenticatedPort: false
enableRtmp: true
rtmpPort: 31001
enableRtsp: true
Expand Down
1 change: 1 addition & 0 deletions community/frigate/1.2.8/ci/extra-values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
frigateNetwork:
webPort: 31000
authenticatedPort: false
enableRtmp: true
rtmpPort: 31001
enableRtsp: true
Expand Down
1 change: 1 addition & 0 deletions community/frigate/1.2.8/ix_values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ frigateNetwork:
hostNetwork: false
# Port numbers ignored if hostNetwork is true
webPort: 30058
authenticatedPort: false
enableRtmp: false
rtmpPort: 30059
enableRtsp: false
Expand Down
9 changes: 8 additions & 1 deletion community/frigate/1.2.8/questions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,20 @@ questions:
label: Web Port
description: |
The port for the Frigate Web UI.</br>
Internal port: 5000
Internal port: 5000/8971
schema:
type: int
default: 30058
min: 9000
max: 65535
required: true
- variable: authenticatedPort
label: Authenticated port
description: |
Switches the web port to point to 8971
schema:
type: boolean
default: false
- variable: enableRtmp
label: Enable RTMP
description: Enable RTMP for Frigate.
Expand Down
2 changes: 1 addition & 1 deletion community/frigate/1.2.8/templates/_service.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ service:
primary: true
port: {{ .Values.frigateNetwork.webPort }}
nodePort: {{ .Values.frigateNetwork.webPort }}
targetPort: 5000
targetPort: {{ ternary 8971 5000 .Values.frigateNetwork.authenticatedPort }}
targetSelector: frigate
{{ if .Values.frigateNetwork.enableRtmp }}
rtmp:
Expand Down
11 changes: 10 additions & 1 deletion community/frigate/app_versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,16 @@
{
"variable": "webPort",
"label": "Web Port",
"description": "The port for the Frigate Web UI.</br>\nInternal port: 5000\n",
"description": "The port for the Frigate Web UI.</br>\nInternal port: 5000/8971\n",
"schema": {
"type": "boolean",
"default": false
}
},
{
"variable": "authenticatedPort",
"label": "Authenticated port",
"description": "Switches the web port to point to 8971",
"schema": {
"type": "int",
"default": 30058,
Expand Down