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: cutover to api key #3503

Merged
merged 1 commit into from
Jan 10, 2025
Merged

feat: cutover to api key #3503

merged 1 commit into from
Jan 10, 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 10, 2025
@smurf-bot
Copy link
Contributor

smurf-bot bot commented Jan 10, 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_APIKEY: '{{ .UNPOLLER_UNIFI_API_KEY }}'
+      engineVersion: v2
+

@smurf-bot
Copy link
Contributor

smurf-bot bot commented Jan 10, 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 c8b50e6 into main Jan 10, 2025
12 checks passed
@joryirving joryirving deleted the feat/unpoller-api-key branch January 10, 2025 22:24
joryirving added a commit that referenced this pull request Jan 10, 2025
@joryirving joryirving restored the feat/unpoller-api-key branch January 10, 2025 22:25
joryirving added a commit that referenced this pull request Jan 10, 2025
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