Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sarabala1979 committed Feb 21, 2020
2 parents 4702130 + 51cdf95 commit 3a11f82
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ $(HOME)/go/bin/swagger:
go get github.com/go-swagger/go-swagger/cmd/swagger

api/argo-server/swagger.json: $(HOME)/go/bin/swagger $(SWAGGER_FILES)
swagger mixin -c 412 pkg/apiclient/primary.swagger.json $(SWAGGER_FILES) | sed 's/VERSION/$(VERSION)/' > api/argo-server/swagger.json
swagger mixin -c 412 pkg/apiclient/primary.swagger.json $(SWAGGER_FILES) | sed 's/VERSION/$(MANIFESTS_VERSION)/' > api/argo-server/swagger.json

# pre-push

Expand Down
20 changes: 18 additions & 2 deletions docs/managed-namespace.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@

> v2.5 and after
You can install Argo in either cluster scoped or namespace scope configurations. This dictates if you must set-up cluster roles or normal roles.
You can install Argo in either cluster scoped or namespace scope configurations.
This dictates if you must set-up cluster roles or normal roles.

In namespace scope configuration, you must run both the Workflow Controller and Argo Server using `--namespaced`.
In namespace scope configuration, you must run both the Workflow Controller and
Argo Server using `--namespaced`. If you would like to have the workflows
running in a separated namespace, add `--managed-namespace` as well.

For example:

```
- args:
- --configmap
- workflow-controller-configmap
- --executor-image
- argoproj/workflow-controller:v2.5.1
- --namespaced
- --managed-namespace
- default
```
4 changes: 0 additions & 4 deletions docs/workflow-controller-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ data:
# controller watches workflows and pods that *are not* labeled with an instance id.
instanceID: my-ci-controller
# namespace limits the controller's watch/queries to a specific namespace. This allows the
# controller to run with namespace scope (Role), instead of cluster scope (ClusterRole).
namespace: argo
# Parallelism limits the max total parallel workflows that can execute at the same time
# (available since Argo v2.3)
parallelism: 10
Expand Down

0 comments on commit 3a11f82

Please sign in to comment.