apps/code: open port 22 for gitea
This commit is contained in:
parent
4134834d52
commit
41fb358312
|
@ -0,0 +1,7 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: tcp-services
|
||||||
|
namespace: stackspout
|
||||||
|
data:
|
||||||
|
22: "gitea:22"
|
|
@ -0,0 +1,18 @@
|
||||||
|
# https://metallb.org/usage/
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: gitea-ssh
|
||||||
|
namespace: stackspout
|
||||||
|
annotations:
|
||||||
|
metallb.universe.tf/allow-shared-ip: "share-ipv4"
|
||||||
|
spec:
|
||||||
|
type: LoadBalancer
|
||||||
|
loadBalancerIP: "${ip_address}"
|
||||||
|
ports:
|
||||||
|
- name: ssh
|
||||||
|
protocol: TCP
|
||||||
|
port: 22
|
||||||
|
targetPort: 22
|
||||||
|
selector:
|
||||||
|
app: gitea
|
Loading…
Reference in New Issue