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

fix(zigbee2mqtt): adjust privileges, restore from basement #4249

Merged
merged 1 commit into from
Jan 1, 2025

Conversation

tyriis
Copy link
Owner

@tyriis tyriis commented Jan 1, 2025

No description provided.

Copy link

sonarqubecloud bot commented Jan 1, 2025

@tyriis-automation
Copy link
Contributor

--- kubernetes/talos-flux/apps/home-automation/zigbee2mqtt/app Kustomization: flux-system/zigbee2mqtt HelmRelease: home-automation/zigbee2mqtt

+++ kubernetes/talos-flux/apps/home-automation/zigbee2mqtt/app Kustomization: flux-system/zigbee2mqtt HelmRelease: home-automation/zigbee2mqtt

@@ -80,12 +80,14 @@

               startup:
                 enabled: true
             resources:
               requests:
                 cpu: 50m
                 memory: 100Mi
+            securityContext:
+              privileged: true
           zigbee2mqtt-exporter:
             env:
               TZ: Europe/Vienna
               ZIGBEE2MQTT_WS: ws://127.0.0.1:8080/api
             image:
               repository: ghcr.io/tyriis/zigbee2mqtt-exporter
--- kubernetes/talos-flux/apps/home-automation/zigbee2mqtt/app Kustomization: flux-system/zigbee2mqtt ReplicationDestination: home-automation/zigbee2mqtt-data

+++ kubernetes/talos-flux/apps/home-automation/zigbee2mqtt/app Kustomization: flux-system/zigbee2mqtt ReplicationDestination: home-automation/zigbee2mqtt-data

@@ -23,12 +23,12 @@

     copyMethod: Snapshot
     enableFileDeletion: true
     moverSecurityContext:
       fsGroup: 1000
       runAsGroup: 1000
       runAsUser: 1000
-    repository: zigbee2mqtt-basement-volsync
+    repository: zigbee2mqtt-downstairs-volsync
     storageClassName: ceph-block
     volumeSnapshotClassName: csi-ceph-blockpool
   trigger:
     manual: restore-once

@tyriis-automation
Copy link
Contributor

--- HelmRelease: home-automation/zigbee2mqtt Deployment: home-automation/zigbee2mqtt

+++ HelmRelease: home-automation/zigbee2mqtt Deployment: home-automation/zigbee2mqtt

@@ -117,12 +117,14 @@

             port: 8080
           timeoutSeconds: 1
         resources:
           requests:
             cpu: 50m
             memory: 100Mi
+        securityContext:
+          privileged: true
         startupProbe:
           failureThreshold: 3
           initialDelaySeconds: 0
           periodSeconds: 10
           tcpSocket:
             port: 8080

@tyriis tyriis merged commit 1632994 into main Jan 1, 2025
16 checks passed
@tyriis tyriis deleted the feature/zigbee2mqtt branch January 1, 2025 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant