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

Feat/unpoller api key #3505

Merged
merged 2 commits into from
Jan 11, 2025
Merged

Feat/unpoller api key #3505

merged 2 commits into from
Jan 11, 2025

Conversation

joryirving
Copy link
Owner

No description provided.

@smurf-bot smurf-bot bot added area/kubernetes Changes made in the kubernetes directory cluster/main labels Jan 11, 2025
@smurf-bot
Copy link
Contributor

smurf-bot bot commented Jan 11, 2025

--- kubernetes/main/apps/observability/exporters/unpoller/app Kustomization: flux-system/unpoller ExternalSecret: observability/unpoller-secret

+++ kubernetes/main/apps/observability/exporters/unpoller/app Kustomization: flux-system/unpoller ExternalSecret: observability/unpoller-secret

@@ -1,25 +0,0 @@

----
-apiVersion: external-secrets.io/v1beta1
-kind: ExternalSecret
-metadata:
-  labels:
-    app.kubernetes.io/name: unpoller
-    kustomize.toolkit.fluxcd.io/name: unpoller
-    kustomize.toolkit.fluxcd.io/namespace: flux-system
-  name: unpoller-secret
-  namespace: observability
-spec:
-  dataFrom:
-  - extract:
-      key: unifi
-  secretStoreRef:
-    kind: ClusterSecretStore
-    name: onepassword-connect
-  target:
-    name: unpoller-secret
-    template:
-      data:
-        UP_UNIFI_DEFAULT_PASS: '{{ .UNPOLLER_UNIFI_PASS }}'
-        UP_UNIFI_DEFAULT_USER: '{{ .UNPOLLER_UNIFI_USER }}'
-      engineVersion: v2
-
--- kubernetes/main/apps/observability/exporters/unpoller/app Kustomization: flux-system/unpoller HelmRelease: observability/unpoller

+++ kubernetes/main/apps/observability/exporters/unpoller/app Kustomization: flux-system/unpoller HelmRelease: observability/unpoller

@@ -35,16 +35,16 @@

           app:
             env:
               UP_INFLUXDB_DISABLE: true
               UP_UNIFI_DEFAULT_URL: https://192.168.1.1
             envFrom:
             - secretRef:
-                name: unpoller-secret
+                name: unpoller
             image:
               repository: ghcr.io/unpoller/unpoller
-              tag: v2.13.1@sha256:2376aff5e18b8f9fdd618becc2ef668ce31deb4c0e74acc5bea88e6c20c23a39
+              tag: v2.14.0@sha256:6e9eb4a34b8d976e398511766281ec51946aafa51b5f563fca9238656eeaa118
             probes:
               liveness:
                 enabled: true
               readiness:
                 enabled: true
             resources:
--- kubernetes/main/apps/observability/exporters/unpoller/app Kustomization: flux-system/unpoller ExternalSecret: observability/unpoller

+++ kubernetes/main/apps/observability/exporters/unpoller/app Kustomization: flux-system/unpoller ExternalSecret: observability/unpoller

@@ -0,0 +1,24 @@

+---
+apiVersion: external-secrets.io/v1beta1
+kind: ExternalSecret
+metadata:
+  labels:
+    app.kubernetes.io/name: unpoller
+    kustomize.toolkit.fluxcd.io/name: unpoller
+    kustomize.toolkit.fluxcd.io/namespace: flux-system
+  name: unpoller
+  namespace: observability
+spec:
+  dataFrom:
+  - extract:
+      key: unifi
+  secretStoreRef:
+    kind: ClusterSecretStore
+    name: onepassword-connect
+  target:
+    name: unpoller
+    template:
+      data:
+        UP_UNIFI_DEFAULT_API_KEY: '{{ .UNPOLLER_UNIFI_API_KEY }}'
+      engineVersion: v2
+

@smurf-bot
Copy link
Contributor

smurf-bot bot commented Jan 11, 2025

--- HelmRelease: observability/unpoller Deployment: observability/unpoller

+++ HelmRelease: observability/unpoller Deployment: observability/unpoller

@@ -44,14 +44,14 @@

         - name: UP_INFLUXDB_DISABLE
           value: 'true'
         - name: UP_UNIFI_DEFAULT_URL
           value: https://192.168.1.1
         envFrom:
         - secretRef:
-            name: unpoller-secret
-        image: ghcr.io/unpoller/unpoller:v2.13.1@sha256:2376aff5e18b8f9fdd618becc2ef668ce31deb4c0e74acc5bea88e6c20c23a39
+            name: unpoller
+        image: ghcr.io/unpoller/unpoller:v2.14.0@sha256:6e9eb4a34b8d976e398511766281ec51946aafa51b5f563fca9238656eeaa118
         livenessProbe:
           failureThreshold: 3
           initialDelaySeconds: 0
           periodSeconds: 10
           tcpSocket:
             port: 9130

@joryirving joryirving merged commit c3221bd into main Jan 11, 2025
12 checks passed
@joryirving joryirving deleted the feat/unpoller-api-key branch January 11, 2025 01:39
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