Gitfed
bastien-mrq/gitfed / cmd / gitfed-install / templates / configmap.yaml.tmpl
# Generated by gitfed-install — mirrors deploy/k8s/configmap.yaml's shape
# with the domain/contact this instance was configured with. If that
# checked-in file's structure ever changes, this template needs the same
# change (see manifests.go).
apiVersion: v1
kind: ConfigMap
metadata:
  name: gitfed-config
  namespace: gitfed
data:
  gitfed.json: |
    {
      "domain": "{{.Domain}}",
      "data_dir": "/data",
      "repos_dir": "/data/repos",
      "listen_ssh": ":2222",
      "listen_http": ":8443",
      "contact": "{{.Contact}}",
      "trust_policy": "whitelist",
      "cert_ttl_hours": 24,
      "insecure_federation": false
    }