Skip to content

Commit

Permalink
Fixing deployment values for Gitea
Browse files Browse the repository at this point in the history
  • Loading branch information
danmanners committed Sep 16, 2023
1 parent 8ce2c4f commit 836156a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions manifests/workloads/gitea/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,13 @@ helmCharts:
repo: https://dl.gitea.io/charts
version: 9.4.0
valuesFile: values.yaml

patches:
- patch: |
apiVersion: v1
kind: Service
metadata:
name: gitea-ssh
namespace: git
spec:
loadBalancerClass: metallb
3 changes: 3 additions & 0 deletions manifests/workloads/gitea/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ persistence:
storageClass: ceph-rbd

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

0 comments on commit 836156a

Please sign in to comment.