add ability to specify paths for argocd and grafana (https://git.kvazaric.ru/gstykalin/kube-forge/-/issues/1)
This commit is contained in:
@@ -7,11 +7,12 @@
|
||||
### Docker-образ
|
||||
|
||||
```shell
|
||||
touch k8s-admin.conf
|
||||
|
||||
docker run -v $(pwd)/config.yaml:/application/config.yaml \
|
||||
-v $(pwd)/id_rsa_bastion_ift:/root/.ssh/id_rsa \
|
||||
-v $(pwd)/config:/root/.ssh/config \
|
||||
-v $(pwd)/k8s-admin.conf:/application/k8s-admin.conf \
|
||||
harbor.kvazaric.ru/kube-forge/kube-forge:1.0-71bd08d2 apply
|
||||
-v type=bind,src=$(pwd)/k8s-admin.conf,dst=/application/k8s-admin.conf\
|
||||
harbor.kvazaric.ru/kube-forge/kube-forge:1.1-36d886d9 apply
|
||||
```
|
||||
|
||||
## С помощью исполняемого файла
|
||||
@@ -20,6 +21,8 @@ docker run -v $(pwd)/config.yaml:/application/config.yaml \
|
||||
|
||||
- sshpass
|
||||
|
||||
А также установить Python-библиотеки из списка "requirements.txt"
|
||||
|
||||
```shell
|
||||
./kube-forge -c config.yaml -d . apply
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user