This commit is contained in:
2024-06-17 08:09:07 +02:00
parent 06205eba3a
commit 76f0598397
5 changed files with 9 additions and 2047 deletions

View File

@@ -215,8 +215,7 @@ spec:
mountPath: /tmp mountPath: /tmp
- name: data - name: data
mountPath: /data mountPath: /data
- mountPath: /data/gitea/public/css
name: gitea-themes
volumes: volumes:
- name: init - name: init
secret: secret:
@@ -226,9 +225,6 @@ spec:
secret: secret:
secretName: gitea secretName: gitea
defaultMode: 110 defaultMode: 110
- configMap:
name: gitea-themes
name: gitea-themes
- name: inline-config-sources - name: inline-config-sources
secret: secret:
secretName: gitea-inline-config secretName: gitea-inline-config

View File

@@ -56,7 +56,7 @@ data "kubernetes_ingress_v1" "authentik" {
data "kustomization_overlay" "data" { data "kustomization_overlay" "data" {
common_labels = local.common_labels common_labels = local.common_labels
namespace = var.namespace namespace = var.namespace
resources = [for file in fileset(path.module, "*.yaml"): file if ! contains(["index.yaml", "v1_ConfigMap_gitea-themes.yaml"], file)] resources = [for file in fileset(path.module, "*.yaml"): file if ! contains(["index.yaml"], file)]
patches { patches {
target { target {
kind = "Secret" kind = "Secret"

View File

@@ -1,5 +0,0 @@
const NS=config.namespace;
const SRC=src;
fn pre_install() {
shell(`kubectl create -n ${global::NS} -f ${global::SRC}/v1_ConfigMap_gitea-themes.yaml || :`);
}

View File

@@ -161,7 +161,7 @@ options:
pull_policy: IfNotPresent pull_policy: IfNotPresent
registry: docker.io registry: docker.io
repository: gitea/gitea repository: gitea/gitea
tag: 1.21.11-rootless tag: 1.22.0-rootless
postgresql: postgresql:
registry: ghcr.io registry: ghcr.io
repository: cloudnative-pg/postgresql repository: cloudnative-pg/postgresql
@@ -181,7 +181,7 @@ options:
pull_policy: IfNotPresent pull_policy: IfNotPresent
registry: docker.io registry: docker.io
repository: gitea/gitea repository: gitea/gitea
tag: 1.21.11-rootless tag: 1.22.0-rootless
postgresql: postgresql:
registry: ghcr.io registry: ghcr.io
repository: cloudnative-pg/postgresql repository: cloudnative-pg/postgresql
@@ -202,7 +202,7 @@ options:
pull_policy: IfNotPresent pull_policy: IfNotPresent
registry: docker.io registry: docker.io
repository: gitea/gitea repository: gitea/gitea
tag: 1.21.11-rootless tag: 1.22.0-rootless
properties: properties:
pull_policy: pull_policy:
default: IfNotPresent default: IfNotPresent
@@ -218,7 +218,7 @@ options:
default: gitea/gitea default: gitea/gitea
type: string type: string
tag: tag:
default: 1.21.11-rootless default: 1.22.0-rootless
type: string type: string
type: object type: object
postgresql: postgresql:
@@ -493,9 +493,9 @@ options:
- git - git
type: string type: string
theme: theme:
default: gitea-modern default: gitea
examples: examples:
- gitea-modern - gitea
type: string type: string
timezone: timezone:
default: Europe/Paris default: Europe/Paris
@@ -516,6 +516,7 @@ options:
examples: examples:
- external - external
- loopback - loopback
- private
- '*.yourdomain.com' - '*.yourdomain.com'
type: string type: string
skip-tls-verify: skip-tls-verify:

File diff suppressed because it is too large Load Diff