From 476768ff09aec8026683f169e608741ce4be4064 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Thu, 3 Oct 2024 14:31:58 +0200 Subject: [PATCH] add prometheus label to longhorn namespace --- longhorn/kustomization.yaml | 1 + longhorn/namespace.yaml | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 longhorn/namespace.yaml diff --git a/longhorn/kustomization.yaml b/longhorn/kustomization.yaml index ed3016a..589339e 100644 --- a/longhorn/kustomization.yaml +++ b/longhorn/kustomization.yaml @@ -6,3 +6,4 @@ resources: - ./recurringjobs.yaml - ./storageclass.yaml - ./volumesnapshotclass.yaml + - ./namespace.yaml diff --git a/longhorn/namespace.yaml b/longhorn/namespace.yaml new file mode 100644 index 0000000..824ec10 --- /dev/null +++ b/longhorn/namespace.yaml @@ -0,0 +1,6 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: longhorn-system + labels: + prometheus: yolokube