diff --git a/apps/gitea/index.yaml b/apps/gitea/index.yaml index c4388fe..55c5ef8 100644 --- a/apps/gitea/index.yaml +++ b/apps/gitea/index.yaml @@ -9,81 +9,6 @@ metadata: A painless self-hosted Git service. Gitea is a community managed lightweight code hosting solution written in Go. It is published under the MIT license. options: - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - load-balancer: - default: - ip: '' - examples: - - ip: '' - properties: - ip: - default: '' - type: string - type: object - ssh-sub-domain: - default: git - examples: - - git - type: string - release: - default: 8.3.0 - examples: - - 8.3.0 - type: string - ssh-port: - default: 2222 - examples: - - 2222 - type: integer - timezone: - default: Europe/Paris - examples: - - Europe/Paris - type: string - admin: - default: - email: git-admin@git.your_company.com - name: gitea_admin - examples: - - email: git-admin@git.your_company.com - name: gitea_admin - properties: - email: - default: git-admin@git.your_company.com - type: string - name: - default: gitea_admin - type: string - type: object - domain-name: - default: your_company.com - examples: - - your_company.com - type: string - webhook: - default: - allowed-hosts: private - skip-tls-verify: false - examples: - - allowed-hosts: private - skip-tls-verify: false - properties: - allowed-hosts: - default: private - type: string - skip-tls-verify: - default: false - type: boolean - type: object - app-group: - default: dev - examples: - - dev - type: string postgres: default: replicas: 1 @@ -104,93 +29,6 @@ options: default: '14' type: string type: object - redis: - default: - exporter: - enabled: true - image: quay.io/opstree/redis-exporter:v1.44.0 - image: quay.io/opstree/redis:v7.0.12 - storage: 2Gi - examples: - - exporter: - enabled: true - image: quay.io/opstree/redis-exporter:v1.44.0 - image: quay.io/opstree/redis:v7.0.12 - storage: 2Gi - properties: - exporter: - default: - enabled: true - image: quay.io/opstree/redis-exporter:v1.44.0 - properties: - enabled: - default: true - type: boolean - image: - default: quay.io/opstree/redis-exporter:v1.44.0 - type: string - type: object - image: - default: quay.io/opstree/redis:v7.0.12 - type: string - storage: - default: 2Gi - type: string - type: object - volume: - default: - accessMode: ReadWriteOnce - size: 10Gi - examples: - - accessMode: ReadWriteOnce - size: 10Gi - properties: - accessMode: - default: ReadWriteOnce - enum: - - ReadWriteOnce - - ReadOnlyMany - - ReadWriteMany - type: string - size: - default: 10Gi - type: string - type: object - sub-domain: - default: git - examples: - - git - type: string - disable-registration: - default: true - examples: - - true - type: boolean - default-branch: - default: main - examples: - - main - type: string - push-create: - default: - org: 'true' - private: 'false' - user: 'true' - examples: - - org: 'true' - private: 'false' - user: 'true' - properties: - org: - default: 'true' - type: string - private: - default: 'false' - type: string - user: - default: 'true' - type: string - type: object backups: default: enable: false @@ -297,20 +135,10 @@ options: default: false type: boolean type: object - replicas: - default: 1 + sub-domain: + default: git examples: - - 1 - type: integer - theme: - default: gitea-modern - examples: - - gitea-modern - type: string - domain: - default: your-company - examples: - - your-company + - git type: string images: default: @@ -351,11 +179,183 @@ options: type: string type: object type: object + release: + default: 8.3.0 + examples: + - 8.3.0 + type: string + theme: + default: gitea-modern + examples: + - gitea-modern + type: string + push-create: + default: + org: 'true' + private: 'false' + user: 'true' + examples: + - org: 'true' + private: 'false' + user: 'true' + properties: + org: + default: 'true' + type: string + private: + default: 'false' + type: string + user: + default: 'true' + type: string + type: object + load-balancer: + default: + ip: '' + examples: + - ip: '' + properties: + ip: + default: '' + type: string + type: object + webhook: + default: + allowed-hosts: private + skip-tls-verify: false + examples: + - allowed-hosts: private + skip-tls-verify: false + properties: + allowed-hosts: + default: private + type: string + skip-tls-verify: + default: false + type: boolean + type: object + admin: + default: + email: git-admin@git.your_company.com + name: gitea_admin + examples: + - email: git-admin@git.your_company.com + name: gitea_admin + properties: + email: + default: git-admin@git.your_company.com + type: string + name: + default: gitea_admin + type: string + type: object + redis: + default: + exporter: + enabled: true + image: quay.io/opstree/redis-exporter:v1.44.0 + image: quay.io/opstree/redis:v7.0.12 + storage: 2Gi + examples: + - exporter: + enabled: true + image: quay.io/opstree/redis-exporter:v1.44.0 + image: quay.io/opstree/redis:v7.0.12 + storage: 2Gi + properties: + exporter: + default: + enabled: true + image: quay.io/opstree/redis-exporter:v1.44.0 + properties: + enabled: + default: true + type: boolean + image: + default: quay.io/opstree/redis-exporter:v1.44.0 + type: string + type: object + image: + default: quay.io/opstree/redis:v7.0.12 + type: string + storage: + default: 2Gi + type: string + type: object + domain-name: + default: your_company.com + examples: + - your_company.com + type: string ingress-class: default: traefik examples: - traefik type: string + app-group: + default: dev + examples: + - dev + type: string + disable-registration: + default: true + examples: + - true + type: boolean + default-branch: + default: main + examples: + - main + type: string + volume: + default: + accessMode: ReadWriteOnce + size: 10Gi + examples: + - accessMode: ReadWriteOnce + size: 10Gi + properties: + accessMode: + default: ReadWriteOnce + enum: + - ReadWriteOnce + - ReadOnlyMany + - ReadWriteMany + type: string + size: + default: 10Gi + type: string + type: object + domain: + default: your-company + examples: + - your-company + type: string + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + timezone: + default: Europe/Paris + examples: + - Europe/Paris + type: string + ssh-port: + default: 2222 + examples: + - 2222 + type: integer + replicas: + default: 1 + examples: + - 1 + type: integer + ssh-sub-domain: + default: git + examples: + - git + type: string dependencies: - dist: null category: share diff --git a/apps/gitea/inline-config.tf b/apps/gitea/inline-config.tf index d252870..67a5922 100644 --- a/apps/gitea/inline-config.tf +++ b/apps/gitea/inline-config.tf @@ -71,6 +71,7 @@ ENABLE_OPENID_SIGNUP=true REGISTER_EMAIL_CONFIRM=false ENABLE_AUTO_REGISTRATION=true ACCOUNT_LINKING=auto +OPENID_CONNECT_SCOPES=openid email profile EOF } }