Fully disable of SSH setup if SSH is not enabled #321
Labels
No Label
has
backport
in progress
invalid
kind
breaking
kind
bug
kind
build
kind
dependency
kind
deployment
kind
docs
kind
enhancement
kind
feature
kind
lint
kind
proposal
kind
question
kind
refactor
kind
security
kind
testing
kind
translation
kind
ui
need
backport
priority
critical
priority
low
priority
maybe
priority
medium
reviewed
duplicate
reviewed
invalid
reviewed
wontfix
skip-changelog
status
blocked
status
needs-feedback
status
needs-reviews
status
wip
upstream
gitea
upstream
other
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/helm-chart#321
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
While installing Gitea, the ssh is been disabled.
The requirement is to remove the ssh-svc as well when ssh is disabled in Gitea.
Below are the comment as received in Gitea.
The SSH Service is disabled , but the SVC shows the port 22. The port 22 is been scanned by the scanner and report the issue.
It's not related to Gitea itself, but docker-compose/helmchart or other methods you used to deploy Gitea.
For helmchart, see: https://gitea.com/gitea/helm-chart/src/branch/master/templates/gitea/ssh-svc.yaml
You could propose PRs on the helmchar repository.
Hi
Please suggest If the ssh-svc can be removed while installing Gitea.
Of course, if ssh has been disabled, there would be no need for the service. Feel free to provide a PR for this Issue.
Hi @AnkitShankdhar. If I understand you correctly, you are talking about a way to completely disable any SSH related feature within the Helm Chart. Is this correct?
In that case there would be a few things to do:
.Values.service.ssh
app.ini
composingIMO the enable/disable logic of
.Values.service.ssh
would be the feature toggle for the SSH capability. Without a Kubernetes service as centralized endpoint for incoming SSH traffic, no SSH logic inside Gitea allows for accessing it via SSH, AFAIK.helm-chart/templates/gitea/ssh-svc.yamlto Fully disable of SSH setup if SSH is not enabled