diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-09 11:37:55 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-09 11:37:55 +0200 |
| commit | 33e2bf2c438405f1ffa5c233eda141efdbd8aca2 (patch) | |
| tree | e9e9df6cdce910fac471100a159a0149f0f42083 | |
| parent | a2cde231a624704295524eb1372f51eef8ce955f (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 |
