Skip to content

Commit

Permalink
chore: add support for configurable admin domain (#284)
Browse files Browse the repository at this point in the history
* chore: add support for configurable admin domain

* chore: revert branch for task, add cluster.local default

* chore: remove default

---------

Co-authored-by: Chance <[email protected]>
  • Loading branch information
mjnagel and UnicornChance authored Dec 13, 2024
1 parent 9e6111c commit 03f8561
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/realm.json
Original file line number Diff line number Diff line change
Expand Up @@ -1925,7 +1925,7 @@
"trusted-hosts": [
"127.0.0.6",
"*.${UDS_DOMAIN}",
"*.admin.${UDS_DOMAIN}"
"*.${UDS_ADMIN_DOMAIN}"
],
"client-uris-must-match": [
"true"
Expand Down
2 changes: 1 addition & 1 deletion tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ tasks:
description: Configure existing uds-core/grafana package for group authz, build, deploy grafana
actions:
- cmd: |
sed -i '/^\s*sso:/,/^\s*-\s*name:/ {
sed -i '/^\s*sso:/,/^\s*-\s*name:/ {
/groups:/d
/^\s*-\s*name:/a \ \ \ \ \ \ groups:\n\ \ \ \ \ \ \ \ anyOf:\n\ \ \ \ \ \ \ \ \ - \/UDS Core\/Admin
}' uds-core/src/grafana/chart/templates/uds-package.yaml
Expand Down

0 comments on commit 03f8561

Please sign in to comment.