mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
13 lines
482 B
Bash
13 lines
482 B
Bash
#!/usr/bin/env sh
|
|
|
|
# Set Gitea up in Kubernetes
|
|
kubectl --namespace 'gitea' create secret generic 'gitea-admin-secret' \
|
|
--from-literal 'username=gitea_admin' --from-literal "password=Scribble0-Tray1-Finisher4"
|
|
helm upgrade -i -n 'gitea' --create-namespace --repo 'https://dl.gitea.com/charts/' 'gitea' 'gitea' -f 'values.yaml'
|
|
|
|
# Access the container when using docker compose
|
|
docker exec -ti 'gitea-server-1' sh
|
|
|
|
# Generate self-signed certificates
|
|
gitea cert --host 'gitea.lan'
|