mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 01:49:44 +00:00
change github account
This commit is contained in:
parent
fdc2c4167a
commit
87c374d36b
14 changed files with 53 additions and 19 deletions
11
Bootstrap.md
11
Bootstrap.md
|
|
@ -24,7 +24,6 @@ $ kubectl --context=gullfaxi apply -k apps/argocd
|
||||||
```
|
```
|
||||||
|
|
||||||
add dex.github.clientId and dex.github.clientSecret into argo-secret
|
add dex.github.clientId and dex.github.clientSecret into argo-secret
|
||||||
add gitPrivateKey
|
|
||||||
|
|
||||||
```
|
```
|
||||||
$ kubectl --context=gullfaxi -n argocd edit secret argocd-secret
|
$ kubectl --context=gullfaxi -n argocd edit secret argocd-secret
|
||||||
|
|
@ -38,13 +37,19 @@ log into argocd
|
||||||
$ argocd login --grpc-web argocd.gorilych.ru
|
$ argocd login --grpc-web argocd.gorilych.ru
|
||||||
```
|
```
|
||||||
|
|
||||||
|
add repo
|
||||||
|
|
||||||
|
```
|
||||||
|
argocd --grpc-web repo add git@github.com:amkartashov/gf-k8s --ssh-private-key-path ~/argocd-key
|
||||||
|
```
|
||||||
|
|
||||||
create main app
|
create main app
|
||||||
|
|
||||||
```
|
```
|
||||||
$ argocd app create main \
|
$ argocd --grpc-web app create main \
|
||||||
--dest-namespace argocd \
|
--dest-namespace argocd \
|
||||||
--dest-server https://kubernetes.default.svc \
|
--dest-server https://kubernetes.default.svc \
|
||||||
--repo git@github.com:gorilych/gf-k8s.git \
|
--repo git@github.com:amkartashov/gf-k8s \
|
||||||
--path main \
|
--path main \
|
||||||
--directory-recurse \
|
--directory-recurse \
|
||||||
--sync-policy automated \
|
--sync-policy automated \
|
||||||
|
|
|
||||||
|
|
@ -48,8 +48,3 @@ data:
|
||||||
- name: itzg
|
- name: itzg
|
||||||
type: helm
|
type: helm
|
||||||
url: https://itzg.github.io/minecraft-server-charts/
|
url: https://itzg.github.io/minecraft-server-charts/
|
||||||
repository.credentials: |
|
|
||||||
- url: git@github.com:gorilych/
|
|
||||||
sshPrivateKeySecret:
|
|
||||||
name: argocd-secret
|
|
||||||
key: gitPrivateKey
|
|
||||||
|
|
|
||||||
34
argocd-secret.yaml
Normal file
34
argocd-secret.yaml
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -12,7 +12,7 @@ spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
path: apps/system/cert-manager
|
path: apps/system/cert-manager
|
||||||
repoURL: git@github.com:gorilych/gf-k8s
|
repoURL: git@github.com:amkartashov/gf-k8s
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
path: apps/system/grafana
|
path: apps/system/grafana
|
||||||
repoURL: git@github.com:gorilych/gf-k8s
|
repoURL: git@github.com:amkartashov/gf-k8s
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
path: apps/system/ingress-nginx
|
path: apps/system/ingress-nginx
|
||||||
repoURL: git@github.com:gorilych/gf-k8s
|
repoURL: git@github.com:amkartashov/gf-k8s
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
path: apps/system/local-path-provisioner
|
path: apps/system/local-path-provisioner
|
||||||
repoURL: git@github.com:gorilych/gf-k8s
|
repoURL: git@github.com:amkartashov/gf-k8s
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
path: apps/system/logging
|
path: apps/system/logging
|
||||||
repoURL: git@github.com:gorilych/gf-k8s
|
repoURL: git@github.com:amkartashov/gf-k8s
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
path: apps/minecraft
|
path: apps/minecraft
|
||||||
repoURL: git@github.com:gorilych/gf-k8s
|
repoURL: git@github.com:amkartashov/gf-k8s
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
path: apps/system/monitoring
|
path: apps/system/monitoring
|
||||||
repoURL: git@github.com:gorilych/gf-k8s
|
repoURL: git@github.com:amkartashov/gf-k8s
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
path: apps/system/oauth2-proxy
|
path: apps/system/oauth2-proxy
|
||||||
repoURL: git@github.com:gorilych/gf-k8s
|
repoURL: git@github.com:amkartashov/gf-k8s
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
|
|
||||||
|
|
@ -12,4 +12,4 @@ spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
path: apps/services
|
path: apps/services
|
||||||
repoURL: git@github.com:gorilych/gf-k8s
|
repoURL: git@github.com:amkartashov/gf-k8s
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
path: apps/timemachine
|
path: apps/timemachine
|
||||||
repoURL: git@github.com:gorilych/gf-k8s
|
repoURL: git@github.com:amkartashov/gf-k8s
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
path: apps/system/tracing
|
path: apps/system/tracing
|
||||||
repoURL: git@github.com:gorilych/gf-k8s
|
repoURL: git@github.com:amkartashov/gf-k8s
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue