change github account

This commit is contained in:
Andrey Kartashov 2022-02-18 17:09:36 +07:00
parent fdc2c4167a
commit 87c374d36b
14 changed files with 53 additions and 19 deletions

View file

@ -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 \

View file

@ -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

File diff suppressed because one or more lines are too long

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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