mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-10 17:39:43 +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 gitPrivateKey
|
||||
|
||||
```
|
||||
$ kubectl --context=gullfaxi -n argocd edit secret argocd-secret
|
||||
|
|
@ -38,13 +37,19 @@ log into argocd
|
|||
$ 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
|
||||
|
||||
```
|
||||
$ argocd app create main \
|
||||
$ argocd --grpc-web app create main \
|
||||
--dest-namespace argocd \
|
||||
--dest-server https://kubernetes.default.svc \
|
||||
--repo git@github.com:gorilych/gf-k8s.git \
|
||||
--repo git@github.com:amkartashov/gf-k8s \
|
||||
--path main \
|
||||
--directory-recurse \
|
||||
--sync-policy automated \
|
||||
|
|
|
|||
|
|
@ -48,8 +48,3 @@ data:
|
|||
- name: itzg
|
||||
type: helm
|
||||
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
|
||||
source:
|
||||
path: apps/system/cert-manager
|
||||
repoURL: git@github.com:gorilych/gf-k8s
|
||||
repoURL: git@github.com:amkartashov/gf-k8s
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ spec:
|
|||
project: default
|
||||
source:
|
||||
path: apps/system/grafana
|
||||
repoURL: git@github.com:gorilych/gf-k8s
|
||||
repoURL: git@github.com:amkartashov/gf-k8s
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ spec:
|
|||
project: default
|
||||
source:
|
||||
path: apps/system/ingress-nginx
|
||||
repoURL: git@github.com:gorilych/gf-k8s
|
||||
repoURL: git@github.com:amkartashov/gf-k8s
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ spec:
|
|||
project: default
|
||||
source:
|
||||
path: apps/system/local-path-provisioner
|
||||
repoURL: git@github.com:gorilych/gf-k8s
|
||||
repoURL: git@github.com:amkartashov/gf-k8s
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ spec:
|
|||
project: default
|
||||
source:
|
||||
path: apps/system/logging
|
||||
repoURL: git@github.com:gorilych/gf-k8s
|
||||
repoURL: git@github.com:amkartashov/gf-k8s
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ spec:
|
|||
project: default
|
||||
source:
|
||||
path: apps/minecraft
|
||||
repoURL: git@github.com:gorilych/gf-k8s
|
||||
repoURL: git@github.com:amkartashov/gf-k8s
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ spec:
|
|||
project: default
|
||||
source:
|
||||
path: apps/system/monitoring
|
||||
repoURL: git@github.com:gorilych/gf-k8s
|
||||
repoURL: git@github.com:amkartashov/gf-k8s
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ spec:
|
|||
project: default
|
||||
source:
|
||||
path: apps/system/oauth2-proxy
|
||||
repoURL: git@github.com:gorilych/gf-k8s
|
||||
repoURL: git@github.com:amkartashov/gf-k8s
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
|
|
|||
|
|
@ -12,4 +12,4 @@ spec:
|
|||
project: default
|
||||
source:
|
||||
path: apps/services
|
||||
repoURL: git@github.com:gorilych/gf-k8s
|
||||
repoURL: git@github.com:amkartashov/gf-k8s
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ spec:
|
|||
project: default
|
||||
source:
|
||||
path: apps/timemachine
|
||||
repoURL: git@github.com:gorilych/gf-k8s
|
||||
repoURL: git@github.com:amkartashov/gf-k8s
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ spec:
|
|||
project: default
|
||||
source:
|
||||
path: apps/system/tracing
|
||||
repoURL: git@github.com:gorilych/gf-k8s
|
||||
repoURL: git@github.com:amkartashov/gf-k8s
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
|
|
|||
Loading…
Reference in a new issue