stack/kustomizations/forgejo/kustomization.yaml

34 lines
787 B
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: forgejo
resources:
- namespace.yaml
- resources.yaml
- ingress.yaml
patches:
- path: forgejo-env-vars.patch.yaml
target:
group: apps
version: v1
kind: StatefulSet
name: forgejo
- path: forgejo-ssh-keys.patch.yaml
target:
group: apps
version: v1
kind: StatefulSet
name: forgejo
generators:
- secret-generator.yaml
configMapGenerator:
- name: forgejo-config
literals:
- GITEA__DEFAULT__APP_NAME=Forgejo
- GITEA__SERVER__DOMAIN=forgejo.distrust.co
- GITEA__SERVER__SSH_DOMAIN=forgejo.distrust.co
- GITEA__SERVER__ROOT_URL=https://forgejo.distrust.co
- GITEA__SERVICE__NO_REPLY_ADDRESS=noreply.distrust.co
- name: forgejo-config-template
files:
- app_template.ini