Merge "Install Kong on Nonrtric deployment"
authorJohn Keeney <john.keeney@est.tech>
Fri, 18 Jun 2021 09:34:58 +0000 (09:34 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Fri, 18 Jun 2021 09:34:58 +0000 (09:34 +0000)
INFO.yaml
nonrtric/RECIPE_EXAMPLE/example_recipe.yaml
nonrtric/helm/enrichmentservice/templates/ingress.yaml
nonrtric/helm/enrichmentservice/values.yaml
nonrtric/helm/policymanagementservice/templates/ingress.yaml
nonrtric/helm/policymanagementservice/values.yaml
ric-common/Common-Template/helm/ric-common/templates/_influxdb.tpl

index 0b10824..f90fb12 100644 (file)
--- a/INFO.yaml
+++ b/INFO.yaml
@@ -44,6 +44,36 @@ committers:
       company: 'AT&T Labs-Research'
       id: 'multics'
       timezone: 'America/New_York'
+    - name: 'Thoralf Czichy'
+      email: 'thoralf.czichy@nokia.com'
+      company: 'Nokia'
+      id: 'czichy'
+      timezone: 'Europe/Helsinki'
+    - name: 'John Keeney'
+      email: 'John.Keeney@est.tech'
+      id: 'johnkeeney'
+      company: 'Ericsson Software Technology'
+      timezone: 'Europe/Dublin'
+    - name: 'Martin Skorupski'
+      email: 'martin.skorupski@highstreet-technologies.com'
+      id: 'demx8as6'
+      company: 'highstreet technologies GmbH'
+      timezone: 'Germany/Berlin'
+    - name: 'Mahesh Jethanandani'
+      email: 'mjethanandani@gmail.com'
+      id: 'mjethanandani'
+      company: 'VMware'
+      timezone: 'America/Los_Angeles'
+    - name: 'Alex Stancu'
+      email: 'alexandru.stancu@highstreet-technologies.com'
+      id: 'alex.stancu'
+      company: 'highstreet technologies GmbH'
+      timezone: 'Europe/Bucharest'
+    - name: 'Xiaohua Zhang'
+      email: 'xiaohua.zhang@windriver.com'
+      company: 'Windriver'
+      id: 'Xiaohua626'
+      timezone: 'China/Beijing'
     - name: 'Chris Lott'
       email: 'clott@research.att.com'
       company: 'AT&T Labs-Research'
@@ -52,3 +82,22 @@ committers:
 tsc:
     # yamllint disable rule:line-length
     approval: 'https://wiki.o-ran-sc.org/display/TOC#O-RANSCTechnicalOversightCommittee(TOC)-20190821'
+    changes:
+        - type: 'promotion'
+          name: 'Thoralf Czichy'
+          link: 'https://lists.o-ran-sc.org/g/toc/topic/ap_from_toc_add_ptls_as/83099800'
+        - type: 'promotion'
+          name: 'John Keeney'
+          link: 'https://lists.o-ran-sc.org/g/toc/topic/ap_from_toc_add_ptls_as/83099800'
+        - type: 'promotion'
+          name: 'Martin Skorupski'
+          link: 'https://lists.o-ran-sc.org/g/toc/topic/ap_from_toc_add_ptls_as/83099800'
+        - type: 'promotion'
+          name: 'Mahesh Jethanandani'
+          link: 'https://lists.o-ran-sc.org/g/toc/topic/ap_from_toc_add_ptls_as/83099800'
+        - type: 'promotion'
+          name: 'Alex Stancu'
+          link: 'https://lists.o-ran-sc.org/g/toc/topic/ap_from_toc_add_ptls_as/83099800'
+        - type: 'promotion'
+          name: 'Xiaohua Zhang'
+          link: 'https://lists.o-ran-sc.org/g/toc/topic/ap_from_toc_add_ptls_as/83099800'
index 1be6389..9d3cee6 100644 (file)
@@ -146,6 +146,8 @@ policymanagementservice:
       size: 2Gi
       mountPath: /dockerdata-nfs
       mountSubPath: nonrtric/policymanagementservice
+    ingress:
+      enabled: false
 
 enrichmentservice:
   enrichmentservice:
@@ -175,6 +177,8 @@ enrichmentservice:
       size: 2Gi
       mountPath: /dockerdata-nfs
       mountSubPath: nonrtric/enrichmentservice
+    ingress:
+      enabled: false
 
 rappcatalogueservice:
   rappcatalogueservice:
index e679d16..f752022 100644 (file)
@@ -1,3 +1,4 @@
+{{/*
 ################################################################################
 #   Copyright (c) 2021 Nordix Foundation.                                      #
 #                                                                              #
@@ -13,7 +14,9 @@
 #   See the License for the specific language governing permissions and        #
 #   limitations under the License.                                             #
 ################################################################################
+*/}}
 
+{{- if .Values.enrichmentservice.ingress.enabled -}}
 apiVersion: networking.k8s.io/v1
 kind: Ingress
 metadata:
@@ -29,13 +32,14 @@ spec:
             backend:
               service:
                 name: {{ include "common.name.enrichmentservice" . }}
-                port: 
+                port:
                   number: {{ .Values.enrichmentservice.service.internalPort1 }}
             pathType: Prefix
             path: "/data-consumer"
             backend:
               service:
                 name: {{ include "common.name.enrichmentservice" . }}
-                port: 
+                port:
                   number: {{ .Values.enrichmentservice.service.internalPort1 }}
             pathType: Prefix
+{{- end -}}
\ No newline at end of file
index 2e1e7a4..e5d997a 100644 (file)
@@ -44,4 +44,5 @@ enrichmentservice:
     size: 2Gi
     mountPath: /dockerdata-nfs
     mountSubPath: nonrtric/enrichmentservice
-
+  ingress:
+    enabled: false
index 67eac10..d981da5 100644 (file)
@@ -1,3 +1,4 @@
+{{/*
 ################################################################################
 #   Copyright (c) 2021 Nordix Foundation.                                      #
 #                                                                              #
@@ -13,7 +14,9 @@
 #   See the License for the specific language governing permissions and        #
 #   limitations under the License.                                             #
 ################################################################################
+*/}}
 
+{{- if .Values.policymanagementservice.ingress.enabled -}}
 apiVersion: networking.k8s.io/v1
 kind: Ingress
 metadata:
@@ -32,3 +35,4 @@ spec:
                   number: {{ .Values.policymanagementservice.service.internalPort1 }}
             path: "/a1-policy"
             pathType: Prefix
+{{- end -}}
\ No newline at end of file
index 3e67451..a868bce 100644 (file)
@@ -47,3 +47,5 @@ policymanagementservice:
     storageClass: "manual"
     enabled: true
     #existingClaim:
+  ingress:
+    enabled: false
index 6801cee..c6be83c 100644 (file)
   {{- printf "%s-%s" $namespace $name | trunc 63 | trimSuffix "-" -}}\r
 {{- end -}}\r
 \r
-\r
-{{- define "common.deploymentname.influxdb" -}}\r
-  {{- $name := ( include "common.fullname.influxdb" . ) -}}\r
-  {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}}\r
+{{- define "common.influxdb.chart" -}}\r
+{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}\r
 {{- end -}}\r
 \r
