summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-01-09 11:37:55 +0200
committerPaul Buetow <paul@buetow.org>2026-01-09 19:40:51 +0200
commitdb7d6238a50622ee1428fda475548819189f788b (patch)
treed6f79e266685462b1f3db61ab774836f60ba15f8
parent8a109670240c6604767dbf0a3abb933661cbf600 (diff)
Fix cgit port mapping - nginx listens on port 80
The cgit nginx default.conf listens on port 80, not 8080. Update: - Container port from 8080 to 80 - Service targetPort from 8080 to 80
-rw-r--r--f3s/git-server/helm-chart/templates/deployment.yaml2
-rw-r--r--f3s/git-server/helm-chart/templates/service.yaml2
2 files changed, 2 insertions, 2 deletions
diff --git a/f3s/git-server/helm-chart/templates/deployment.yaml b/f3s/git-server/helm-chart/templates/deployment.yaml
index b876e0f..b867add 100644
--- a/f3s/git-server/helm-chart/templates/deployment.yaml
+++ b/f3s/git-server/helm-chart/templates/deployment.yaml
@@ -71,7 +71,7 @@ spec:
spawn-fcgi -s /var/run/fcgiwrap.sock -n -- /usr/bin/fcgiwrap &
exec nginx -g 'daemon off;'
ports:
- - containerPort: 8080
+ - containerPort: 80
name: http
protocol: TCP
env:
diff --git a/f3s/git-server/helm-chart/templates/service.yaml b/f3s/git-server/helm-chart/templates/service.yaml
index 9675e86..b866e7b 100644
--- a/f3s/git-server/helm-chart/templates/service.yaml
+++ b/f3s/git-server/helm-chart/templates/service.yaml
@@ -16,7 +16,7 @@ spec:
- name: http
protocol: TCP
port: 80
- targetPort: 8080
+ targetPort: 80
type: ClusterIP
---
apiVersion: v1