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

chore(go2rtc): switch to configmap #942

merged 1 commit into from
Jun 7, 2024

Conversation

martinohmann
Copy link
Owner

No description provided.

@github-actions github-actions bot added area/kubernetes Changes made in the kubernetes directory cluster/main labels Jun 7, 2024
Copy link

github-actions bot commented Jun 7, 2024

kustomization changes in kubernetes/main

--- kubernetes/main/apps/default/go2rtc/app Kustomization: flux-system/go2rtc HelmRelease: default/go2rtc

+++ kubernetes/main/apps/default/go2rtc/app Kustomization: flux-system/go2rtc HelmRelease: default/go2rtc

@@ -27,12 +27,14 @@

     cleanupOnFail: true
     remediation:
       retries: 3
   values:
     controllers:
       go2rtc:
+        annotations:
+          reloader.stakater.com/auto: 'true'
         containers:
           app:
             image:
               repository: ghcr.io/alexxit/go2rtc
               tag: 1.9.3@sha256:aff58d47b5c2802c59e9514d3f58f5c8e935fbf7200de80566eb7dcb6a84358c
             probes:
@@ -63,13 +65,13 @@

         advancedMounts:
           go2rtc:
             app:
             - path: /config/go2rtc.yaml
               subPath: go2rtc.yaml
         name: go2rtc
-        type: secret
+        type: configMap
     service:
       app:
         annotations:
           external-dns.alpha.kubernetes.io/hostname: go2rtc-streams.18b.haus
           io.cilium/lb-ipam-ips: 192.168.40.246
         controller: go2rtc
--- kubernetes/main/apps/default/go2rtc/app Kustomization: flux-system/go2rtc ConfigMap: default/go2rtc

+++ kubernetes/main/apps/default/go2rtc/app Kustomization: flux-system/go2rtc ConfigMap: default/go2rtc

@@ -0,0 +1,20 @@

+---
+apiVersion: v1
+data:
+  go2rtc.yaml: |
+    ---
+    api:
+      listen: ":1984"
+    rtsp:
+      listen: ":554"
+    webrtc:
+      listen: ":8555"
+kind: ConfigMap
+metadata:
+  labels:
+    app.kubernetes.io/name: go2rtc
+    kustomize.toolkit.fluxcd.io/name: go2rtc
+    kustomize.toolkit.fluxcd.io/namespace: flux-system
+  name: go2rtc
+  namespace: default
+

Copy link

github-actions bot commented Jun 7, 2024

helmrelease changes in kubernetes/main

--- HelmRelease: default/go2rtc Deployment: default/go2rtc

+++ HelmRelease: default/go2rtc Deployment: default/go2rtc

@@ -5,12 +5,14 @@

   name: go2rtc
   labels:
     app.kubernetes.io/component: go2rtc
     app.kubernetes.io/instance: go2rtc
     app.kubernetes.io/managed-by: Helm
     app.kubernetes.io/name: go2rtc
+  annotations:
+    reloader.stakater.com/auto: 'true'
 spec:
   revisionHistoryLimit: 3
   replicas: 1
   strategy:
     type: Recreate
   selector:
@@ -37,10 +39,10 @@

         name: app
         volumeMounts:
         - mountPath: /config/go2rtc.yaml
           name: config
           subPath: go2rtc.yaml
       volumes:
-      - name: config
-        secret:
-          secretName: go2rtc
+      - configMap:
+          name: go2rtc
+        name: config
 

@martinohmann martinohmann merged commit 53cfea8 into main Jun 7, 2024
7 checks passed
@martinohmann martinohmann deleted the go2rtc/config branch June 7, 2024 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kubernetes Changes made in the kubernetes directory cluster/main
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant