-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNOTES.txt
29 lines (23 loc) · 981 Bytes
/
NOTES.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
helm install --namespace argocd --create-namespace argocd ./charts/argocd
helm install --namespace ingress-nginx --create-namespace ingress-nginx ./charts/ingress-nginx
kubectl port-forward service/argocd-server -n argocd 8080:443
kubectl create secret generic rookout-token --from-literal=token=xxxxxxxxxx -n argocd
sudo vim /etc/hosts >
127.0.0.1 webhook.example
127.0.0.1 webapp.example
127.0.0.1 datastore.example
127.0.0.1 controller.example
127.0.0.1 argowf.example
127.0.0.1 flask-app.example
127.0.0.1 argocd.example
#Workflows:
kubectl create secret generic git-creds --from-file=ssh-private-key=/Users/gosha/.ssh/github -n argocd
DOCKER_USERNAME=goshad
DOCKER_PASSWORD=[...]
DOCKER_SERVER=https://index.docker.io/v1/
kubectl create -n argocd secret docker-registry regcred \
--docker-server=${DOCKER_SERVER} \
--docker-username=${DOCKER_USERNAME} \
--docker-password=${DOCKER_PASSWORD}
# expose localhost > not working for now
ngrok http webhook.example