cleand gitea setup

This commit is contained in:
Sebastian Wendel 2022-07-30 21:13:13 +02:00
parent e9b0aec909
commit 1103256042
No known key found for this signature in database
GPG key ID: 1422B7DF78144640
4 changed files with 53 additions and 0 deletions

View file

@ -0,0 +1,11 @@
---
namespace: gitea
resources:
- namespace.yaml
helmCharts:
- name: gitea
version: v5.0.9
releaseName: fcos-gitea
namespace: gitea
repo: https://dl.gitea.io/charts/
valuesFile: values.yaml

View file

@ -0,0 +1,5 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: gitea

View file

@ -0,0 +1,36 @@
# https://gitea.com/gitea/helm-chart/src/branch/master/values.yaml
---
service:
http:
type: ClusterIP
port: 3000
clusterIP:
ssh:
type: ClusterIP
port: 22
clusterIP:
ingress:
enabled: true
apiVersion: networking.k8s.io/v1
annotations:
kubernetes.io/ingress.class: nginx
kubernetes.io/tls-acme: "true"
hosts:
- host: code.localhost
paths:
- path: /
pathType: Prefix
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 100m
memory: 128Mi
gitea:
config:
APP_NAME: "Fab City Codebase"
log:
ENABLE_ACCESS_LOG: true
metrics:
enabled: true

View file

@ -1,4 +1,5 @@
---
namespace: gitea
patches:
- target:
kind: Ingress