-{{- define "common.configmapname.influxdb" -}}\r
-  {{- $name := ( include "common.fullname.influxdb" . ) -}}\r
-  {{- printf "configmap-%s" $name | trunc 63 | trimSuffix "-" -}}\r
+{{- define "common.influxdb.labels" -}}\r
+helm.sh/chart: {{ include "common.influxdb.chart" . }}\r
+{{ include "common.influxdb.selectorLabels" . }}\r
+{{- if .Chart.AppVersion }}\r
+app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}\r
+{{- end }}\r
+app.kubernetes.io/managed-by: {{ .Release.Service }}\r
 {{- end -}}\r
 \r
-{{- define "common.containername.influxdb" -}}\r
-  {{- $name := ( include "common.fullname.influxdb" . ) -}}\r
-  {{- printf "container-%s" $name | trunc 63 | trimSuffix "-" -}}\r
+{{- define "common.influxdb.selectorLabels" -}}\r
+app.kubernetes.io/name: {{ include "common.name.influxdb" . }}\r
+app.kubernetes.io/instance: {{ .Release.Name }}\r
 {{- end -}}\r
 \r
-\r
-{{- define "common.pvname.influxdb" -}}\r
-  {{- $name := ( include "common.fullname.influxdb" . ) -}}\r
-  {{- printf "pv-%s" $name | trunc 63 | trimSuffix "-" -}}\r
-{{- end -}}\r
-\r
-{{- define "common.pvcname.influxdb" -}}\r
-  {{- $name := ( include "common.fullname.influxdb" . ) -}}\r
-  {{- printf "pvc-%s" $name | trunc 63 | trimSuffix "-" -}}\r
-{{- end -}}\r
-\r
-\r
-{{- define "common.servicename.influxdb.http" -}}\r
+{{- define "common.influxdb.serviceAccountName" -}}\r
   {{- $name := ( include "common.fullname.influxdb" . ) -}}\r
   {{- printf "service-%s-http" $name | trunc 63 | trimSuffix "-" -}}\r
 {{- end -}}\r
 \r
-\r
 {{- define "common.serviceport.influxdb.http" -}}8086{{- end -}}\r
 {{- define "common.serviceport.influxdb.meta.bind_address" -}}8091{{- end -}}\r
 {{- define "common.serviceport.influxdb.http.bind_address" -}}8086{{- end -}}\r
 {{- define "common.serviceport.influxdb.udp.bind_address" -}}8089{{- end -}}\r
 {{- define "common.serviceport.influxdb.opentsdb.bind_address" -}}4242{{- end -}}\r
 {{- define "common.serviceport.influxdb.collectd.bind_address" -}}25826{{- end -}}\r
-\r
-\r
-{{- define "common.serviceaccountname.influxdb" -}}\r
-  {{- $name := ( include "common.fullname.influxdb" . ) -}}\r
-  {{- printf "svcacct-%s" $name | trunc 63 | trimSuffix "-" -}}\r
-{{- end -}}\r
-\r
-\r
-{{- define "common.ingressname.influxdb" -}}\r
-  {{- $name := ( include "common.fullname.influxdb" . ) -}}\r
-  {{- printf "ingress-%s" $name | trunc 63 | trimSuffix "-" -}}\r
-{{- end -}}\r