Skip to content

Commit

Permalink
Merge branch 'main' into renovate/gitlab-package-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
zachariahmiller authored Jul 17, 2024
2 parents e694945 + c0b4c37 commit 3e9f0f7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bundle/uds-bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ packages:
- name: GITLAB_ADMIN_GROUPS
description: "Array of group names that grant admin role gitlab when saml protocol is active."
path: "sso.adminGroups"
- name: GITLAB_REQUIRED_GROUPS
description: "Array of group names that are required for GitLab acess."
path: "sso.requiredGroups"
values:
# TODO: (@WSTARR) The below two overrides will no longer be needed after the next release
- path: redis.namespace
Expand Down
1 change: 1 addition & 0 deletions bundle/uds-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ variables:
gitlab:
DISABLE_REGISTRY_REDIRECT: "true"
GITLAB_PAGES_ENABLED: true
GITLAB_REQUIRED_GROUPS: [] # ["/GitLab"]
GITLAB_ADMIN_GROUPS: ["/GitLab Admin", "/UDS Core/Admin"]
GITLAB_SSO_PROTOCOL: saml
# # Overrides for scaled down cluster for local dev and CI
Expand Down
1 change: 1 addition & 0 deletions chart/templates/uds-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ spec:
"name":"saml",
"label":"SSO",
"groups_attribute": "Groups",
"required_groups": {{ .Values.sso.requiredGroups | toJson }},
"admin_groups": {{ .Values.sso.adminGroups | toJson }},
"args":{
"assertion_consumer_service_url": "https://gitlab.{{ .Values.domain }}/users/auth/saml/callback",
Expand Down
2 changes: 2 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ sso:
enabled: true
protocol: saml
secretName: gitlab-sso
# Note: the following settings only apply when using `saml`
requiredGroups: []
adminGroups: ["/GitLab Admin", "/UDS Core/Admin"]
storage:
# Set to false to use external storage
Expand Down

0 comments on commit 3e9f0f7

Please sign in to comment.