cleaned gitea setup

This commit is contained in:
Sebastian Wendel 2022-07-30 21:16:42 +02:00
parent 1103256042
commit 8464d257d3
No known key found for this signature in database
GPG key ID: 1422B7DF78144640
3 changed files with 1 additions and 51 deletions

View file

@ -1,20 +0,0 @@
---
resources:
- namespace.yaml
helmCharts:
- name: gitea
version: v5.0.9
releaseName: fcos-gitea
namespace: gitea
repo: https://dl.gitea.io/charts/
valuesFile: values.yaml
patches:
- target:
{ kind: ServiceAccount|Secret|Deployment|Service|Pod|StatefulSet|Ingress }
patch: |-
- op: add
path: /metadata/namespace
value: gitea
- op: replace
path: /metadata/namespace
value: gitea

View file

@ -1,30 +0,0 @@
---
# https://gitea.com/gitea/helm-chart/#user-content-parameters
service:
http:
type: ClusterIP
port: 3000
clusterIP:
ssh:
type: ClusterIP
port: 22
clusterIP:
ingress:
enabled: true
apiVersion: networking.k8s.io/v1
# className: nginx
# annotations:
# kubernetes.io/ingress.class: nginx
hosts:
- host: code.localhost
paths:
- path: /
pathType: Prefix
gitea:
# https://docs.gitea.io/en-us/config-cheat-sheet/
config:
APP_NAME: "Fab City Codebase"
log:
ENABLE_ACCESS_LOG: true

View file

@ -2,4 +2,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: gitea
name: keycloak