diff --git a/clusters/cl01tl/helm/gitea/templates/config-map.yaml b/clusters/cl01tl/helm/gitea/templates/config-map.yaml new file mode 100644 index 000000000..d22f2f861 --- /dev/null +++ b/clusters/cl01tl/helm/gitea/templates/config-map.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: gitea-custom-templates + namespace: {{ .Release.Namespace }} + labels: + app.kubernetes.io/name: gitea-custom-templates + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/part-of: {{ .Release.Name }} +data: + header.tmpl: | + diff --git a/clusters/cl01tl/helm/gitea/values.yaml b/clusters/cl01tl/helm/gitea/values.yaml index b4590f9dd..b3520d2d9 100644 --- a/clusters/cl01tl/helm/gitea/values.yaml +++ b/clusters/cl01tl/helm/gitea/values.yaml @@ -32,6 +32,9 @@ gitea: - name: gitea-themes-storage persistentVolumeClaim: claimName: gitea-themes-storage + - name: gitea-custom-templates + configMap: + name: gitea-custom-templates extraInitVolumeMounts: - name: gitea-themes-storage readOnly: false @@ -40,6 +43,10 @@ gitea: - name: gitea-themes-storage readOnly: true mountPath: /data/gitea/public/assets/css + - name: gitea-custom-templates + mountPath: /data/gitea/templates/custom/header.tmpl + subPath: header.tmpl + readOnly: true initPreScript: | wget https://github.com/catppuccin/gitea/releases/latest/download/catppuccin-gitea.tar.gz; tar -xvzf catppuccin-gitea.tar.gz -C /data/gitea/public/assets/css;