108 lines
1.9 KiB
YAML
108 lines
1.9 KiB
YAML
---
|
|
ns:
|
|
enabled: true
|
|
name: gitea-service
|
|
istio:
|
|
enabled: true
|
|
istio:
|
|
- name: gitea-http
|
|
gateway: badhouseplants-net
|
|
hostname: git.badhouseplants.net
|
|
service: gitea-http
|
|
port: 3000
|
|
templates:
|
|
- |
|
|
{{ range .Values.istio }}
|
|
apiVersion: networking.istio.io/v1beta1
|
|
kind: VirtualService
|
|
metadata:
|
|
name: {{ .name }}
|
|
spec:
|
|
gateways:
|
|
- "istio-system/{{ .gateway }}"
|
|
hosts:
|
|
- {{ .hostname }}
|
|
http:
|
|
- match:
|
|
- uri:
|
|
prefix: /
|
|
route:
|
|
- destination:
|
|
host: {{ .service }}
|
|
port:
|
|
number: {{ .port }}
|
|
{{ end }}
|
|
replicaCount: 1
|
|
clusterDomain: cluster.local
|
|
|
|
resources:
|
|
limits:
|
|
cpu: 300m
|
|
memory: 512Mi
|
|
requests:
|
|
cpu: 50m
|
|
memory: 128Mi
|
|
|
|
persistence:
|
|
enabled: true
|
|
size: 10Gi
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
labels: {}
|
|
annotations: {}
|
|
|
|
memcached:
|
|
enabled: true
|
|
service:
|
|
port: 11211
|
|
resources:
|
|
requests:
|
|
cpu: 10mi
|
|
postgresql:
|
|
auth:
|
|
postgresPassword: check
|
|
enabled: true
|
|
global:
|
|
postgresql:
|
|
servicePort: 5432
|
|
persistence:
|
|
size: 10Gi
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
|
|
ingress:
|
|
enabled: false
|
|
|
|
gitea:
|
|
config:
|
|
APP_NAME: Bad Houseplants Gitea
|
|
ui:
|
|
meta:
|
|
AUTHOR: Bad Houseplants
|
|
DESCRIPTION: by allanger
|
|
repository:
|
|
DEFAULT_BRANCH: main
|
|
service:
|
|
DISABLE_REGISTRATION: true
|
|
server:
|
|
DOMAIN: git.badhouseplants.net
|
|
ROOT_URL: https://git.badhouseplants.net
|
|
packages:
|
|
ENABLED: true
|
|
cron:
|
|
enabled: true
|
|
attachment:
|
|
MAX_SIZE: 100
|
|
statefulset:
|
|
env:
|
|
- name: DOMAIN
|
|
value: git.badhouseplants.net
|
|
- name: START_SSH_SERVER
|
|
value: "true"
|
|
service:
|
|
ssh:
|
|
type: ClusterIP
|
|
port: 22
|
|
clusterIP:
|