apiVersion: terdut.ryuvia.com/v1alpha1 kind: TerdutServer metadata: labels: app.kubernetes.io/name: terdut-operator app.kubernetes.io/managed-by: kustomize name: terdutserver-sample spec: image: repository: git.ryuvia.com/niklas/terdut-server tag: v0.20.0 replicas: 1 networking: hostname: terdut.example.com servicePort: 8080 # Bring-your-own DSN (simplest path, no external CRD dependency). For the # Zalando postgres-operator path instead, use: # database: # postgresClusterRef: # name: terdut-postgres database: dsn: "postgres://terdut@terdut-postgres:5432/terdut?sslmode=require" passwordSecretRef: name: terdut-postgres-password key: password sweeper: staleAfter: 6h archiveAfter: 168h deadman: matchers: "alertname=Watchdog" timeout: 15m severity: critical passwordLogin: true # Pod-level customization, all optional -- see PodSpec in # api/v1alpha1/terdutserver_types.go for the full shape (tolerations, # affinity, topologySpreadConstraints, securityContext, # serviceAccountName, extraEnv/extraVolumes, imagePullSecrets, # disruptionBudget, ...). Example: # pod: # resources: # requests: {cpu: 100m, memory: 128Mi} # limits: {memory: 256Mi}