From b060a5e4156f7b4c74775311fd56bd833ffa2449 Mon Sep 17 00:00:00 2001 From: voidlily Date: Tue, 17 Dec 2024 12:06:27 -0800 Subject: [PATCH] fix service providers in dbsetup reviewapps (#11659) [skip changelog] --- dockerfiles/application.yaml | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/dockerfiles/application.yaml b/dockerfiles/application.yaml index 67ad0b394b4..e854cfb627c 100644 --- a/dockerfiles/application.yaml +++ b/dockerfiles/application.yaml @@ -384,11 +384,31 @@ spec: logo: '18f.svg' certs: - 'identity_dashboard_cert' - return_to_sp_url: 'https://dashboard.{{ENVIRONMENT}}.identitysandbox.gov/' + return_to_sp_url: 'https://{{ENVIRONMENT}}-dashboard.reviewapps.identitysandbox.gov/' redirect_uris: - - 'https://dashboard.{{ENVIRONMENT}}.identitysandbox.gov/auth/logindotgov/callback' - - 'https://dashboard.{{ENVIRONMENT}}.identitysandbox.gov' - push_notification_url: 'https://dashboard.{{ENVIRONMENT}}.identitysandbox.gov/api/security_events' + - 'https://{{ENVIRONMENT}}-dashboard.reviewapps.identitysandbox.gov/auth/logindotgov/callback' + - 'https://{{ENVIRONMENT}}-dashboard.reviewapps.identitysandbox.gov' + push_notification_url: 'https://{{ENVIRONMENT}}-dashboard.reviewapps.identitysandbox.gov/api/security_events' + - target: + kind: ConfigMap + name: service-providers-yml-dbsetup + patch: |- + - op: replace + path: /data/service_providers.yml + value: | + production: + 'urn:gov:gsa:openidconnect.profiles:sp:sso:gsa:dashboard': + friendly_name: 'Dashboard' + agency: 'GSA' + agency_id: 2 + logo: '18f.svg' + certs: + - 'identity_dashboard_cert' + return_to_sp_url: 'https://{{ENVIRONMENT}}-dashboard.reviewapps.identitysandbox.gov/' + redirect_uris: + - 'https://{{ENVIRONMENT}}-dashboard.reviewapps.identitysandbox.gov/auth/logindotgov/callback' + - 'https://{{ENVIRONMENT}}-dashboard.reviewapps.identitysandbox.gov' + push_notification_url: 'https://{{ENVIRONMENT}}-dashboard.reviewapps.identitysandbox.gov/api/security_events' # Patch idp database setup jobs - target: kind: Job