change config

This commit is contained in:
2024-07-02 12:23:32 -05:00
parent 0f265187ed
commit 03c76e0303

View File

@@ -4,6 +4,23 @@ gitea:
tag: 1.22.0 tag: 1.22.0
ingress: ingress:
enabled: false enabled: false
className: traefik
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
cert-manager.io/cluster-issuer: letsencrypt-issuer
hosts:
- host: gitea.alexlebens.net
paths:
- path: /
pathType: Prefix
tls:
- secretName: gitea-secret-tls
hosts:
- gitea.alexlebens.net
serviceAccount:
create: true
automountServiceAccountToken: true
gitea: gitea:
admin: admin:
existingSecret: gitea-admin-secret existingSecret: gitea-admin-secret
@@ -11,22 +28,41 @@ gitea:
enabled: true enabled: true
serviceMonitor: serviceMonitor:
enabled: true enabled: true
oauth:
- name: Authentik
provider: openidConnect
existingSecret: gitea-oidc-secret
autoDiscoverUrl: https://auth.alexlebens.dev/application/o/gitea/.well-known/openid-configuration
iconUrl: https://goauthentik.io/img/icon.png
scopes: "email profile"
config: config:
APP_NAME: Gitea
server: server:
LANDING_PAGE: explore PROTOCOL: http
DOMAIN: gitea.alexlebens.dev
ROOT_URL: https://gitea.alexlebens.dev ROOT_URL: https://gitea.alexlebens.dev
LOCAL_ROOT_URL: http://gitea-http.gitea.svc.cluster.local:3000
START_SSH_SERVER: true
SSH_DOMAIN: gitea.alexlebens.dev
SSH_PORT: 22
SSH_LISTEN_PORT: 22
ENABLE_PPROF: true ENABLE_PPROF: true
webhook: LANDING_PAGE: explore
ALLOWED_HOST_LIST: private
scopes: email profile
service:
DISABLE_REGISTRATION: true
SHOW_REGISTRATION_BUTTON: false
explore:
REQUIRE_SIGNIN_VIEW: true
database: database:
DB_TYPE: postgres DB_TYPE: postgres
SCHEMA: public SCHEMA: public
oauth2_client:
ENABLE_AUTO_REGISTRATION: true
service:
REGISTER_MANUAL_CONFIRM: true
SHOW_REGISTRATION_BUTTON: false
ALLOW_ONLY_EXTERNAL_REGISTRATION: true
explore:
REQUIRE_SIGNIN_VIEW: true
webhook:
ALLOWED_HOST_LIST: private
mirror:
DEFAULT_INTERVAL: 10m
additionalConfigFromEnvs: additionalConfigFromEnvs:
- name: GITEA__DATABASE__HOST - name: GITEA__DATABASE__HOST
valueFrom: valueFrom:
@@ -48,13 +84,6 @@ gitea:
secretKeyRef: secretKeyRef:
name: gitea-postgresql-16-cluster-app name: gitea-postgresql-16-cluster-app
key: password key: password
oauth:
- name: Authentik
provider: openidConnect
existingSecret: gitea-oidc-secret
autoDiscoverUrl: https://auth.alexlebens.dev/application/o/gitea/.well-known/openid-configuration
iconUrl: https://goauthentik.io/img/icon.png
scopes: "email profile"
persistence: persistence:
storageClass: ceph-block storageClass: ceph-block
postgresql: postgresql: