Skip to content
Snippets Groups Projects
Commit d276c680 authored by xeruf's avatar xeruf
Browse files

code: add ssh redirection for gitea

parent 8f0637d2
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,9 @@ data:
config:
server:
ROOT_URL: "https://code.${domain}"
# START_SSH_SERVER: true
service:
DISABLE_REGISTRATION: true
log:
LEVEL: "Trace"
persistence:
......
---
# https://metallb.org/usage/
#apiVersion: metallb.io/v1beta1
apiVersion: v1
kind: Service
metadata:
name: gitea-ssh
namespace: kube-system
annotations:
#metallb.universe.tf/allow-shared-ip: "key-to-share-1.2.3.4"
spec:
type: LoadBalancer
loadBalancerIP: "${ip_address}"
ports:
- name: ssh
protocol: SSH
port: 22
targetPort: 22
selector:
app: gitea
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
kind: Kustomization
metadata:
name: kube-system-config
namespace: flux-system
spec:
interval: 1h
timeout: 20m
dependsOn:
- name: metallb
sourceRef:
kind: GitRepository
name: stackspout
path: ./basic/config/kube-system
prune: true
postBuild:
substituteFrom:
- kind: Secret
name: stackspin-cluster-variables
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment