diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-09 11:37:55 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-09 19:40:51 +0200 |
| commit | db7d6238a50622ee1428fda475548819189f788b (patch) | |
| tree | d6f79e266685462b1f3db61ab774836f60ba15f8 | |
| parent | 8a109670240c6604767dbf0a3abb933661cbf600 (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.yaml | 2 | ||||
| -rw-r--r-- | f3s/git-server/helm-chart/templates/service.yaml | 2 |
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 |
