Skip to content

Commit

Permalink
kube/alrest/gitea: add OnionService
Browse files Browse the repository at this point in the history
Signed-off-by: Xe Iaso <[email protected]>
  • Loading branch information
Xe committed Jan 23, 2025
1 parent 4eb8476 commit 6b3daea
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions kube/alrest/gitea/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ resources:
- pvc.yaml
- 1password.yaml
- deployment.yaml
- onionservice.yaml
- service.yaml
- runner.yaml
#- external-dns.yaml
Expand Down
25 changes: 25 additions & 0 deletions kube/alrest/gitea/onionservice.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: tor.k8s.torproject.org/v1alpha2
kind: OnionService
metadata:
name: git
spec:
version: 3
rules:
- port:
number: 22
name: ssh
backend:
service:
name: git
port:
name: ssh
number: 22
- port:
number: 80
name: http
backend:
service:
name: git
port:
name: http
number: 80

0 comments on commit 6b3daea

Please sign in to comment.