
This adds k8s resource definitions for running gitea, and an ansible playbook to create them. It also includes ansible playbooks to create orgs and repos. Change-Id: Ib64597512c6a85d7e1495d18ae42b242f9af5a67
19 lines
290 B
YAML
19 lines
290 B
YAML
kind: Service
|
|
apiVersion: v1
|
|
metadata:
|
|
name: gitea-service
|
|
namespace: gitea
|
|
spec:
|
|
selector:
|
|
app: gitea
|
|
ports:
|
|
- protocol: TCP
|
|
port: 80
|
|
targetPort: 3000
|
|
name: http
|
|
- protocol: TCP
|
|
port: 22
|
|
targetPort: 22
|
|
name: ssh
|
|
type: LoadBalancer
|