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

chore(go2rtc): switch to configmap #942

Merged
merged 1 commit into from
Jun 7, 2024
Merged
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
10 changes: 6 additions & 4 deletions kubernetes/main/apps/default/go2rtc/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: go2rtc
name: &app go2rtc
spec:
interval: 2h
chart:
Expand All @@ -26,6 +26,8 @@ spec:
values:
controllers:
go2rtc:
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
Expand All @@ -40,7 +42,7 @@ spec:
enabled: false
service:
app:
controller: go2rtc
controller: *app
type: LoadBalancer
annotations:
external-dns.alpha.kubernetes.io/hostname: go2rtc-streams.18b.haus
Expand Down Expand Up @@ -71,8 +73,8 @@ spec:
- *host
persistence:
config:
name: go2rtc
type: secret
name: *app
type: configMap
advancedMounts:
go2rtc:
app:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./secret.sops.yaml
- ./helmrelease.yaml
configMapGenerator:
- name: go2rtc
files:
- ./resources/go2rtc.yaml
generatorOptions:
disableNameSuffixHash: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
api:
listen: ":1984"
rtsp:
listen: ":554"
webrtc:
listen: ":8555"
26 changes: 0 additions & 26 deletions kubernetes/main/apps/default/go2rtc/app/secret.sops.yaml

This file was deleted.