Compare commits

...

1 Commits

Author SHA1 Message Date
raucao 199b3e94cf Add gitea namespace 4 years ago
  1. 3
      kubernetes/gitea-db.yaml
  2. 6
      kubernetes/gitea-namespace.yaml
  3. 3
      kubernetes/gitea-server.yaml

3
kubernetes/gitea-db.yaml

@ -2,6 +2,7 @@ apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: gitea-db
namespace: gitea
spec:
replicas: 1
strategy:
@ -46,6 +47,7 @@ apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: gitea-db-data
namespace: gitea
labels:
name: gitea-db-data
spec:
@ -59,6 +61,7 @@ apiVersion: v1
kind: Service
metadata:
name: gitea-db
namespace: gitea
labels:
service: gitea-db
spec:

6
kubernetes/gitea-namespace.yaml

@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: gitea
labels:
app: gitea

3
kubernetes/gitea-server.yaml

@ -2,6 +2,7 @@ apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: gitea-server
namespace: gitea
spec:
replicas: 1
template:
@ -80,6 +81,7 @@ apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: gitea-server-data
namespace: gitea
spec:
accessModes:
- ReadWriteOnce
@ -91,6 +93,7 @@ apiVersion: v1
kind: Service
metadata:
name: gitea-server
namespace: gitea
labels:
name: gitea-server
spec:

Loading…
Cancel
Save