Add incngrnt website along with gitea runner to build it

This commit is contained in:
Grant
2025-03-16 19:05:50 -06:00
parent 2830ed72c1
commit 38a6ee61c9
10 changed files with 65 additions and 33 deletions

View File

@@ -115,6 +115,15 @@ PGPASSWORD=$(kubectl -n datastore get secrets "postgres-pguser-grant" -o go-tem
kubectl -n datastore exec -it "$PRIMARY_POD" -- psql -c 'DROP DATABASE gitea;'
kubectl -n datastore exec -it "$PRIMARY_POD" -- createdb --encoding=UTF8 --locale=C --template=template0 --owner=gitea gitea
```
create runner token
```sh
kubectl exec -it <pod> -- gitea --config /data/gitea/conf/app.ini actions generate-runner-token
kubectl create secret generic gitea-runner-token --from-literal=token='<token>'
```
allow priviledge pods
```sh
kubectl label namespace gitea pod-security.kubernetes.io/enforce=privileged
```
#### Ghost Blogs
I got tired of fighting the docker container so I manually overrode the `config.production.json`