system-config/kubernetes/gitea/k8s/service.yaml
James E. Blair 232f739e5d Fix gitea k8s files
The secret file needs different yaml template handling due to
multiline strings, and the service has a duplicate name.

Change-Id: I9930c4ff713ba87e1b4c819f6c80cab5b0ffd165
2019-02-14 16:39:12 -08:00

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