2022-06-28 07:23:42 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: stackspin-gitea-values
|
|
|
|
namespace: stackspout
|
|
|
|
data:
|
2022-06-28 10:07:31 +00:00
|
|
|
values.yaml: |
|
2022-06-28 07:23:42 +00:00
|
|
|
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"
|
2022-06-28 07:23:42 +00:00
|
|
|
hosts:
|
2022-07-18 11:40:14 +00:00
|
|
|
- host: "code.${domain}"
|
2022-06-28 07:23:42 +00:00
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
tls:
|
|
|
|
- secretName: gitea-tls
|
|
|
|
hosts:
|
2022-07-18 11:40:14 +00:00
|
|
|
- "code.${domain}"
|
2022-06-28 10:42:58 +00:00
|
|
|
gitea:
|
2022-12-16 14:06:38 +00:00
|
|
|
# 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"
|
2022-12-16 14:06:38 +00:00
|
|
|
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:
|
2022-07-18 11:40:14 +00:00
|
|
|
ROOT_URL: "https://code.${domain}"
|
2022-12-16 14:06:38 +00:00
|
|
|
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
|