From 24522ec065e048e075e46ec460d3757b8a15cac5 Mon Sep 17 00:00:00 2001 From: "olof.pettersson" Date: Thu, 11 Dec 2025 16:05:51 +0100 Subject: [PATCH] Rebuild chart --- Chart.yaml | 2 +- values.yaml | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 85 insertions(+), 5 deletions(-) diff --git a/Chart.yaml b/Chart.yaml index 013651c..3753f64 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: solidtime description: A Helm chart for Solidtime Time Tracker type: application -version: 0.1.0 +version: 0.1.1 appVersion: "1.0.0" dependencies: - name: postgresql diff --git a/values.yaml b/values.yaml index 9ba1d98..5782ed6 100644 --- a/values.yaml +++ b/values.yaml @@ -1,8 +1,88 @@ -# defaults.yaml (inside the chart) +# Default values for solidtime. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + image: repository: solidtime/solidtime - tag: latest + pullPolicy: IfNotPresent + # Overrides the image tag whose default is the chart appVersion. + tag: "0.6.2" # or "latest" + +# Global Env Vars for the application +env: + APP_NAME: "Solidtime" + APP_ENV: "production" + APP_DEBUG: "false" + APP_URL: "https://time.northernlighthouseinteractive.com" + + # Database Connection Settings + DB_CONNECTION: "pgsql" + DB_HOST: "shared-db-postgresql.infrastructure.svc.cluster.local" + DB_PORT: "5432" + DB_DATABASE: "solidtime" + DB_USERNAME: "solidtime" + # DB_PASSWORD is provided via the Secret + +# Secret Management +secret: + # If defined, the chart will NOT create a secret but use this one instead. + # This allows you to use Sealed Secrets or External Secrets. + existingSecret: "" + + # If existingSecret is empty, these values will be put into a generated Secret. + # (Leave these blank if using existingSecret) + appKey: "" + dbPassword: "" + service: type: ClusterIP -secret: - existingSecret: "" # Left empty by default \ No newline at end of file + port: 80 + targetPort: 8000 # Solidtime/FrankenPHP listens on 8000 inside container + +ingress: + enabled: false + className: "nginx" + annotations: {} + # cert-manager.io/cluster-issuer: "letsencrypt-prod" + # external-dns.alpha.kubernetes.io/hostname: "time.forge..." + hosts: + - host: chart-example.local + paths: + - path: / + pathType: Prefix + port: 80 # Matches service.port + tls: [] + # - secretName: chart-example-tls + # hosts: + # - chart-example.local + +resources: + # We recommend setting these for production + requests: + cpu: 100m + memory: 128Mi + limits: + cpu: 500m + memory: 512Mi + +# Laravel Queue Worker Configuration +worker: + enabled: true + replicaCount: 1 + command: ["php", "artisan", "queue:work"] + resources: {} + +serviceAccount: + create: true + annotations: {} + name: "" + +podAnnotations: {} +podSecurityContext: {} +securityContext: {} + +autoscaling: + enabled: false + minReplicas: 1 + maxReplicas: 100 + targetCPUUtilizationPercentage: 80 \ No newline at end of file