chore: Update manifests after change

This commit is contained in:
2026-04-11 22:48:56 +00:00
parent 14c4830505
commit 6b2a49ae33
2 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: gitea-custom-templates
namespace: gitea
labels:
app.kubernetes.io/name: gitea-custom-templates
app.kubernetes.io/instance: gitea
app.kubernetes.io/part-of: gitea
data:
header.tmpl: |
<script defer src="https://rybbit.alexlebens.dev/api/script.js" data-website-id="b515c34a6dcc"></script>

View File

@@ -238,6 +238,10 @@ spec:
- mountPath: /data/gitea/public/assets/css - mountPath: /data/gitea/public/assets/css
name: gitea-themes-storage name: gitea-themes-storage
readOnly: true readOnly: true
- mountPath: /data/gitea/templates/custom/header.tmpl
name: gitea-custom-templates
readOnly: true
subPath: header.tmpl
volumes: volumes:
- name: init - name: init
secret: secret:
@@ -250,6 +254,9 @@ spec:
- name: gitea-themes-storage - name: gitea-themes-storage
persistentVolumeClaim: persistentVolumeClaim:
claimName: gitea-themes-storage claimName: gitea-themes-storage
- configMap:
name: gitea-custom-templates
name: gitea-custom-templates
- name: inline-config-sources - name: inline-config-sources
secret: secret:
secretName: gitea-inline-config secretName: gitea-inline-config