94 lines
2.2 KiB
YAML
94 lines
2.2 KiB
YAML
# Default values for solidtime.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
|
|
image:
|
|
repository: solidtime/solidtime
|
|
pullPolicy: IfNotPresent
|
|
# Overrides the image tag whose default is the chart appVersion.
|
|
tag: "0.10" # 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
|
|
|
|
config:
|
|
# Valid Laravel log levels: debug, info, notice, warning, error, critical, alert, emergency
|
|
logLevel: "error"
|
|
logChannel: "stderr"
|
|
logDeprecationsChannel: null
|
|
|
|
# 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
|
|
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 |