diff --git a/clusters/default/git-ops/gitea/gitea-svc.yml b/clusters/default/git-ops/gitea/gitea-svc.yml index 7782ebe..cc6a5ea 100644 --- a/clusters/default/git-ops/gitea/gitea-svc.yml +++ b/clusters/default/git-ops/gitea/gitea-svc.yml @@ -12,20 +12,10 @@ spec: - port: 3011 targetPort: 3000 protocol: TCP - ---- -apiVersion: v1 -kind: Service -metadata: - name: gitea-ssh-service - namespace: git-ops -spec: - type: LoadBalancer - selector: - app: gitea-app - ports: + name: http - port: 222 targetPort: 22 + name: ssh --- apiVersion: v1 diff --git a/clusters/default/git-ops/gitea/gitea.yml b/clusters/default/git-ops/gitea/gitea.yml index 3fa85da..8a95bb3 100644 --- a/clusters/default/git-ops/gitea/gitea.yml +++ b/clusters/default/git-ops/gitea/gitea.yml @@ -32,7 +32,9 @@ spec: image: gitea/gitea:1.24.6 ports: - containerPort: 22 + name: ssh - containerPort: 3000 + name: http env: - name: USER_UID value: "1000"