From c898c2016547a34f28f087a0f8cb43e21e31e157 Mon Sep 17 00:00:00 2001 From: mamo Date: Fri, 6 Dec 2024 07:30:25 +0000 Subject: [PATCH] new configuration version --- ...ession-store-699f0a21dd0e852f28d27e9d.yaml | 26 ++++++ .../k8s-npi-92e282d1dc2b69d9e4f91fc0.yaml | 5 +- .../WEB-INF/web.xml | 79 +++++++++++++------ 3 files changed, 87 insertions(+), 23 deletions(-) create mode 100644 DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi/etc/nevis/k8s-idp-nevisproxy-remote-hybrid-session-store-699f0a21dd0e852f28d27e9d.yaml diff --git a/DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi/etc/nevis/k8s-idp-nevisproxy-remote-hybrid-session-store-699f0a21dd0e852f28d27e9d.yaml b/DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi/etc/nevis/k8s-idp-nevisproxy-remote-hybrid-session-store-699f0a21dd0e852f28d27e9d.yaml new file mode 100644 index 0000000..8cbf7e6 --- /dev/null +++ b/DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi/etc/nevis/k8s-idp-nevisproxy-remote-hybrid-session-store-699f0a21dd0e852f28d27e9d.yaml @@ -0,0 +1,26 @@ +apiVersion: "operator.nevis-security.ch/v1" +kind: "NevisDatabase" +metadata: + name: "npi" + namespace: "adn-postit-tknxchng-01-dev" + labels: + deploymentTarget: "npi" + annotations: + projectKey: "DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT" + patternId: "699f0a21dd0e852f28d27e9d" +spec: + type: "NevisProxy" + databaseType: "MariaDB" + version: "8.2405.0" + url: "mariadb-agov-uat.mariadb.database.azure.com" + port: 3306 + database: "idp_replicated_session_store" + bootstrap: true + migrate: true + rootCredentials: + name: "root-adn-agov-nevisidm-admin-01-uat-idm" + namespace: "adn-agov-nevisidm-admin-01-uat" + podSecurity: + policy: "baseline" + automountServiceAccountToken: false + timeZone: "Europe/Zurich" diff --git a/DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi/etc/nevis/k8s-npi-92e282d1dc2b69d9e4f91fc0.yaml b/DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi/etc/nevis/k8s-npi-92e282d1dc2b69d9e4f91fc0.yaml index f7c8798..15ab089 100644 --- a/DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi/etc/nevis/k8s-npi-92e282d1dc2b69d9e4f91fc0.yaml +++ b/DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi/etc/nevis/k8s-npi-92e282d1dc2b69d9e4f91fc0.yaml @@ -46,9 +46,12 @@ spec: podDisruptionBudget: maxUnavailable: "50%" git: - tag: "r-8950749940d49f045219bc99b37db559a44d5e9d" + tag: "r-27eef320e045811c799f72fb54cdf1c58a7cbcdb" dir: "DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi" credentials: "git-credentials" + database: + name: "npi" + requiredVersion: "8.2405.0" keystores: - "npi-3b41ca4ca1c4028117d16f5b" - "npi-23dc4a9fcc79a12d82662747" diff --git a/DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi/var/opt/nevisproxy/default/host-cossa.agov-w.azure.adnovum.net/WEB-INF/web.xml b/DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi/var/opt/nevisproxy/default/host-cossa.agov-w.azure.adnovum.net/WEB-INF/web.xml index 0cc199b..667a64d 100644 --- a/DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi/var/opt/nevisproxy/default/host-cossa.agov-w.azure.adnovum.net/WEB-INF/web.xml +++ b/DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi/var/opt/nevisproxy/default/host-cossa.agov-w.azure.adnovum.net/WEB-INF/web.xml @@ -1,6 +1,11 @@ + + + application-id + cossa.agov-w.azure.adnovum.net + SectokenVerifierCert @@ -165,7 +170,7 @@ Servlet - LocalSessionStoreServlet + MySQLSessionStoreServlet @@ -340,27 +345,6 @@ ch::nevis::isiweb4::servlet::defaults::DefaultServlet - - - LocalSessionStoreServlet - - ch::nevis::nevisproxy::servlet::cache::local::LocalSessionStoreServlet - - - MaxInactiveInterval - 600 - - - - MaxLifetime - 28800 - - - - MemorySize - 512000000 - - LoginRenderer_nli @@ -377,6 +361,57 @@ remote:NevisLogrendConnector_nli:/nevislogrend/index.vm?logrendresourcepath=/nevislogrend + + + MySQLSessionStoreServlet + + ch::nevis::nevisproxy::servlet::cache::mysql::MySQLSessionStoreServlet + + + AttributesTableName + attribute + + + + ConfigurationsTableName + conf + + + + ConnectString + //mariadb-agov-uat.mariadb.database.azure.com:3306/idp_replicated_session_store?connect_timeout=10&ping_timeout=2 + + + + DisableDatabaseSchemaCheck + false + + + + KeyToIdMapTableName + key_id_map + + + + MaxLimitOnDelete + 100 + + + + Password + ${exec:/var/opt/nevisproxy/default/conf/credentials/dbPassword} + + + + SessionsTableName + session + + + + UserName + ${exec:/var/opt/nevisproxy/default/conf/credentials/dbUser} + + NevisLogrendConnector_nli