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: actually include new vm admin token #315

Merged
merged 1 commit into from
Dec 20, 2024
Merged

Conversation

bo0tzz
Copy link
Member

@bo0tzz bo0tzz commented Dec 20, 2024

gdi

Copy link

--- kubernetes/apps/monitoring/victoria-metrics/ingress Kustomization: flux-system/cf-workers-metrics-ingress OnePasswordItem: monitoring/vmetrics-admin-token

+++ kubernetes/apps/monitoring/victoria-metrics/ingress Kustomization: flux-system/cf-workers-metrics-ingress OnePasswordItem: monitoring/vmetrics-admin-token

@@ -0,0 +1,13 @@

+---
+apiVersion: onepassword.com/v1
+kind: OnePasswordItem
+metadata:
+  labels:
+    app.kubernetes.io/name: cf-workers-metrics-ingress
+    kustomize.toolkit.fluxcd.io/name: cf-workers-metrics-ingress
+    kustomize.toolkit.fluxcd.io/namespace: flux-system
+  name: vmetrics-admin-token
+  namespace: monitoring
+spec:
+  itemPath: vaults/Kubernetes/items/vmetrics_admin_token
+
--- kubernetes/apps/monitoring/victoria-metrics/ingress Kustomization: flux-system/cf-workers-metrics-ingress VMUser: monitoring/admin

+++ kubernetes/apps/monitoring/victoria-metrics/ingress Kustomization: flux-system/cf-workers-metrics-ingress VMUser: monitoring/admin

@@ -0,0 +1,23 @@

+---
+apiVersion: operator.victoriametrics.com/v1beta1
+kind: VMUser
+metadata:
+  labels:
+    app.kubernetes.io/name: cf-workers-metrics-ingress
+    kustomize.toolkit.fluxcd.io/name: cf-workers-metrics-ingress
+    kustomize.toolkit.fluxcd.io/namespace: flux-system
+    vm-user: admin
+  name: admin
+  namespace: monitoring
+spec:
+  targetRefs:
+  - crd:
+      kind: VMSingle
+      name: vmetrics
+      namespace: monitoring
+    paths:
+    - /api/v1/admin
+  tokenRef:
+    key: token
+    name: vmetrics-admin-token
+
--- kubernetes/apps/monitoring-dev/victoria-metrics/ingress Kustomization: flux-system/cf-workers-metrics-ingress-dev OnePasswordItem: monitoring-dev/vmetrics-admin-token

+++ kubernetes/apps/monitoring-dev/victoria-metrics/ingress Kustomization: flux-system/cf-workers-metrics-ingress-dev OnePasswordItem: monitoring-dev/vmetrics-admin-token

@@ -0,0 +1,13 @@

+---
+apiVersion: onepassword.com/v1
+kind: OnePasswordItem
+metadata:
+  labels:
+    app.kubernetes.io/name: cf-workers-metrics-ingress-dev
+    kustomize.toolkit.fluxcd.io/name: cf-workers-metrics-ingress-dev
+    kustomize.toolkit.fluxcd.io/namespace: flux-system
+  name: vmetrics-admin-token
+  namespace: monitoring-dev
+spec:
+  itemPath: vaults/Kubernetes/items/vmetrics_admin_token
+
--- kubernetes/apps/monitoring-dev/victoria-metrics/ingress Kustomization: flux-system/cf-workers-metrics-ingress-dev VMUser: monitoring-dev/admin

+++ kubernetes/apps/monitoring-dev/victoria-metrics/ingress Kustomization: flux-system/cf-workers-metrics-ingress-dev VMUser: monitoring-dev/admin

@@ -0,0 +1,23 @@

+---
+apiVersion: operator.victoriametrics.com/v1beta1
+kind: VMUser
+metadata:
+  labels:
+    app.kubernetes.io/name: cf-workers-metrics-ingress-dev
+    kustomize.toolkit.fluxcd.io/name: cf-workers-metrics-ingress-dev
+    kustomize.toolkit.fluxcd.io/namespace: flux-system
+    vm-user: admin
+  name: admin
+  namespace: monitoring-dev
+spec:
+  targetRefs:
+  - crd:
+      kind: VMSingle
+      name: vmetrics-dev
+      namespace: monitoring-dev
+    paths:
+    - /api/v1/admin
+  tokenRef:
+    key: token
+    name: vmetrics-admin-token
+

@zackpollard zackpollard merged commit 26400fe into main Dec 20, 2024
2 checks passed
@zackpollard zackpollard deleted the fix/vm-admin-token branch December 20, 2024 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants