This commit is contained in:
2026-05-05 00:26:41 +02:00
commit 7587c86541
32 changed files with 33914 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
# https://kubernetes.io/docs/concepts/configuration/secret/
apiVersion: v1
kind: Secret
metadata:
name: gitea-admin
namespace: devops
type: Opaque
stringData:
username: admin
password: SuperSecertPassword1234
# Example:
# password: {{ .Values.password | b64enc }}
---

View File

@@ -0,0 +1,50 @@
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
name: gitea
namespace: devops
spec:
repo: https://dl.gitea.io/charts/
chart: gitea
targetNamespace: devops
version: 12.5.3
valuesContent: |-
image:
registry: docker.io
repository: commitgo/gitea-ee
tag: 25.4.3
rootless: true
pullPolicy: IfNotPresent
service:
http:
type: ClusterIP
ssh:
type: ClusterIP
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: traefik
hosts:
- host: gitea.milasholsting.dk
paths:
- path: /
pathType: Prefix
tls:
- secretName: gitea-tls
hosts:
- gitea.milasholsting.dk
gitea:
admin:
existingSecret: gitea-admin
config:
server:
DOMAIN: gitea.milasholsting.dk
ROOT_URL: https://gitea.milasholsting.dk/
persistence:
size: 20Gi
storageClass: local-path

View File

@@ -0,0 +1,46 @@
apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
name: gitea
namespace: devops
spec:
valuesContent: |-
image:
registry: docker.io
repository: commitgo/gitea-ee
tag: 25.4.3
rootless: true
pullPolicy: IfNotPresent
service:
http:
type: ClusterIP
ssh:
type: ClusterIP
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: traefik
hosts:
- host: gitea.milasholsting.dk
paths:
- path: /
pathType: Prefix
tls:
- secretName: gitea-tls
hosts:
- gitea.milasholsting.dk
gitea:
admin:
existingSecret: gitea-admin
config:
server:
DOMAIN: gitea.milasholsting.dk
ROOT_URL: https://gitea.milasholsting.dk/
persistence:
size: 20Gi
storageClass: local-path

View File

@@ -0,0 +1,6 @@
namespace: devops
resources:
- ./namespace.yaml
- ./gitea-admin-secret.yaml
- ./gitea.yaml

View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: devops