stackspout/basic/apps/code/gitea-values-configmap.yaml

57 lines
1.5 KiB
YAML
Raw Normal View History

apiVersion: v1
kind: ConfigMap
metadata:
name: stackspin-gitea-values
namespace: stackspout
data:
values.yaml: |
ingress:
enabled: true
2022-06-30 13:37:48 +00:00
annotations:
kubernetes.io/tls-acme: "true"
2022-10-06 09:12:14 +00:00
nginx.ingress.kubernetes.io/proxy-body-size: "50m"
hosts:
- host: "code.${domain}"
paths:
- path: /
pathType: Prefix
tls:
- secretName: gitea-tls
hosts:
- "code.${domain}"
2022-06-28 10:42:58 +00:00
gitea:
# https://gitea.com/gitea/helm-chart/src/branch/main#oauth2-settings
2022-06-28 10:42:58 +00:00
oauth:
- name: Stackspin
2022-06-30 13:37:48 +00:00
provider: "openidConnect"
2022-06-29 21:33:54 +00:00
key: "${client_id}"
2022-06-28 10:42:58 +00:00
secret: "${client_secret}"
2022-06-30 13:37:48 +00:00
autoDiscoverUrl: "https://sso.${domain}/.well-known/openid-configuration"
iconUrl: "https://dashboard.${domain}/favicon-32x32.png"
# https://docs.gitea.io/en-us/config-cheat-sheet
2022-06-30 13:37:48 +00:00
config:
2022-11-18 02:51:59 +00:00
repository:
DEFAULT_PUSH_CREATE_PRIVATE: false
ENABLE_PUSH_CREATE_USER: true
ENABLE_PUSH_CREATE_ORG: true
2022-06-30 13:37:48 +00:00
server:
ROOT_URL: "https://code.${domain}"
LANDING_PAGE: login
2022-12-18 17:45:48 +00:00
openid:
ENABLE_OPENID_SIGNUP: true
2022-11-08 10:33:31 +00:00
service:
2022-12-22 14:52:53 +00:00
DISABLE_REGISTRATION: false
2023-02-06 10:49:56 +00:00
ALLOW_ONLY_EXTERNAL_REGISTRATION: true
2022-08-03 21:27:08 +00:00
log:
LEVEL: "Trace"
2022-07-04 10:18:51 +00:00
persistence:
enabled: true
existingClaim: gitea-data
postgresql:
persistence:
enabled: true
existingClaim: gitea-postgres
2022-11-09 12:42:31 +00:00
service:
ssh:
hostPort: 22