Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion charts/workflows-cluster/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: workflows-cluster
description: A virtual cluster for Data Analysis workflows
type: application

version: 0.9.26
version: 0.9.27
dependencies:
- name: common
version: 2.23.0
Expand Down
23 changes: 23 additions & 0 deletions charts/workflows-cluster/staging-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,26 @@ authenticationConfiguration:
message: 'username cannot use reserved system: prefix'
- expression: "user.groups.all(group, !group.startsWith('system:'))"
message: 'groups cannot use reserved system: prefix'
- issuer:
url: https://authn.diamond.ac.uk/realms/master
audiences:
- workflows-cluster-staging
- graph
audienceMatchPolicy: MatchAny
claimMappings:
username:
claim: fedid
prefix: "oidc:"
groups:
claim: groups
prefix: "oidc:"
uid:
claim: fedid
extra:
- key: 'workflows.diamond.ac.uk/posixuid'
valueExpression: 'string(claims.posix_uid)'
userValidationRules:
- expression: "!user.username.startsWith('system:')"
message: 'username cannot use reserved system: prefix'
- expression: "user.groups.all(group, !group.startsWith('system:'))"
message: 'groups cannot use reserved system: prefix'
23 changes: 23 additions & 0 deletions charts/workflows-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,29 @@ ingress:

authenticationConfiguration:
jwt:
- issuer:
url: https://identity.diamond.ac.uk/realms/dls
audiences:
- workflows-cluster
- graph
audienceMatchPolicy: MatchAny
claimMappings:
username:
claim: fedid
prefix: "oidc:"
groups:
claim: groups
prefix: "oidc:"
uid:
claim: fedid
extra:
- key: 'workflows.diamond.ac.uk/posixuid'
valueExpression: 'string(claims.posix_uid)'
userValidationRules:
- expression: "!user.username.startsWith('system:')"
message: 'username cannot use reserved system: prefix'
- expression: "user.groups.all(group, !group.startsWith('system:'))"
message: 'groups cannot use reserved system: prefix'
- issuer:
url: https://authn.diamond.ac.uk/realms/master
audiences:
Expand Down