58 lines
1.4 KiB
YAML
58 lines
1.4 KiB
YAML
shortcuts:
|
|
hostname: tandoor.badhouseplants.net
|
|
ext-database:
|
|
enabled: true
|
|
name: tandoor-postgres16
|
|
instance: postgres16
|
|
credentials:
|
|
POSTGRES_HOST: "{{ .Hostname }}"
|
|
POSTGRES_PORT: "{{ .Port }}"
|
|
workload:
|
|
kind: Deployment
|
|
strategy:
|
|
type: RollingUpdate
|
|
containers:
|
|
tandoor:
|
|
securityContext:
|
|
runAsUser: 1001
|
|
runAsGroup: 1001
|
|
fsGroup: 1001
|
|
envFrom:
|
|
- main
|
|
- secrets
|
|
- secretRef:
|
|
name: tandoor-postgres16-creds
|
|
extraVolumes:
|
|
common:
|
|
path: /opt/recipes
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 8080
|
|
initialDelaySeconds: 10
|
|
failureThreshold: 30
|
|
periodSeconds: 10
|
|
ingress:
|
|
main:
|
|
class: traefik
|
|
annotations:
|
|
kubernetes.io/ingress.class: traefik
|
|
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
|
|
kubernetes.io/tls-acme: "true"
|
|
kubernetes.io/ingress.allow-http: "false"
|
|
kubernetes.io/ingress.global-static-ip-name: ""
|
|
cert-manager.io/cluster-issuer: badhouseplants-issuer-http01
|
|
extraVolumes:
|
|
common:
|
|
emptyDir: {}
|
|
env:
|
|
main:
|
|
enabled: true
|
|
sensitive: false
|
|
data:
|
|
DB_ENGINE: django.db.backends.postgresql
|
|
SOCIAL_PROVIDERS: allauth.socialaccount.providers.openid_connect
|
|
REMOTE_USER_AUTH: 1
|
|
SOCIAL_DEFAULT_ACCESS: 1
|
|
SOCIAL_DEFAULT_GROUP: guest
|