-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8fdcc9d
commit cbcc632
Showing
6 changed files
with
114 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,38 @@ | ||
# Configuration of Argo Workflow | ||
|
||
## Installation | ||
|
||
```bash | ||
helm repo add argo https://argoproj.github.io/argo-helm | ||
kubectl create namespace argo | ||
kubectl apply -n argo -f https://github.com/argoproj/argo-workflows/releases/download/v3.5.4/quick-start-minimal.yaml | ||
|
||
``` | ||
|
||
```bash | ||
kubectl create clusterrolebinding argo-admin-server --clusterrole=cluster-admin --serviceaccount=argo:argo-server -n argo | ||
kubectl create clusterrolebinding argo-admin-default --clusterrole=cluster-admin --serviceaccount=argo:default -n argo | ||
``` | ||
|
||
```bash | ||
kubectl create rolebinding default-admin --clusterrole=admin --serviceaccount=argo:default -n argo | ||
kubectl patch deployment \ | ||
argo-server \ | ||
--namespace argo \ | ||
--type='json' \ | ||
-p='[{"op": "replace", "path": "/spec/template/spec/containers/0/args", "value": [ | ||
"server", | ||
"--auth-mode=server" | ||
]}]' | ||
|
||
``` | ||
|
||
```bash | ||
kubectl create secret generic github-token -n argo --from-literal=token=......... | ||
|
||
export DOCKER_USERNAME=****** | ||
export DOCKER_TOKEN=****** | ||
kubectl create secret generic docker-config --from-literal="config.json={\"auths\": {\"https://ghcr.io/\": {\"auth\": \"$(echo -n $DOCKER_USERNAME:$DOCKER_TOKEN|base64)\"}}}" | ||
|
||
``` | ||
|
||
But: <https://argoproj.github.io/argo-workflows/workflow-rbac/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters