diff --git a/apps/gitea/index.yaml b/apps/gitea/index.yaml index ae8152b..031ee4e 100644 --- a/apps/gitea/index.yaml +++ b/apps/gitea/index.yaml @@ -9,73 +9,59 @@ 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 + theme: + default: gitea-modern examples: - - letsencrypt-prod + - gitea-modern type: string - release: - default: 8.3.0 + ssh-port: + default: 2222 examples: - - 8.3.0 - type: string - default-branch: - default: main - examples: - - main - type: string - admin: + - 2222 + type: integer + load-balancer: default: - email: git-admin@git.your_company.com - name: gitea_admin + ip: '' examples: - - email: git-admin@git.your_company.com - name: gitea_admin + - ip: '' properties: - email: - default: git-admin@git.your_company.com - type: string - name: - default: gitea_admin + ip: + default: '' type: string type: object - volume: - default: - accessMode: ReadWriteOnce - size: 10Gi + domain-name: + default: your_company.com examples: - - accessMode: ReadWriteOnce - size: 10Gi - properties: - accessMode: - default: ReadWriteOnce - enum: - - ReadWriteOnce - - ReadOnlyMany - - ReadWriteMany - type: string - size: - default: 10Gi - type: string - type: object - postgres: - default: - replicas: 1 - storage: 10Gi - version: '14' + - your_company.com + type: string + ssh-sub-domain: + default: git examples: - - replicas: 1 - storage: 10Gi - version: '14' + - git + type: string + timezone: + default: Europe/Paris + examples: + - Europe/Paris + type: string + push-create: + default: + org: 'true' + private: 'false' + user: 'true' + examples: + - org: 'true' + private: 'false' + user: 'true' properties: - replicas: - default: 1 - type: integer - storage: - default: 10Gi + org: + default: 'true' type: string - version: - default: '14' + private: + default: 'false' + type: string + user: + default: 'true' type: string type: object redis: @@ -111,86 +97,120 @@ options: default: 2Gi type: string type: object - replicas: - default: 1 + issuer: + default: letsencrypt-prod examples: - - 1 - type: integer + - letsencrypt-prod + type: string + postgres: + default: + replicas: 1 + storage: 10Gi + version: '14' + examples: + - replicas: 1 + storage: 10Gi + version: '14' + properties: + replicas: + default: 1 + type: integer + storage: + default: 10Gi + type: string + version: + default: '14' + type: string + type: object + default-branch: + default: main + examples: + - main + 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 + release: + default: 8.3.0 + examples: + - 8.3.0 + type: string domain: default: your-company examples: - your-company type: string - domain-name: - default: your_company.com + ingress-class: + default: traefik examples: - - your_company.com - type: string - disable-registration: - default: true - examples: - - true - type: boolean - 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 - timezone: - default: Europe/Paris - examples: - - Europe/Paris - type: string - app-group: - default: dev - examples: - - dev + - traefik type: string sub-domain: default: git examples: - git type: string - ssh-sub-domain: - default: git + disable-registration: + default: true examples: - - git + - true + type: boolean + app-group: + default: dev + examples: + - dev type: string - ssh-port: - default: 2222 + replicas: + default: 1 examples: - - 2222 + - 1 type: integer - ingress-class: - default: traefik + webhook: + default: + allowed-hosts: private + skip-tls-verify: false examples: - - traefik - type: string + - allowed-hosts: private + skip-tls-verify: false + properties: + allowed-hosts: + default: private + type: string + skip-tls-verify: + default: false + type: boolean + 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 backups: default: enable: false @@ -336,26 +356,6 @@ options: type: string type: object type: object - theme: - default: gitea-modern - examples: - - gitea-modern - 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 dependencies: - dist: null category: share diff --git a/apps/gitea/presentation.tf b/apps/gitea/presentation.tf index b79471f..70b0357 100644 --- a/apps/gitea/presentation.tf +++ b/apps/gitea/presentation.tf @@ -64,7 +64,7 @@ module "oauth2" { namespace = var.namespace labels = local.common-labels dns-name = local.dns-name - redirect-path = "" + redirect-path = "user/oauth2/vynil/callback" providers = { kubernetes = kubernetes kubectl = kubectl