You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
98 lines
2.0 KiB
98 lines
2.0 KiB
global:
|
|
imageRegistry: ""
|
|
|
|
|
|
ingress:
|
|
enabled: true
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: "root-ca-issuer"
|
|
cert-manager.io/duration: 8760h
|
|
cert-manager.io/renew-before: 720h
|
|
konghq.com/protocols: https
|
|
konghq.com/https-redirect-status-code: "301"
|
|
|
|
hosts:
|
|
- host: gitea.example.org
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
host: gitea.example.org
|
|
secretName: gitea-tls
|
|
|
|
# 사설 인증서를 사용 시 아래 내용 추가
|
|
extraVolumes:
|
|
- name: keycloak-tls
|
|
secret:
|
|
secretName: keycloak.example.org-tls
|
|
|
|
extraContainerVolumeMounts:
|
|
- name: keycloak-tls
|
|
mountPath: /etc/ssl/certs/ca.crt
|
|
subPath: ca.crt
|
|
|
|
## pod 설정
|
|
replicaCount: 1
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 300Mi
|
|
limits:
|
|
cpu: 300m
|
|
memory: 500Mi
|
|
|
|
persistence:
|
|
enabled: true
|
|
storageClass: ""
|
|
size: "10Gi"
|
|
|
|
|
|
## 같은 네임스페이스에 postgresql 배포 가정
|
|
gitea:
|
|
admin:
|
|
username: sudouser
|
|
password: Paasadm1234!
|
|
email: "sudouser@cro.com"
|
|
config:
|
|
APP_NAME: paasup git
|
|
RUN_MODE: prod
|
|
server:
|
|
ROOT_URL: https://gitea.example.org
|
|
database:
|
|
DB_TYPE: postgres
|
|
HOST: postgresql-postgresql-ha-postgresql:5432
|
|
NAME: gitea
|
|
USER: gitea
|
|
PASSWD: Paasadm1234!
|
|
CHARSET: utf8
|
|
SCHEMA: gitea
|
|
SSL_MODE: disable
|
|
session:
|
|
PROVIDER: postgres
|
|
PROVIDER_CONFIG: user=gitea password=Paasadm1234! host=postgresql-postgresql-ha-postgresql port=5432 dbname=gitea_session sslmode=disable
|
|
COOKIE_NAME: i_hate_gitea
|
|
service:
|
|
DEFAULT_ALLOW_CREATE_ORGANIZATION: true
|
|
repository:
|
|
DEFAULT_BRANCH: master
|
|
oauth:
|
|
- name: keycloak'
|
|
provider: "openidConnect"
|
|
key: "gitea"
|
|
secret: "VWIjYDNosSlPseEo5Uo8nkP3OHO4MigC"
|
|
autoDiscoverUrl: http://keycloak/realms/paasup/.well-known/openid-configuration
|
|
|
|
|
|
|
|
postgresql:
|
|
enabled: false
|
|
|
|
postgresql-ha:
|
|
enabled: false
|
|
|
|
valkey:
|
|
enabled: false
|
|
|
|
valkey-cluster:
|
|
enabled: false |