From c2fc4cc1664afb172d4026bd8948e0d5b2ac7a29 Mon Sep 17 00:00:00 2001 From: "Arrobo, Gabriel" Date: Tue, 20 Feb 2024 13:01:32 -0800 Subject: [PATCH] Store authentication keys in a separate database --- 5g-control-plane/templates/configmap-udr.yaml | 2 +- 5g-control-plane/templates/configmap-webui.yaml | 2 +- 5g-control-plane/values.yaml | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/5g-control-plane/templates/configmap-udr.yaml b/5g-control-plane/templates/configmap-udr.yaml index 9c6aefc..246356f 100644 --- a/5g-control-plane/templates/configmap-udr.yaml +++ b/5g-control-plane/templates/configmap-udr.yaml @@ -12,7 +12,7 @@ {{- $sbi := index $config "sbi" }} {{- if not (hasKey $config "mongodb") -}} -{{- $_ := dict "name" .Values.config.mongodb.name "url" .Values.config.mongodb.url | set $config "mongodb" -}} +{{- $_ := dict "name" .Values.config.mongodb.name "url" .Values.config.mongodb.url "authKeysDbName" .Values.config.mongodb.authKeysDbName "authUrl" .Values.config.mongodb.authUrl | set $config "mongodb" -}} {{- end }} {{- if not (hasKey $udrcfg "logger") -}} diff --git a/5g-control-plane/templates/configmap-webui.yaml b/5g-control-plane/templates/configmap-webui.yaml index f542020..8e73bb0 100644 --- a/5g-control-plane/templates/configmap-webui.yaml +++ b/5g-control-plane/templates/configmap-webui.yaml @@ -19,7 +19,7 @@ {{- end }} {{- if not (hasKey $config "mongodb") -}} -{{- $_ := dict "name" .Values.config.mongodb.name "url" .Values.config.mongodb.url | set $config "mongodb" -}} +{{- $_ := dict "name" .Values.config.mongodb.name "url" .Values.config.mongodb.url "authKeysDbName" .Values.config.mongodb.authKeysDbName "authUrl" .Values.config.mongodb.authUrl | set $config "mongodb" -}} {{- end }} {{- end }} diff --git a/5g-control-plane/values.yaml b/5g-control-plane/values.yaml index 862739d..878c6f6 100644 --- a/5g-control-plane/values.yaml +++ b/5g-control-plane/values.yaml @@ -147,6 +147,8 @@ config: mongodb: name: free5gc url: mongodb://mongodb-arbiter-headless + authKeysDbName: authentication + authUrl: mongodb://mongodb-arbiter-headless grpc: golog_verbosity: "99" severity: "info"