infra/k8s/snipeit/kustomization.yaml
2024-09-02 19:49:23 -07:00

31 lines
858 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_FORCE_TLS=true
- 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