Skip to content

Latest commit

 

History

History
46 lines (39 loc) · 1.91 KB

README.md

File metadata and controls

46 lines (39 loc) · 1.91 KB

Gitea

Gitea is a small and lightweight Git hosting service that more closely resembles Github.

Items

  • values.yaml file used for installing with Helm w/ default entries.
  • application.yaml file used with ArgoCD to automate management of the service.

Prerequisites

Installation

ArgoCD

  1. Make modifications to application.yaml file so it points to where you are storing your values.file.
  2. Install the application and wait for the service to appear.
kubectl apply -f application.yaml

Helm

  1. Modify the values.yaml file to suit your environment. You can store this values file locally or remotely in a private repository.
  2. Add service chart to Helm.
helm repo add gitea https://dl.gitea.io/charts
  1. Install the service using Helm. Either leave out the --version parameter OR change the value to match the CHART version you require.
helm upgrade --install gitea gitea/gitea -n gitea --create-namespace -f values.yaml --version 10.4.0 --atomic

Updating

ArgoCD

Update the application file for the service to use the version you want OR modify the Application in the WebUI by editing the details of the Application and change the chart version to the version you want to upgrade to.

Helm

Replay the installation steps above.

Uninstalling

ArgoCD

Uninstalling the application file directly does not function currently. You have to navigate to the Application in the ArgoCD and delete the application from there. Select 'Foreground'(preferred) or 'Background' to remove the resources OR 'Non-cascading' if you wish to uninstall the application but leave the services there.

Helm

  1. Uninstall the chart using Helm.
helm uninstall gitea -n gitea