Add gitea/services.yaml
This commit is contained in:
parent
f0287154f2
commit
d0632b0173
30
gitea/services.yaml
Normal file
30
gitea/services.yaml
Normal file
@ -0,0 +1,30 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
kubectl.kubernetes.io/last-applied-configuration: '{"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"labels":{"app":"gitea"},"name":"gitea","namespace":"gitea"},"spec":{"ports":[{"name":"http","port":3000,"targetPort":3000},{"name":"ssh","port":22,"targetPort":22}],"selector":{"app":"gitea"},"type":"ClusterIP"}}
|
||||
|
||||
'
|
||||
labels:
|
||||
app: gitea
|
||||
name: gitea
|
||||
namespace: gitea
|
||||
spec:
|
||||
internalTrafficPolicy: Cluster
|
||||
ipFamilies:
|
||||
- IPv4
|
||||
ipFamilyPolicy: SingleStack
|
||||
ports:
|
||||
- name: http
|
||||
port: 3000
|
||||
protocol: TCP
|
||||
targetPort: 3000
|
||||
- name: ssh
|
||||
port: 22
|
||||
protocol: TCP
|
||||
targetPort: 22
|
||||
selector:
|
||||
app: gitea
|
||||
sessionAffinity: None
|
||||
type: ClusterIP
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user