Storage class used in the kong and topology-exposure-inventory deployments. 43/14743/1
authoraravind.est <aravindhan.a@est.tech>
Fri, 25 Jul 2025 10:55:50 +0000 (11:55 +0100)
committeraravind.est <aravindhan.a@est.tech>
Fri, 25 Jul 2025 11:05:57 +0000 (12:05 +0100)
smo-storage storage used in kong and topology-exposure-inventory deployments.

Issue-ID: INT-170
Change-Id: I11c3ffc6022a4fcab3c6dfcf1603f8481cde5368
Signed-off-by: aravind.est <aravindhan.a@est.tech>
smo-install/helm-override/default/oran-override.yaml
smo-install/oran_oom/kong/templates/00-kong-pv.yaml
smo-install/oran_oom/kong/templates/01-kongpvc.yaml
smo-install/oran_oom/kong/values.yaml

index 939e66b..b806b8c 100644 (file)
@@ -93,6 +93,8 @@ kong:
     # This should be set to false when there is a default storage class, Which lets the PVC provisions the PV dynamically.
     # In SMO installation, this is handled as part of smo-install/scripts/sub-scripts/install-nonrtric.sh script
     enabled: true
+    persistence:
+      storageClassName: *smo-sc
 
 controlpanel:
   ingress:
@@ -151,6 +153,8 @@ dashboard:
 ######### SMO #########
 smo:
   installTeiv: true
+  pgsqlvolume:
+    storageClassName: *smo-sc
   # List of secrets to be copied from ONAP namespace to SMO
   # Based on the dependsOn value, the secrets will be copied to the SMO namespace
   secrets:
@@ -161,4 +165,10 @@ smo:
     - name: ncmp-to-teiv-adapter-ku
       dependsOn: smo.installTeiv
     - name: redpanda-console-ku
-      dependsOn: nonrtric.installRanpm
\ No newline at end of file
+      dependsOn: nonrtric.installRanpm
+
+topology-exposure-inventory:
+  postgresql:
+    primary:
+      persistence:
+        storageClass: *smo-sc
index a12ad6a..30b2993 100644 (file)
@@ -1,5 +1,5 @@
 #  ============LICENSE_START===============================================
-#  Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.
+#  Copyright (C) 2024-2025 OpenInfra Foundation Europe. All rights reserved.
 #  ========================================================================
 #  Licensed under the Apache License, Version 2.0 (the "License");
 #  you may not use this file except in compliance with the License.
@@ -29,5 +29,6 @@ spec:
     - "{{ .Values.kongpv.persistence.accessMode }}"
   hostPath:
     path: "{{ .Values.kongpv.persistence.path }}"
+  storageClassName: {{ .Values.kongpv.persistence.storageClassName }}
   persistentVolumeReclaimPolicy: "{{ .Values.kongpv.persistence.volumeReclaimPolicy }}"
 {{- end }}
index 5f631cf..5972d63 100644 (file)
@@ -1,5 +1,5 @@
 #  ============LICENSE_START===============================================
-#  Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.
+#  Copyright (C) 2024-2025 OpenInfra Foundation Europe. All rights reserved.
 #  ========================================================================
 #  Licensed under the Apache License, Version 2.0 (the "License");
 #  you may not use this file except in compliance with the License.
@@ -26,4 +26,5 @@ spec:
       storage: "{{ .Values.kongpvc.persistence.size }}"
 {{- if .Values.kongpv.enabled }}
   volumeName: kongpv
+  storageClassName: {{ .Values.kongpv.persistence.storageClassName }}
 {{- end }}
index b60fe81..a9be33c 100644 (file)
@@ -24,6 +24,7 @@ kongpv:
     accessMode: ReadWriteOnce
     size: 2Gi
     path: "/tmp/kongpv"
+    storageClassName: kong-storage
 
 kongpvc:
   persistence: