Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSO+RBAC #4

Closed
wants to merge 29 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update argo-server-sa.yaml
  • Loading branch information
alexec authored Aug 27, 2020
commit 39e8b1be3bc078cfa65c70d8253205a2a7ab1c17
12 changes: 11 additions & 1 deletion manifests/quick-start/sso/overlays/argo-server-sa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,15 @@ kind: ServiceAccount
metadata:
name: argo-server
annotations:
# The rule is an expression used to determine if this service account should be used.
# * `groups` - an array of the OIDC groups
# * `iss` - the issuer
# * `sub` - the subject (typically the username)
# Must evaluate to a boolean.
# If you want an account to be the default to use, this rule can be "true".
workflows.argoproj.io/rbac-rule: "'authors' in groups"
workflows.argoproj.io/rbac-rule-precedence: "1"
# The precedence is used to determine which service account to use whe
# Precedence is an integer. It may be negative. If omitted, it defaults to "0".
# Numerically higher values have higher precedence (not lower, which maybe counter-intuitive to you).
# If two rules match and have the same predence, then which one used will be arbitrary.
workflows.argoproj.io/rbac-rule-precedence: "1"