From 5331f8956610a08efdc3a055e33db80eeb1e52f2 Mon Sep 17 00:00:00 2001 From: titver968 Date: Fri, 14 Nov 2025 07:34:32 +0100 Subject: [PATCH] plane db connection --- argocd/apps/plane/values-plane.yaml | 39 +++++++++++++++++++---------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/argocd/apps/plane/values-plane.yaml b/argocd/apps/plane/values-plane.yaml index 54cad28..1907b74 100644 --- a/argocd/apps/plane/values-plane.yaml +++ b/argocd/apps/plane/values-plane.yaml @@ -48,21 +48,21 @@ spec: # Redis - lokales Setup redis: local_setup: true - assign_cluster_ip: true + assign_cluster_ip: false storageClass: "" volumeSize: 500Mi # PostgreSQL - lokales Setup postgres: local_setup: true - assign_cluster_ip: true + assign_cluster_ip: false storageClass: "" volumeSize: 5Gi # RabbitMQ - lokales Setup rabbitmq: local_setup: true - assign_cluster_ip: true + assign_cluster_ip: false storageClass: "" volumeSize: 500Mi default_user: plane @@ -72,29 +72,42 @@ spec: minio: local_setup: false - # Worker Konfiguration + # API mit direkter DATABASE_URL + api: + replicas: 1 + memoryLimit: 2Gi + cpuLimit: 1000m + env: + - name: DATABASE_URL + value: "postgresql://plane:plane@plane-pgdb:5432/plane" + + # Worker mit direkter DATABASE_URL worker: replicas: 1 memoryLimit: 8Gi cpuLimit: 1500m cpuRequest: 500m memoryRequest: 6Gi + env: + - name: DATABASE_URL + value: "postgresql://plane:plane@plane-pgdb:5432/plane" - # API Konfiguration - api: + # Beat Worker mit direkter DATABASE_URL + beatworker: replicas: 1 - memoryLimit: 2Gi - cpuLimit: 1000m + env: + - name: DATABASE_URL + value: "postgresql://plane:plane@plane-pgdb:5432/plane" - # Umgebungsvariablen - DAS IST DER WICHTIGSTE TEIL! + # Umgebungsvariablen env: - # PostgreSQL - KEINE remote_url bei local_setup! + # PostgreSQL - KEINE remote_url! pgdb_username: plane pgdb_password: plane pgdb_name: plane pgdb_remote_url: "" - # Redis - KEINE remote_url bei local_setup! + # Redis - KEINE remote_url! remote_redis_url: "" # S3/MinIO Konfiguration @@ -105,8 +118,8 @@ spec: aws_region: "eu-central-1" aws_s3_endpoint_url: "https://sws3.innovation-hub-niedersachsen.de" - # KRITISCH: Deine Cluster Domain! - default_cluster_domain: cluster.local + # Cluster Domain auf Standard zurück + default_cluster_domain: "cluster.local" destination: server: 'https://kubernetes.default.svc'