infra/k8s/snipeit/kustomization.yaml
2024-08-07 18:51:51 -07:00

30 lines
831 B
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: snipeit
resources:
- namespace.yaml
- database.yaml
- statefulset.yaml
- ingress.yaml
- secrets.yaml
configMapGenerator:
- name: snipe-config
literals:
- MYSQL_DATABASE=snipe
- MYSQL_USER=snipe
- DB_CONNECTION=mysql
- DB_HOST=mysql
- APP_URL=https://snipe.herzfeld.casa
- APP_TIMEZONE=US/Pacific
- APP_LOCALE=en-US
- MAIL_MAILER=smtp
- MAIL_HOST=mx1.janky.email
- MAIL_PORT=587
- MAIL_ENV_FROM_ADDR=snipe@herzfeld.casa
- MAIL_ENV_FROM_NAME=Herzfeld Stuff Management
- MAIL_ENV_ENCRYPTION=tls
- MAIL_USERNAME=snipe@herzfeld.casa
- MAIL_TLS_VERIFY_PEER=true
- ENABLE_HSTS=true
- APP_TRUSTED_PROXIES=10.42.0.0/24
- SECURE_COOKIES=true