From 12a759f1014bcdb989f0339dd1e9e5c38004ceb8 Mon Sep 17 00:00:00 2001 From: Cas Lubbers Date: Mon, 2 Feb 2026 10:46:12 +0100 Subject: [PATCH] feat: remove thanos --- src/openapi/app.yaml | 1 - src/openapi/settings.yaml | 4 ---- src/otomi-stack.ts | 3 +-- src/validators.ts | 1 - test/apps.yaml | 18 ------------------ test/core.yaml | 13 ------------- 6 files changed, 1 insertion(+), 39 deletions(-) diff --git a/src/openapi/app.yaml b/src/openapi/app.yaml index 36ba2f78..d8ecb22b 100644 --- a/src/openapi/app.yaml +++ b/src/openapi/app.yaml @@ -25,7 +25,6 @@ AppList: - prometheus - rabbitmq - tekton - - thanos - sealed-secrets - trivy diff --git a/src/openapi/settings.yaml b/src/openapi/settings.yaml index ac84535c..ecdb9518 100644 --- a/src/openapi/settings.yaml +++ b/src/openapi/settings.yaml @@ -135,10 +135,6 @@ Settings: type: string $ref: 'definitions.yaml#/wordCharacterPattern' default: gitea - thanos: - type: string - $ref: 'definitions.yaml#/wordCharacterPattern' - default: thanos kubeflow-pipelines: type: string $ref: 'definitions.yaml#/wordCharacterPattern' diff --git a/src/otomi-stack.ts b/src/otomi-stack.ts index b2d0a81f..f8babbbd 100644 --- a/src/otomi-stack.ts +++ b/src/otomi-stack.ts @@ -1,4 +1,4 @@ -import { CoreV1Api, User as k8sUser, KubeConfig, V1ObjectReference } from '@kubernetes/client-node' +import { CoreV1Api, KubeConfig, User as k8sUser, V1ObjectReference } from '@kubernetes/client-node' import Debug from 'debug' import { getRegions, ObjectStorageKeyRegions } from '@linode/api-v4' @@ -322,7 +322,6 @@ export default class OtomiStack { harbor: `lke${lkeClusterId}-harbor`, loki: `lke${lkeClusterId}-loki`, gitea: `lke${lkeClusterId}-gitea`, - thanos: `lke${lkeClusterId}-thanos`, 'kubeflow-pipelines': `lke${lkeClusterId}-kubeflow-pipelines`, } const objectStorageClient = new ObjectStorageClient(data.apiToken) diff --git a/src/validators.ts b/src/validators.ts index 4992c78a..4a070a0d 100644 --- a/src/validators.ts +++ b/src/validators.ts @@ -89,7 +89,6 @@ export const OBJ_STORAGE_APPS = json({ default: [ { appId: 'harbor', required: false }, { appId: 'loki', required: false }, - { appId: 'thanos', required: true }, { appId: 'kubeflow-pipelines', required: true }, ], }) diff --git a/test/apps.yaml b/test/apps.yaml index e267b15a..f6b4797c 100644 --- a/test/apps.yaml +++ b/test/apps.yaml @@ -228,24 +228,6 @@ appsInfo: license: Apache 2.0 about: Sealed Secrets is a Kubernetes Custom Resource Definition Controller which allows you to store even sensitive information in Git repositories. integration: APL uses Sealed Secrets to provide a secure way to store Kubernetes secrets in Git repositories. Sealed Secrets can be used to store secrets in the values repository. - thanos: - title: Thanos - appVersion: 0.36.1 - repo: https://github.com/thanos-io/thanos - maintainers: Thanos - relatedLinks: - - https://thanos.io - license: Apache 2.0 - dependencies: Prometheus, Grafana - about: Thanos is a tool to set up a Highly Available Prometheus with long-term storage capabilities. - integration: APL installs and configures Thanos using sidecars and leverages the central object storage configuration. - isDeprecated: true - deprecationInfo: - message: Thanos is being deprecated. - reasons: - - Since most users opt to store metrics externally, thanos saw limited adoption. - options: - - Click 'I understand' to continue using Thanos trivy: title: Trivy Operator appVersion: 0.28.0 diff --git a/test/core.yaml b/test/core.yaml index fa1c3b47..3ce0c098 100644 --- a/test/core.yaml +++ b/test/core.yaml @@ -58,10 +58,6 @@ k8s: - name: kyverno app: kyverno disableIstioInjection: true - - name: thanos - app: thanos - disableIstioInjection: true - disablePolicyChecks: true - name: tekton-pipelines disableIstioInjection: true disablePolicyChecks: true @@ -223,15 +219,6 @@ adminApps: auth: true removeRequestHeaders: - authorization - - name: thanos - tags: [metrics, observability] - ownHost: true - ingress: - - svc: thanos-query - port: 9090 - namespace: thanos - type: public - auth: true - name: loki tags: [logging, telemetry, observability] deps: [grafana, prometheus]