https://github.com/isaron/gitea-kubernetes
Setup Gitea on Kubernetes
https://github.com/isaron/gitea-kubernetes
gitea helm-chart k8s kubernetes
Last synced: 12 months ago
JSON representation
Setup Gitea on Kubernetes
- Host: GitHub
- URL: https://github.com/isaron/gitea-kubernetes
- Owner: isaron
- License: apache-2.0
- Created: 2018-09-06T08:42:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-08T09:38:25.000Z (over 7 years ago)
- Last Synced: 2024-11-05T19:43:49.040Z (over 1 year ago)
- Topics: gitea, helm-chart, k8s, kubernetes
- Language: Smarty
- Homepage:
- Size: 19.5 KB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Setup Gitea on Kubernetes Cluster
## Cloned from
1. helm
Mostly cloned from [[WIP] Adds Gitea to the incubator #3408](https://github.com/helm/charts/pull/3408), and [cdrage's original source](https://github.com/cdrage/charts/tree/add-gitea/incubator/gitea).
And from this, i upgrade Gitea version to 1.5, modifiy PVC using nfs-client, using `initContainers` to initial rights settings.
2. manifest
Cloned from [jmferrer/gitea-kubernetes](https://github.com/jmferrer/gitea-kubernetes) and [norbertvannobelen/gitea-kubernetes](https://github.com/norbertvannobelen/gitea-kubernetes).
And from this, i upgrade Gitea version to 1.5 and modifiy PVC using nfs-client.
## Two ways to setup Gitea on Kubernetes cluster
0. Pre
- Prepare Kubernetes cluster ready before install Gitea;
- Prepare ingress, namespace, secret etc.
1. Helm
- Clone this repo first:
```
git clone https://github.com/isaron/gitea-kubernetes.git && cd gitea-kubernetes/helm
```
- Check `values.yaml` if you want modify yours config, and save as `myvalue.yaml`, then install using Helm:
```
helm dep up .
helm install --name gitea --namespace env . -f myvalue.yaml
```
2. Manifest
- Clone this repo first:
```
git clone https://github.com/isaron/gitea-kubernetes.git && cd gitea-kubernetes/manifest
```
- Check all files and save them, then install:
```
chmod +x createConfigMap.sh && ./createConfigMap.sh
kubectl apply -f .
```