From 9f3c3e012bbfba7f86ce039fc08f0695c1714445 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Wed, 2 Oct 2024 22:05:26 +0200 Subject: [PATCH] add kustomization to thanos --- thanos/kustomization.yaml | 11 +++++++++++ thanos/secret-generator.yaml | 10 ++++++++++ 2 files changed, 21 insertions(+) create mode 100644 thanos/kustomization.yaml create mode 100644 thanos/secret-generator.yaml diff --git a/thanos/kustomization.yaml b/thanos/kustomization.yaml new file mode 100644 index 0000000..0bf99cb --- /dev/null +++ b/thanos/kustomization.yaml @@ -0,0 +1,11 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +generators: + - ./secret-generator.yaml +resources: + - ./0-namespace.yaml + - ./1-service-account.yaml + - ./3-querier.yaml + - ./4-storegateway.yaml + - ./5-compactor.yaml + - ./6-receiver.yaml diff --git a/thanos/secret-generator.yaml b/thanos/secret-generator.yaml new file mode 100644 index 0000000..67bbbfe --- /dev/null +++ b/thanos/secret-generator.yaml @@ -0,0 +1,10 @@ +apiVersion: viaduct.ai/v1 +kind: ksops +metadata: + name: secret-generator + annotations: + config.kubernetes.io/function: | + exec: + path: ksops +files: + - ./2-objectstore-secret.enc.yaml