take the secrets out of the gitea values.yaml

This commit is contained in:
2023-11-01 09:36:56 -04:00
parent 3cfb3efedc
commit 3410213913
2 changed files with 82 additions and 1 deletions

View File

@@ -523,13 +523,22 @@ they decide to change things. This is the first chart (besides ingress-nginx) wh
we need to pay attention to the MetalLB annotation. This has been set in the values.yaml
file.
First we need to create the gitea admin secret
```bash
kubectl create secret generic gitea-admin-secret \
--from-literal=username='' \
--from-literal=password='' \
--from-literal=email=''
```
```bash
helm repo add gitea-charts https://dl.gitea.io/charts/
helm repo update
helm upgrade --install \
gitea \
gitea-charts/gitea \
--values secrets/gitea-values.yaml \
--values gitea-values.yaml \
--namespace gitea \
--create-namespace
```