From 5c91f9802d03fc725c12113068dcd231a10f0ac2 Mon Sep 17 00:00:00 2001 From: Anthony Date: Thu, 6 Jun 2024 16:00:23 +0000 Subject: [PATCH 1/2] Add sso realm config to add default role --- bundles/uds-core-swf/uds-bundle.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bundles/uds-core-swf/uds-bundle.yaml b/bundles/uds-core-swf/uds-bundle.yaml index da7994ec..1c1e175e 100644 --- a/bundles/uds-core-swf/uds-bundle.yaml +++ b/bundles/uds-core-swf/uds-bundle.yaml @@ -467,6 +467,13 @@ packages: ref: 3.68.0-uds.0-registry1 overrides: nexus: + nexus: + values: + - path: sso.realm + value: + - "NexusAuthenticatingRealm" + - "SamlRealm" + - "DefaultRole" uds-nexus-config: variables: - path: "sso.enabled" From 179c8e060e5e1540913f8ee2e13dfc5ffb5131c0 Mon Sep 17 00:00:00 2001 From: Anthony Date: Fri, 7 Jun 2024 23:20:37 +0000 Subject: [PATCH 2/2] Update nexus things --- bundles/uds-core-swf/uds-bundle.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/bundles/uds-core-swf/uds-bundle.yaml b/bundles/uds-core-swf/uds-bundle.yaml index 1c1e175e..15088523 100644 --- a/bundles/uds-core-swf/uds-bundle.yaml +++ b/bundles/uds-core-swf/uds-bundle.yaml @@ -464,7 +464,7 @@ packages: # Nexus - name: nexus repository: ghcr.io/defenseunicorns/packages/uds/nexus - ref: 3.68.0-uds.0-registry1 + ref: 3.68.0-uds.1-registry1 overrides: nexus: nexus: @@ -474,7 +474,23 @@ packages: - "NexusAuthenticatingRealm" - "SamlRealm" - "DefaultRole" + - "User-Token-Realm" + - path: nexus.docker.enabled + value: true + - path: nexus.docker.registries + value: + - host: nexus-docker.${DOMAIN} + port: 5000 uds-nexus-config: variables: - path: "sso.enabled" name: NEXUS_SSO_ENABLED + values: + - path: additionalNetworkExposures + value: + - service: nexus-nexus-repository-manager-docker-5000 + selector: + app.kubernetes.io/instance: nexus + gateway: tenant + host: nexus-docker + port: 5000