232f739e5d
The secret file needs different yaml template handling due to multiline strings, and the service has a duplicate name. Change-Id: I9930c4ff713ba87e1b4c819f6c80cab5b0ffd165
23 lines
367 B
YAML
23 lines
367 B
YAML
kind: Service
|
|
apiVersion: v1
|
|
metadata:
|
|
name: gitea-service
|
|
namespace: gitea
|
|
spec:
|
|
selector:
|
|
app: gitea
|
|
ports:
|
|
- protocol: TCP
|
|
port: 80
|
|
targetPort: 3080
|
|
name: http
|
|
- protocol: TCP
|
|
port: 443
|
|
targetPort: 3000
|
|
name: https
|
|
- protocol: TCP
|
|
port: 22
|
|
targetPort: 22
|
|
name: ssh
|
|
type: LoadBalancer
|