mirror of
https://gitlab.fabcity.hamburg/software/fab-city-software-kit.git
synced 2024-09-19 20:08:52 +02:00
cleand gitea setup
This commit is contained in:
parent
e9b0aec909
commit
1103256042
11
base/charts/gitea/kustomization.yaml
Normal file
11
base/charts/gitea/kustomization.yaml
Normal 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
|
5
base/charts/gitea/namespace.yaml
Normal file
5
base/charts/gitea/namespace.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: gitea
|
36
base/charts/gitea/values.yaml
Normal file
36
base/charts/gitea/values.yaml
Normal 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
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
namespace: gitea
|
||||
patches:
|
||||
- target:
|
||||
kind: Ingress
|
Loading…
Reference in a new issue