Skip to content

Commit

Permalink
Merge pull request #269 from grycap/dev-slangarita
Browse files Browse the repository at this point in the history
Config shows oidc-groups
  • Loading branch information
catttam authored Nov 21, 2024
2 parents afb9635 + 473c04a commit 5376dbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg/handlers/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ func createExpectedBody(access_key string, secret_key string, cfg *types.Config)
"gpu_available": false,
"interLink_available": false,
"yunikorn_enable": false,
"oidc_groups": nil,
},
"minio_provider": map[string]interface{}{
"endpoint": cfg.MinIOProvider.Endpoint,
Expand Down
2 changes: 1 addition & 1 deletion pkg/types/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ type Config struct {
// OIDCGroups OpenID comma-separated group list to grant access in the cluster.
// Groups defined in the "eduperson_entitlement" OIDC scope,
// as described here: https://docs.egi.eu/providers/check-in/sp/#10-groups
OIDCGroups []string `json:"-"`
OIDCGroups []string `json:"oidc_groups"`

//
IngressHost string `json:"-"`
Expand Down

0 comments on commit 5376dbf

Please sign in to comment.