- helm
Mostly cloned from [WIP] Adds Gitea to the incubator #3408, and cdrage's original source.
And from this, i upgrade Gitea version to 1.5, modifiy PVC using nfs-client, using initContainers
to initial rights settings.
- manifest
Cloned from jmferrer/gitea-kubernetes and norbertvannobelen/gitea-kubernetes.
And from this, i upgrade Gitea version to 1.5 and modifiy PVC using nfs-client.
- Pre
-
Prepare Kubernetes cluster ready before install Gitea;
-
Prepare ingress, namespace, secret etc.
- 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 asmyvalue.yaml
, then install using Helm:
helm dep up .
helm install --name gitea --namespace env . -f myvalue.yaml
- 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 .