From 6cd00fcd051b887c83937afadcf95487645896e2 Mon Sep 17 00:00:00 2001
From: mr-bot <project2872_bot1@noreply.repo1.dso.mil>
Date: Mon, 3 Apr 2023 22:24:26 +0000
Subject: [PATCH] keycloak update to 18.4.0-bb.2

---
 chart/values.yaml                                     |  2 +-
 docs/assets/configs/example/dev-sso-values.yaml       | 10 +++++++---
 docs/assets/configs/example/keycloak-dev-values.yaml  |  2 ++
 docs/assets/configs/example/keycloak-prod-values.yaml |  3 +++
 tests/test-values.yaml                                |  2 +-
 5 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/chart/values.yaml b/chart/values.yaml
index 19cb366ebf..374bb86408 100644
--- a/chart/values.yaml
+++ b/chart/values.yaml
@@ -1378,7 +1378,7 @@ addons:
     git:
       repo: https://repo1.dso.mil/platform-one/big-bang/apps/security-tools/keycloak.git
       path: "./chart"
-      tag: "18.4.0-bb.1"
+      tag: "18.4.0-bb.2"
 
     database:
       # -- Hostname of a pre-existing database to use for Keycloak.
diff --git a/docs/assets/configs/example/dev-sso-values.yaml b/docs/assets/configs/example/dev-sso-values.yaml
index baf6b3c525..688b030c65 100644
--- a/docs/assets/configs/example/dev-sso-values.yaml
+++ b/docs/assets/configs/example/dev-sso-values.yaml
@@ -272,13 +272,17 @@ addons:
           roles:
             - "nx-admin"
     # NexusNotes: |
-    #   Login to Nexus Admin UI and then get the x509 certificate from this path
+    #   get nexus x509 cert from Nexus Admin UI
     #     https://nexus.bigbang.dev/service/rest/v1/security/saml/metadata
-    #   copy and paste the nexus single line certificate into a text file and save it
+    #   copy and paste the nexus single line cert into a text file and save it
     #     vi nexus-x509.txt
     #     -----BEGIN CERTIFICATE-----
     #     put-single-line-nexus-x509-certificate-here
     #     -----END CERTIFICATE-----
     #   make a valid pem file with proper wrapping at 64 characters per line
     #     fold -w 64 nexus-x509.txt > nexus.pem
-    #   In Keycloak go to the nexus client and on the Keys tab import the nexus.pem file in two places
+    #   make a PKCS12 from nexus.pem
+    #     keytool -import -alias alias -file nexus.pem -keystore nexus.p12 -storetype PKCS12 -storepass password
+    #   In Keycloak go to the nexus client and on the Keys tab import PKCS12 using the nexus.p12 file in two places
+    #   key alias = alias
+    #   store password = password
diff --git a/docs/assets/configs/example/keycloak-dev-values.yaml b/docs/assets/configs/example/keycloak-dev-values.yaml
index 969e777964..1972826494 100644
--- a/docs/assets/configs/example/keycloak-dev-values.yaml
+++ b/docs/assets/configs/example/keycloak-dev-values.yaml
@@ -78,6 +78,8 @@ addons:
           value: ispn
         - name: KC_CACHE_STACK
           value: kubernetes
+        - name: KC_METRICS_ENABLED
+          value: "true"
 
       secrets:
         env:
diff --git a/docs/assets/configs/example/keycloak-prod-values.yaml b/docs/assets/configs/example/keycloak-prod-values.yaml
index b47616a498..3ebf05d657 100644
--- a/docs/assets/configs/example/keycloak-prod-values.yaml
+++ b/docs/assets/configs/example/keycloak-prod-values.yaml
@@ -98,6 +98,9 @@ addons:
           value: ispn
         - name: KC_CACHE_STACK
           value: kubernetes
+        - name: KC_METRICS_ENABLED
+          value: "true"
+
 
       secrets:
         env:
diff --git a/tests/test-values.yaml b/tests/test-values.yaml
index 4646a5883c..5bb21df97d 100644
--- a/tests/test-values.yaml
+++ b/tests/test-values.yaml
@@ -1483,7 +1483,7 @@ addons:
             quarkus.properties: '{{ .Files.Get "resources/dev/quarkus.properties" }}'
       extraInitContainers: |-
         - name: plugin
-          image: registry1.dso.mil/ironbank/big-bang/p1-keycloak-plugin:3.1.0
+          image: registry1.dso.mil/ironbank/big-bang/p1-keycloak-plugin:3.2.0
           imagePullPolicy: Always
           command:
           - sh
-- 
GitLab