add app gitea

This commit is contained in:
2024-06-24 21:55:38 +10:00
parent 602cabf041
commit df768c9031
5 changed files with 125 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: gitea-ingress
namespace: gitea
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/use-regex: "true"
spec:
ingressClassName: nginx
rules:
- host: "gitea.cluster.local"
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: gitea
port:
number: 5432
- host: "gitea.cluster.edward.sydney"
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: gitea
port:
number: 5432

View File

@@ -0,0 +1,42 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: gitea
namespace: gitea
spec:
targetNamespace: gitea
chart:
spec:
chart: gitea
sourceRef:
kind: HelmRepository
name: bitnami
namespace: flux-system
interval: 1h
install:
remediation:
retries: 3
values:
adminUsername: bn_user
adminPassword: ""
adminEmail: user@example.com
appName: example
containerPorts:
http: 3003
persistence:
existingClaim: ""
service:
ports:
http: 80
ssh: 22
nodePorts:
http: ""
ssh: ""
postgresql:
enabled: false
externalDatabase:
host: ""
port: 5432
user: postgres
database: gitea
password: ""