Adding recent AGENTS file and recent README
This commit is contained in:
+35
-6
@@ -160,8 +160,20 @@ USER='moritz'
|
||||
PASSWORD='xxx'
|
||||
docker run --entrypoint htpasswd --rm registry:2 -Bbn $USER $PASSWORD
|
||||
# #
|
||||
helm upgrade --install --create-namespace docker-registry stable/docker-registry -n development -f development/registry.secret.yaml
|
||||
##kubectl apply -f development/registry.secret.yaml
|
||||
# 1. Add the modern repo
|
||||
helm repo add twuni https://twuni.github.io/docker-registry.helm
|
||||
helm repo update
|
||||
|
||||
# 2. Install the new one
|
||||
helm upgrade --install docker-registry twuni/docker-registry \
|
||||
--namespace development \
|
||||
--create-namespace \
|
||||
-f development/registry.secret.yaml
|
||||
|
||||
### 3. Verification
|
||||
Once deployed, verify you can login from your local machine:
|
||||
```bash
|
||||
docker login registry.haumdaucher.de -u moritz
|
||||
```
|
||||
|
||||
### creating docker-pull-secret
|
||||
@@ -169,14 +181,14 @@ helm upgrade --install --create-namespace docker-registry stable/docker-registry
|
||||
Create credentials secret [according to docu](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/#create-a-secret-by-providing-credentials-on-the-command-line):
|
||||
|
||||
```sh
|
||||
namespaces="datalab moritz web"
|
||||
namespaces="datalab moritz web haumdaucher"
|
||||
# the following is ONLY required to update the secret file!!
|
||||
for i in $( echo $namespaces ) ; do
|
||||
kubectl create secret docker-registry registry-haumdaucher-de \
|
||||
-n $i \
|
||||
--docker-server=registry.haumdaucher.de \
|
||||
--docker-username=moritz \
|
||||
--docker-password='xxx' \
|
||||
--docker-password='xxxxxxx' \
|
||||
--docker-email=moritz@moritzgraf.de \
|
||||
--dry-run -o yaml > ./${i}/docker-pull.yaml.secret
|
||||
done
|
||||
@@ -352,7 +364,7 @@ helm repo update
|
||||
helm upgrade --install robusta robusta/robusta -n robusta -f ./robusta/robusta.yaml
|
||||
```
|
||||
|
||||
## gitea
|
||||
## gitea (old, no longer existant, do not use)
|
||||
|
||||
In case my PRs have been accepted this is no longer necessary:
|
||||
|
||||
@@ -370,6 +382,23 @@ helm upgrade --install gitea ./gitea-chart -n development -f development/gitea.s
|
||||
helm upgrade --install gitea-phpmyadmin bitnami/phpmyadmin -n development -f development/gitea-phpmyadmin.yml
|
||||
```
|
||||
|
||||
## gitea (new set up)
|
||||
|
||||
Chart used: [https://gitea.com/gitea/helm-gitea](https://gitea.com/gitea/helm-gitea)
|
||||
|
||||
History: Manually deleted the old git server and reapplied a new one.
|
||||
|
||||
```sh
|
||||
# 1. Add/Update Repo
|
||||
helm repo add gitea-charts https://dl.gitea.com/charts/
|
||||
helm repo update
|
||||
|
||||
# 2. Install
|
||||
helm upgrade --install gitea gitea-charts/gitea \
|
||||
--namespace development \
|
||||
-f development/gitea.secret.yml
|
||||
```
|
||||
|
||||
### backup & restore
|
||||
|
||||
See the backup cronjob in the `/backup/` folder.
|
||||
@@ -705,7 +734,7 @@ Using helm chart from [https://github.com/8gears/n8n-helm-chart](https://github.
|
||||
kubectl create ns n8n
|
||||
helm upgrade --cleanup-on-fail --install mop-n8n \
|
||||
oci://8gears.container-registry.com/library/n8n \
|
||||
--namespace n8n --values n8n/n8n.secret.yml --version 1.0.15
|
||||
--namespace n8n --values n8n/n8n.secret.yml --version 2.0.1
|
||||
```
|
||||
|
||||
To verify installation was correcet, use the following command:
|
||||
|
||||
Reference in New Issue
Block a user