Skip to content

Commit

Permalink
Switching to proper HA
Browse files Browse the repository at this point in the history
  • Loading branch information
danmanners committed Sep 16, 2023
1 parent d2e5b15 commit 055fc88
Showing 1 changed file with 35 additions and 29 deletions.
64 changes: 35 additions & 29 deletions manifests/workloads/gitea/values.yaml
Original file line number Diff line number Diff line change
@@ -1,47 +1,27 @@
replicaCount: 1
replicaCount: 2

global:
imageRegistry: core.harbor.homelab.danmanners.com/docker.io
storageClass: ceph-rbd

persistence:
storageClass: ceph-rbd
storageClass: cephfs
size: 40Gi
accessModes:
- ReadWriteMany

strategy:
type: Recreate

service:
http:
type: ClusterIP
clusterIP: ""
ssh:
type: LoadBalancer
annotations:
metallb.universe.tf/allow-shared-ip: "globalingress-10.4.240.2"
metallb.universe.tf/loadBalancerIPs: 10.4.240.2

ingress:
enabled: true
apiVersion: networking.k8s.io/v1
className: nginx
annotations:
cert-manager.io/cluster-issuer: acme-prod
hosts:
- host: git.homelab.danmanners.com
paths:
- path: /
pathType: Prefix
tls:
- secretName: gitea-cert
hosts:
- git.homelab.danmanners.com
type: RollingUpdate
maxUnavailable: 1
# type: Recreate

gitea:
admin:
existingSecret: gitea-creds
config:
APP_NAME: "Not Your Mommas's GitHub"
cron.GIT_GC_REPOS:
ENABLED: false
additionalConfigSources:
- configMap:
name: gitea-app-ini-plaintext
Expand All @@ -63,6 +43,32 @@ gitea:
name: gitdb-user-creds
key: GITEA_DB_PASSWORD

service:
http:
type: ClusterIP
clusterIP: ""
ssh:
type: LoadBalancer
annotations:
metallb.universe.tf/allow-shared-ip: "globalingress-10.4.240.2"
metallb.universe.tf/loadBalancerIPs: 10.4.240.2

ingress:
enabled: true
apiVersion: networking.k8s.io/v1
className: nginx
annotations:
cert-manager.io/cluster-issuer: acme-prod
hosts:
- host: git.homelab.danmanners.com
paths:
- path: /
pathType: Prefix
tls:
- secretName: gitea-cert
hosts:
- git.homelab.danmanners.com

postgresql-ha:
enabled: false

Expand Down

0 comments on commit 055fc88

Please sign in to comment.