Merge "[POLICY] frankfurt RC2 images"
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Tue, 26 May 2020 06:51:23 +0000 (06:51 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 26 May 2020 06:51:23 +0000 (06:51 +0000)
92 files changed:
kubernetes/appc/charts/appc-cdt/values.yaml
kubernetes/appc/values.yaml
kubernetes/common/postgres/templates/_deployment.tpl
kubernetes/msb/charts/msb-eag/templates/deployment.yaml
kubernetes/msb/charts/msb-iag/templates/deployment.yaml
kubernetes/msb/resources/config/certificates/cert.crt
kubernetes/msb/templates/secrets.yaml [new file with mode: 0644]
kubernetes/portal/Makefile [new file with mode: 0644]
kubernetes/portal/components/Makefile [new file with mode: 0644]
kubernetes/portal/components/portal-app/.helmignore [moved from kubernetes/portal/charts/portal-app/.helmignore with 100% similarity]
kubernetes/portal/components/portal-app/Chart.yaml [moved from kubernetes/portal/charts/portal-app/Chart.yaml with 100% similarity]
kubernetes/portal/components/portal-app/requirements.yaml [new file with mode: 0644]
kubernetes/portal/components/portal-app/resources/config/deliveries/properties/ONAPPORTAL/fusion.properties [moved from kubernetes/portal/charts/portal-app/resources/config/deliveries/properties/ONAPPORTAL/fusion.properties with 100% similarity]
kubernetes/portal/components/portal-app/resources/config/deliveries/properties/ONAPPORTAL/logback.xml [moved from kubernetes/portal/charts/portal-app/resources/config/deliveries/properties/ONAPPORTAL/logback.xml with 100% similarity]
kubernetes/portal/components/portal-app/resources/config/deliveries/properties/ONAPPORTAL/music.properties [moved from kubernetes/portal/charts/portal-app/resources/config/deliveries/properties/ONAPPORTAL/music.properties with 100% similarity]
kubernetes/portal/components/portal-app/resources/config/deliveries/properties/ONAPPORTAL/openid-connect.properties [moved from kubernetes/portal/charts/portal-app/resources/config/deliveries/properties/ONAPPORTAL/openid-connect.properties with 100% similarity]
kubernetes/portal/components/portal-app/resources/config/deliveries/properties/ONAPPORTAL/portal.properties [moved from kubernetes/portal/charts/portal-app/resources/config/deliveries/properties/ONAPPORTAL/portal.properties with 100% similarity]
kubernetes/portal/components/portal-app/resources/config/deliveries/properties/ONAPPORTAL/system.properties [moved from kubernetes/portal/charts/portal-app/resources/config/deliveries/properties/ONAPPORTAL/system.properties with 100% similarity]
kubernetes/portal/components/portal-app/resources/server/server.xml [moved from kubernetes/portal/charts/portal-app/resources/server/server.xml with 99% similarity]
kubernetes/portal/components/portal-app/resources/server/web.xml [moved from kubernetes/portal/charts/portal-app/resources/server/web.xml with 100% similarity]
kubernetes/portal/components/portal-app/templates/NOTES.txt [moved from kubernetes/portal/charts/portal-app/templates/NOTES.txt with 100% similarity]
kubernetes/portal/components/portal-app/templates/configmap.yaml [moved from kubernetes/portal/charts/portal-app/templates/configmap.yaml with 100% similarity]
kubernetes/portal/components/portal-app/templates/deployment.yaml [moved from kubernetes/portal/charts/portal-app/templates/deployment.yaml with 100% similarity]
kubernetes/portal/components/portal-app/templates/ingress.yaml [moved from kubernetes/portal/charts/portal-app/templates/ingress.yaml with 100% similarity]
kubernetes/portal/components/portal-app/templates/secret.yaml [moved from kubernetes/portal/charts/portal-app/templates/secret.yaml with 100% similarity]
kubernetes/portal/components/portal-app/templates/service.yaml [moved from kubernetes/portal/charts/portal-app/templates/service.yaml with 100% similarity]
kubernetes/portal/components/portal-app/values.yaml [moved from kubernetes/portal/charts/portal-app/values.yaml with 98% similarity]
kubernetes/portal/components/portal-cassandra/.helmignore [moved from kubernetes/portal/charts/portal-cassandra/.helmignore with 100% similarity]
kubernetes/portal/components/portal-cassandra/Chart.yaml [moved from kubernetes/portal/charts/portal-cassandra/Chart.yaml with 100% similarity]
kubernetes/portal/components/portal-cassandra/requirements.yaml [new file with mode: 0644]
kubernetes/portal/components/portal-cassandra/resources/config/cassandra/docker-entrypoint-initdb.d/portal.cql [moved from kubernetes/portal/charts/portal-cassandra/resources/config/cassandra/docker-entrypoint-initdb.d/portal.cql with 100% similarity]
kubernetes/portal/components/portal-cassandra/resources/config/cassandra/docker-entrypoint-initdb.d/portal_single.cql [moved from kubernetes/portal/charts/portal-cassandra/resources/config/cassandra/docker-entrypoint-initdb.d/portal_single.cql with 100% similarity]
kubernetes/portal/components/portal-cassandra/resources/config/cassandra/docker-entrypoint-initdb.d/portalsdk.cql [moved from kubernetes/portal/charts/portal-cassandra/resources/config/cassandra/docker-entrypoint-initdb.d/portalsdk.cql with 100% similarity]
kubernetes/portal/components/portal-cassandra/templates/NOTES.txt [moved from kubernetes/portal/charts/portal-cassandra/templates/NOTES.txt with 100% similarity]
kubernetes/portal/components/portal-cassandra/templates/configmap.yaml [moved from kubernetes/portal/charts/portal-cassandra/templates/configmap.yaml with 100% similarity]
kubernetes/portal/components/portal-cassandra/templates/deployment.yaml [moved from kubernetes/portal/charts/portal-cassandra/templates/deployment.yaml with 100% similarity]
kubernetes/portal/components/portal-cassandra/templates/pv.yaml [moved from kubernetes/portal/charts/portal-cassandra/templates/pv.yaml with 100% similarity]
kubernetes/portal/components/portal-cassandra/templates/pvc.yaml [moved from kubernetes/portal/charts/portal-cassandra/templates/pvc.yaml with 100% similarity]
kubernetes/portal/components/portal-cassandra/templates/service.yaml [moved from kubernetes/portal/charts/portal-cassandra/templates/service.yaml with 100% similarity]
kubernetes/portal/components/portal-cassandra/values.yaml [moved from kubernetes/portal/charts/portal-cassandra/values.yaml with 100% similarity]
kubernetes/portal/components/portal-mariadb/.helmignore [moved from kubernetes/portal/charts/portal-mariadb/.helmignore with 100% similarity]
kubernetes/portal/components/portal-mariadb/Chart.yaml [moved from kubernetes/portal/charts/portal-mariadb/Chart.yaml with 100% similarity]
kubernetes/portal/components/portal-mariadb/requirements.yaml [new file with mode: 0644]
kubernetes/portal/components/portal-mariadb/resources/config/mariadb/docker-entrypoint.sh [moved from kubernetes/portal/charts/portal-mariadb/resources/config/mariadb/docker-entrypoint.sh with 100% similarity]
kubernetes/portal/components/portal-mariadb/resources/config/mariadb/oom_updates.sql [moved from kubernetes/portal/charts/portal-mariadb/resources/config/mariadb/oom_updates.sql with 100% similarity]
kubernetes/portal/components/portal-mariadb/templates/NOTES.txt [moved from kubernetes/portal/charts/portal-mariadb/templates/NOTES.txt with 100% similarity]
kubernetes/portal/components/portal-mariadb/templates/configmap.yaml [moved from kubernetes/portal/charts/portal-mariadb/templates/configmap.yaml with 100% similarity]
kubernetes/portal/components/portal-mariadb/templates/deployment.yaml [moved from kubernetes/portal/charts/portal-mariadb/templates/deployment.yaml with 100% similarity]
kubernetes/portal/components/portal-mariadb/templates/job.yaml [moved from kubernetes/portal/charts/portal-mariadb/templates/job.yaml with 100% similarity]
kubernetes/portal/components/portal-mariadb/templates/pv.yaml [moved from kubernetes/portal/charts/portal-mariadb/templates/pv.yaml with 100% similarity]
kubernetes/portal/components/portal-mariadb/templates/pvc.yaml [moved from kubernetes/portal/charts/portal-mariadb/templates/pvc.yaml with 100% similarity]
kubernetes/portal/components/portal-mariadb/templates/secrets.yaml [moved from kubernetes/portal/charts/portal-mariadb/templates/secrets.yaml with 100% similarity]
kubernetes/portal/components/portal-mariadb/templates/service.yaml [moved from kubernetes/portal/charts/portal-mariadb/templates/service.yaml with 100% similarity]
kubernetes/portal/components/portal-mariadb/values.yaml [moved from kubernetes/portal/charts/portal-mariadb/values.yaml with 100% similarity]
kubernetes/portal/components/portal-sdk/.helmignore [moved from kubernetes/portal/charts/portal-sdk/.helmignore with 100% similarity]
kubernetes/portal/components/portal-sdk/Chart.yaml [moved from kubernetes/portal/charts/portal-sdk/Chart.yaml with 100% similarity]
kubernetes/portal/components/portal-sdk/requirements.yaml [new file with mode: 0644]
kubernetes/portal/components/portal-sdk/resources/config/deliveries/properties/ONAPPORTALSDK/fusion.properties [moved from kubernetes/portal/charts/portal-sdk/resources/config/deliveries/properties/ONAPPORTALSDK/fusion.properties with 100% similarity]
kubernetes/portal/components/portal-sdk/resources/config/deliveries/properties/ONAPPORTALSDK/logback.xml [moved from kubernetes/portal/charts/portal-sdk/resources/config/deliveries/properties/ONAPPORTALSDK/logback.xml with 100% similarity]
kubernetes/portal/components/portal-sdk/resources/config/deliveries/properties/ONAPPORTALSDK/music.properties [moved from kubernetes/portal/charts/portal-sdk/resources/config/deliveries/properties/ONAPPORTALSDK/music.properties with 100% similarity]
kubernetes/portal/components/portal-sdk/resources/config/deliveries/properties/ONAPPORTALSDK/portal.properties [moved from kubernetes/portal/charts/portal-sdk/resources/config/deliveries/properties/ONAPPORTALSDK/portal.properties with 100% similarity]
kubernetes/portal/components/portal-sdk/resources/config/deliveries/properties/ONAPPORTALSDK/system.properties [moved from kubernetes/portal/charts/portal-sdk/resources/config/deliveries/properties/ONAPPORTALSDK/system.properties with 100% similarity]
kubernetes/portal/components/portal-sdk/resources/server/server.xml [moved from kubernetes/portal/charts/portal-sdk/resources/server/server.xml with 100% similarity]
kubernetes/portal/components/portal-sdk/templates/NOTES.txt [moved from kubernetes/portal/charts/portal-sdk/templates/NOTES.txt with 100% similarity]
kubernetes/portal/components/portal-sdk/templates/configmap.yaml [moved from kubernetes/portal/charts/portal-sdk/templates/configmap.yaml with 100% similarity]
kubernetes/portal/components/portal-sdk/templates/deployment.yaml [moved from kubernetes/portal/charts/portal-sdk/templates/deployment.yaml with 100% similarity]
kubernetes/portal/components/portal-sdk/templates/ingress.yaml [moved from kubernetes/portal/charts/portal-sdk/templates/ingress.yaml with 100% similarity]
kubernetes/portal/components/portal-sdk/templates/secrets.yaml [moved from kubernetes/portal/charts/portal-sdk/templates/secrets.yaml with 100% similarity]
kubernetes/portal/components/portal-sdk/templates/service.yaml [moved from kubernetes/portal/charts/portal-sdk/templates/service.yaml with 100% similarity]
kubernetes/portal/components/portal-sdk/values.yaml [moved from kubernetes/portal/charts/portal-sdk/values.yaml with 98% similarity]
kubernetes/portal/components/portal-widget/.helmignore [moved from kubernetes/portal/charts/portal-widget/.helmignore with 100% similarity]
kubernetes/portal/components/portal-widget/Chart.yaml [moved from kubernetes/portal/charts/portal-widget/Chart.yaml with 100% similarity]
kubernetes/portal/components/portal-widget/requirements.yaml [new file with mode: 0644]
kubernetes/portal/components/portal-widget/resources/config/deliveries/properties/ONAPWIDGETMS/application.properties [moved from kubernetes/portal/charts/portal-widget/resources/config/deliveries/properties/ONAPWIDGETMS/application.properties with 100% similarity]
kubernetes/portal/components/portal-widget/resources/config/deliveries/properties/ONAPWIDGETMS/application.yml [moved from kubernetes/portal/charts/portal-widget/resources/config/deliveries/properties/ONAPWIDGETMS/application.yml with 100% similarity]
kubernetes/portal/components/portal-widget/templates/NOTES.txt [moved from kubernetes/portal/charts/portal-widget/templates/NOTES.txt with 100% similarity]
kubernetes/portal/components/portal-widget/templates/configmap.yaml [moved from kubernetes/portal/charts/portal-widget/templates/configmap.yaml with 100% similarity]
kubernetes/portal/components/portal-widget/templates/deployment.yaml [moved from kubernetes/portal/charts/portal-widget/templates/deployment.yaml with 100% similarity]
kubernetes/portal/components/portal-widget/templates/service.yaml [moved from kubernetes/portal/charts/portal-widget/templates/service.yaml with 100% similarity]
kubernetes/portal/components/portal-widget/values.yaml [moved from kubernetes/portal/charts/portal-widget/values.yaml with 100% similarity]
kubernetes/portal/components/portal-zookeeper/.helmignore [moved from kubernetes/portal/charts/portal-zookeeper/.helmignore with 100% similarity]
kubernetes/portal/components/portal-zookeeper/Chart.yaml [moved from kubernetes/portal/charts/portal-zookeeper/Chart.yaml with 100% similarity]
kubernetes/portal/components/portal-zookeeper/requirements.yaml [new file with mode: 0644]
kubernetes/portal/components/portal-zookeeper/templates/NOTES.txt [moved from kubernetes/portal/charts/portal-zookeeper/templates/NOTES.txt with 100% similarity]
kubernetes/portal/components/portal-zookeeper/templates/deployment.yaml [moved from kubernetes/portal/charts/portal-zookeeper/templates/deployment.yaml with 100% similarity]
kubernetes/portal/components/portal-zookeeper/templates/service.yaml [moved from kubernetes/portal/charts/portal-zookeeper/templates/service.yaml with 100% similarity]
kubernetes/portal/components/portal-zookeeper/values.yaml [moved from kubernetes/portal/charts/portal-zookeeper/values.yaml with 100% similarity]
kubernetes/portal/requirements.yaml
kubernetes/so/charts/so-bpmn-infra/resources/config/overrides/override.yaml
kubernetes/so/charts/so-openstack-adapter/resources/config/overrides/override.yaml
kubernetes/so/charts/so-vfc-adapter/resources/config/overrides/override.yaml
kubernetes/so/charts/so-vnfm-adapter/resources/config/overrides/override.yaml

index bd99bca..e850820 100644 (file)
@@ -26,7 +26,7 @@ flavor: small
 
 # application image
 repository: nexus3.onap.org:10001
-image: onap/appc-cdt-image:1.7.1
+image: onap/appc-cdt-image:1.7.2
 pullPolicy: Always
 
 # application configuration
index 45a9b4c..1386a06 100644 (file)
@@ -57,7 +57,7 @@ secrets:
 flavor: small
 # application image
 repository: nexus3.onap.org:10001
-image: onap/appc-image:1.7.1
+image: onap/appc-image:1.7.2
 pullPolicy: Always
 
 # flag to enable debugging - application support required
index e3ac669..b1aae5f 100644 (file)
@@ -44,19 +44,26 @@ spec:
         - sh
         args:
         - -c
-        - "cd /config-input && for PFILE in `ls -1 .`; do envsubst <${PFILE} >/config/${PFILE}; done"
+        - |
+          function prepare_password {
+            echo -n $1 | sed -e "s/'/''/g"
+          }
+          export PG_PRIMARY_PASSWORD=`prepare_password $PG_PRIMARY_PASSWORD_INPUT`;
+          export PG_PASSWORD=`prepare_password $PG_PASSWORD_INPUT`;
+          export PG_ROOT_PASSWORD=`prepare_password $PG_ROOT_PASSWORD_INPUT`;
+          cd /config-input && for PFILE in `ls -1 .`; do envsubst <${PFILE} >/config/${PFILE}; done
         env:
         - name: PG_PRIMARY_USER
           value: primaryuser
-        - name: PG_PRIMARY_PASSWORD
+        - name: PG_PRIMARY_PASSWORD_INPUT
           {{- include "common.secret.envFromSecretFast" (dict "global" $dot "uid" (include "common.postgres.secret.primaryPasswordUID" .) "key" "password") | indent 10 }}
         - name: PG_USER
           {{- include "common.secret.envFromSecretFast" (dict "global" $dot "uid" (include "common.postgres.secret.userCredentialsUID" .) "key" "login") | indent 10 }}
-        - name: PG_PASSWORD
+        - name: PG_PASSWORD_INPUT
           {{- include "common.secret.envFromSecretFast" (dict "global" $dot "uid" (include "common.postgres.secret.userCredentialsUID" .) "key" "password") | indent 10 }}
         - name: PG_DATABASE
           value: "{{ $dot.Values.config.pgDatabase }}"
-        - name: PG_ROOT_PASSWORD
+        - name: PG_ROOT_PASSWORD_INPUT
           {{- include "common.secret.envFromSecretFast" (dict "global" $dot "uid" (include "common.postgres.secret.rootPassUID" .) "key" "password") | indent 10 }}
         volumeMounts:
         - mountPath: /config-input/setup.sql
index fd16a0c..95f0e34 100644 (file)
@@ -81,6 +81,14 @@ spec:
           - mountPath: /etc/localtime
             name: localtime
             readOnly: true
+          - name: {{ include "common.fullname" . }}-cert
+            mountPath: /usr/local/openresty/nginx/ssl/cert/cert.crt
+            readOnly: true
+            subPath: "cert.crt"
+          - name: {{ include "common.fullname" . }}-cert
+            mountPath: /usr/local/openresty/nginx/html/cert/ca.crt
+            readOnly: true
+            subPath: "ca.crt"
           - mountPath: /usr/local/apiroute-works/logs
             name: {{ include "common.fullname" . }}-logs
           resources:
@@ -109,6 +117,9 @@ spec:
             name: {{ include "common.fullname" . }}-log-conf
             subPath: logback.xml
       volumes:
+        - name: {{ include "common.fullname" . }}-cert
+          secret:
+            secretName: {{ include "common.release" . }}-msb-https-cert
         - name: {{ include "common.fullname" . }}-log-conf
           configMap:
             name: {{ include "common.fullname" . }}-log
index 8975a32..f95f105 100644 (file)
@@ -81,6 +81,14 @@ spec:
           - mountPath: /etc/localtime
             name: localtime
             readOnly: true
+          - name: {{ include "common.fullname" . }}-cert
+            mountPath: /usr/local/openresty/nginx/ssl/cert/cert.crt
+            readOnly: true
+            subPath: "cert.crt"
+          - name: {{ include "common.fullname" . }}-cert
+            mountPath: /usr/local/openresty/nginx/html/cert/ca.crt
+            readOnly: true
+            subPath: "ca.crt"
           - mountPath: /usr/local/apiroute-works/logs
             name: {{ include "common.fullname" . }}-logs
           resources:
@@ -109,6 +117,9 @@ spec:
             name: {{ include "common.fullname" . }}-log-conf
             subPath: logback.xml
       volumes:
+        - name: {{ include "common.fullname" . }}-cert
+          secret:
+            secretName: {{ include "common.release" . }}-msb-https-cert
         - name: {{ include "common.fullname" . }}-log-conf
           configMap:
             name: {{ include "common.fullname" . }}-log
index 7d1314f..e718c8d 100644 (file)
@@ -1,22 +1,23 @@
 -----BEGIN CERTIFICATE-----
-MIIDqjCCApKgAwIBAgIJAOQWcdss4Qu5MA0GCSqGSIb3DQEBCwUAMIGKMQswCQYD
+MIID0TCCArmgAwIBAgIJAOQWcdss4QvKMA0GCSqGSIb3DQEBCwUAMIGKMQswCQYD
 VQQGEwJDTjERMA8GA1UECAwIc2ljaHVhbmcxEDAOBgNVBAcMB2NoZW5nZHUxDDAK
 BgNVBAoMA3p0ZTEOMAwGA1UECwwFemVuYXAxODA2BgNVBAMML1pURSBPcGVuUGFs
-ZXR0ZSBSb290IENlcnRpZmljYXRlIEF1dGhvcml0eSAyMDE3MB4XDTIwMDQyMjAy
-NTc1MFoXDTIyMDQyMjAyNTc1MFowYDELMAkGA1UEBhMCQ04xEDAOBgNVBAgMB1Np
-Y2h1YW4xEDAOBgNVBAcMB0NoZW5nZHUxDTALBgNVBAoMBE9OQVAxDDAKBgNVBAsM
-A01TQjEQMA4GA1UEAwwHbXNiLWlhZzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC
-AQoCggEBAMa1YlTIL8APcmASbxrD7Q9BhWL9Hwi+FKO4HsIrSiJj/A/FLVe3kV2a
-xA7b5wdv44P0qQnh3pc0djlnZ47Fgli3lhEZ33+j5vrXHCjEFKiZZVeO+y/p+OcZ
-VMNiL+MPJNTNgMkPoaljs/U6fn6fFyAgMMIqqigxHJaNvz7IH+UpqbWWzZo7+JqC
-lBi8t5ZIDk18/3cPQWXIne+3MoYULdEayAS8/4wYoJANH1knmSG+J07f9uCXniiz
-4zFFngMGHm4kuKXJCAl5E6S5fPzsLKqtwbbn9kJNyWoNFDuc7zW5dPfqPVckHHQ8
-Dx0q2111UgrzrBZMW1RKmcwB+1YXip8CAwEAAaM8MDowCQYDVR0TBAIwADALBgNV
-HQ8EBAMCBeAwIAYDVR0RBBkwF4IVKi5zaW1wbGVkZW1vLm9uYXAub3JnMA0GCSqG
-SIb3DQEBCwUAA4IBAQCXSECDNzsg2MhVIVvviqxhpZWZ3sa7KxXlyd9iSmBzkneS
-+XiyUC575ZM3lmh1Kme35bWgz5R/w76XLSMBPxIX6uZ4HVNQqwSPv63Nk9+ON3IN
-iCn6ehHKJgT0rpx/aB3sIcE1hEtIWLGaaKVEb3DOuDbkbBT9eJbIgHKkT80PKynK
-l35dQRMiGBQiD8cBUxTOJaj7QohZ/aUWArZCOl0uvddkrs/IOCMY3BDQ0WZ7RYp3
-LwpgZVPzkVRaSLSq3TS07Re+nZcaht69T6mdMY5V0gW20O4J2nWMaldSmlNqcddb
-Nl5Xn0lRMW651ZzxEkcaXNtR78yLYi2JXtyQBgVA
+ZXR0ZSBSb290IENlcnRpZmljYXRlIEF1dGhvcml0eSAyMDE3MB4XDTIwMDUxMzAy
+MjIyN1oXDTIyMDUxMzAyMjIyN1owgYwxCzAJBgNVBAYTAkNOMRAwDgYDVQQIDAdT
+aWNodWFuMRAwDgYDVQQHDAdDaGVuZ2R1MQ0wCwYDVQQKDARPTkFQMQwwCgYDVQQL
+DANNU0IxEDAOBgNVBAMMB21zYi1pYWcxKjAoBgkqhkiG9w0BCQEWG29uYXAtZGlz
+Y3Vzc0BsaXN0cy5vbmFwLm9yZzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
+ggEBAMa1YlTIL8APcmASbxrD7Q9BhWL9Hwi+FKO4HsIrSiJj/A/FLVe3kV2axA7b
+5wdv44P0qQnh3pc0djlnZ47Fgli3lhEZ33+j5vrXHCjEFKiZZVeO+y/p+OcZVMNi
+L+MPJNTNgMkPoaljs/U6fn6fFyAgMMIqqigxHJaNvz7IH+UpqbWWzZo7+JqClBi8
+t5ZIDk18/3cPQWXIne+3MoYULdEayAS8/4wYoJANH1knmSG+J07f9uCXniiz4zFF
+ngMGHm4kuKXJCAl5E6S5fPzsLKqtwbbn9kJNyWoNFDuc7zW5dPfqPVckHHQ8Dx0q
+2111UgrzrBZMW1RKmcwB+1YXip8CAwEAAaM2MDQwMgYDVR0RBCswKYIHbXNiLWlh
+Z4IHbXNiLWVhZ4IVKi5zaW1wbGVkZW1vLm9uYXAub3JnMA0GCSqGSIb3DQEBCwUA
+A4IBAQC9KKJ5x+EBHfdODbMIAufYinlbNRQ4xdG7tlRk0cRXnZoWi6yObQXmZuHV
+56M2ZIylKNab2Z0VBluQqoLJvByAHQJO1r+qsAMG/LXBRC1x3y5344vtEPbikpMs
+GHtxHomAu/JtSAlSL1Wvj7co3OUgVH/yNbccysVtqxxrfPrBhLfH/yDrFehmQ00T
+P8mmJG3qeOUII0pgUjBkGL52+YMN0qy0SgryBx86fR9Y1bQLdWNfsM1CUXE2q9xs
+FmU5Ry1pemTo68THSJs4wOnjLZ4kWTseTcEmQ6X2lfah8Ch0ffd3tttguNXnT1Xc
+axgwv2Cypja3bPbq9t8kfJhbDrYO
 -----END CERTIFICATE-----
diff --git a/kubernetes/msb/templates/secrets.yaml b/kubernetes/msb/templates/secrets.yaml
new file mode 100644 (file)
index 0000000..7dcec5a
--- /dev/null
@@ -0,0 +1,26 @@
+{{/*
+# Copyright © 2020 Samsung Electronics
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+*/}}
+apiVersion: v1
+kind: Secret
+metadata:
+  name: {{ include "common.release" . }}-msb-https-cert
+  labels: {{ include "common.labels" . | nindent 4 }}
+    app: {{ include "common.name" . }}
+    chart: {{ include "common.chart" . }}
+    release: {{ include "common.release" . }}
+type: Opaque
+data:
+{{ tpl (.Files.Glob "resources/config/certificates/*").AsSecrets . | indent 2 }}
diff --git a/kubernetes/portal/Makefile b/kubernetes/portal/Makefile
new file mode 100644 (file)
index 0000000..8af301d
--- /dev/null
@@ -0,0 +1,50 @@
+# Copyright © 2020 Samsung Electronics
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+ROOT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
+OUTPUT_DIR := $(ROOT_DIR)/../dist
+PACKAGE_DIR := $(OUTPUT_DIR)/packages
+SECRET_DIR := $(OUTPUT_DIR)/secrets
+
+EXCLUDES := dist resources templates charts docker
+HELM_CHARTS := $(filter-out $(EXCLUDES), $(sort $(patsubst %/.,%,$(wildcard */.))))
+
+.PHONY: $(EXCLUDES) $(HELM_CHARTS)
+
+all: $(HELM_CHARTS)
+
+$(HELM_CHARTS):
+       @echo "\n[$@]"
+       @make package-$@
+
+make-%:
+       @if [ -f $*/Makefile ]; then make -C $*; fi
+
+dep-%: make-%
+       @if [ -f $*/requirements.yaml ]; then helm dep up $*; fi
+
+lint-%: dep-%
+       @if [ -f $*/Chart.yaml ]; then helm lint $*; fi
+
+package-%: lint-%
+       @mkdir -p $(PACKAGE_DIR)
+       @if [ -f $*/Chart.yaml ]; then helm package -d $(PACKAGE_DIR) $*; fi
+       @helm repo index $(PACKAGE_DIR)
+
+clean:
+       @rm -f */requirements.lock
+       @rm -f *tgz */charts/*tgz
+       @rm -rf $(PACKAGE_DIR)
+%:
+       @:
diff --git a/kubernetes/portal/components/Makefile b/kubernetes/portal/components/Makefile
new file mode 100644 (file)
index 0000000..2fc0cbe
--- /dev/null
@@ -0,0 +1,50 @@
+# Copyright © 2020 Samsung Electronics
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+ROOT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
+OUTPUT_DIR := $(ROOT_DIR)/../../dist
+PACKAGE_DIR := $(OUTPUT_DIR)/packages
+SECRET_DIR := $(OUTPUT_DIR)/secrets
+
+EXCLUDES :=
+HELM_CHARTS := $(filter-out $(EXCLUDES), $(sort $(patsubst %/.,%,$(wildcard */.))))
+
+.PHONY: $(EXCLUDES) $(HELM_CHARTS)
+
+all: $(HELM_CHARTS)
+
+$(HELM_CHARTS):
+       @echo "\n[$@]"
+       @make package-$@
+
+make-%:
+       @if [ -f $*/Makefile ]; then make -C $*; fi
+
+dep-%: make-%
+       @if [ -f $*/requirements.yaml ]; then helm dep up $*; fi
+
+lint-%: dep-%
+       @if [ -f $*/Chart.yaml ]; then helm lint $*; fi
+
+package-%: lint-%
+       @mkdir -p $(PACKAGE_DIR)
+       @if [ -f $*/Chart.yaml ]; then helm package -d $(PACKAGE_DIR) $*; fi
+       @helm repo index $(PACKAGE_DIR)
+
+clean:
+       @rm -f */requirements.lock
+       @rm -f *tgz */charts/*tgz
+       @rm -rf $(PACKAGE_DIR)
+%:
+       @:
diff --git a/kubernetes/portal/components/portal-app/requirements.yaml b/kubernetes/portal/components/portal-app/requirements.yaml
new file mode 100644 (file)
index 0000000..c5d7864
--- /dev/null
@@ -0,0 +1,18 @@
+# Copyright © 2020 Samsung Electronics
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+dependencies:
+  - name: common
+    version: ~6.x-0
+    repository: '@local'
@@ -17,6 +17,8 @@
 # Global configuration defaults.
 #################################################################
 global:
+  env:
+    tomcatDir: "/usr/local/tomcat"
   nodePortPrefix: 302
   readinessRepository: oomk8s
   readinessImage: readiness-check:2.0.0
diff --git a/kubernetes/portal/components/portal-cassandra/requirements.yaml b/kubernetes/portal/components/portal-cassandra/requirements.yaml
new file mode 100644 (file)
index 0000000..c5d7864
--- /dev/null
@@ -0,0 +1,18 @@
+# Copyright © 2020 Samsung Electronics
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+dependencies:
+  - name: common
+    version: ~6.x-0
+    repository: '@local'
diff --git a/kubernetes/portal/components/portal-mariadb/requirements.yaml b/kubernetes/portal/components/portal-mariadb/requirements.yaml
new file mode 100644 (file)
index 0000000..c5d7864
--- /dev/null
@@ -0,0 +1,18 @@
+# Copyright © 2020 Samsung Electronics
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+dependencies:
+  - name: common
+    version: ~6.x-0
+    repository: '@local'
diff --git a/kubernetes/portal/components/portal-sdk/requirements.yaml b/kubernetes/portal/components/portal-sdk/requirements.yaml
new file mode 100644 (file)
index 0000000..c5d7864
--- /dev/null
@@ -0,0 +1,18 @@
+# Copyright © 2020 Samsung Electronics
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+dependencies:
+  - name: common
+    version: ~6.x-0
+    repository: '@local'
@@ -17,6 +17,8 @@
 # Global configuration defaults.
 #################################################################
 global:
+  env:
+    tomcatDir: "/usr/local/tomcat"
   nodePortPrefix: 302
   readinessRepository: oomk8s
   readinessImage: readiness-check:2.0.0
diff --git a/kubernetes/portal/components/portal-widget/requirements.yaml b/kubernetes/portal/components/portal-widget/requirements.yaml
new file mode 100644 (file)
index 0000000..c5d7864
--- /dev/null
@@ -0,0 +1,18 @@
+# Copyright © 2020 Samsung Electronics
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+dependencies:
+  - name: common
+    version: ~6.x-0
+    repository: '@local'
diff --git a/kubernetes/portal/components/portal-zookeeper/requirements.yaml b/kubernetes/portal/components/portal-zookeeper/requirements.yaml
new file mode 100644 (file)
index 0000000..c5d7864
--- /dev/null
@@ -0,0 +1,18 @@
+# Copyright © 2020 Samsung Electronics
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+dependencies:
+  - name: common
+    version: ~6.x-0
+    repository: '@local'
index caff1e5..f89bbd6 100644 (file)
@@ -17,3 +17,21 @@ dependencies:
   - name: common
     version: ~6.x-0
     repository: '@local'
+  - name: portal-app
+    version: ~6.x-0
+    repository: 'file://components/portal-app'
+  - name: portal-cassandra
+    version: ~6.x-0
+    repository: 'file://components/portal-cassandra'
+  - name: portal-mariadb
+    version: ~6.x-0
+    repository: 'file://components/portal-mariadb'
+  - name: portal-sdk
+    version: ~6.x-0
+    repository: 'file://components/portal-sdk'
+  - name: portal-widget
+    version: ~6.x-0
+    repository: 'file://components/portal-widget'
+  - name: portal-zookeeper
+    version: ~6.x-0
+    repository: 'file://components/portal-zookeeper'
index 8c21a99..e57ea34 100755 (executable)
@@ -45,7 +45,7 @@ pnf:
     consumerId: consumerId
     topicListenerDelayInSeconds: 5
 bpelURL: http://so-bpmn-infra.{{ include "common.namespace" . }}:8081
-msb-ip: msb-iag.{{ include "common.namespace" . }}
+msb-ip: msb-iag
 msb-port: 80
 mso:
   rainyDay:
index 3ecf3f5..dde3b3e 100755 (executable)
@@ -102,7 +102,7 @@ mso:
       auth: {{ include "helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.encrypted "value2" .Values.mso.db.auth )}}
   auth: {{ include "helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.aaf.auth.encrypted "value2" .Values.mso.auth )}}
   logPath: ./logs/openstack
-  msb-ip: msb-iag.{{ include "common.namespace" . }}
+  msb-ip: msb-iag
   msb-port: 443
   msb-scheme: https
   workflow:
index ea61f50..dec3448 100755 (executable)
@@ -39,7 +39,7 @@ mso:
   logPath: ./logs/vfc
   config:
     cadi: {{ include "cadi.keys" . | nindent 8}}
-  msb-ip: msb-iag.{{ include "common.namespace" . }}
+  msb-ip: msb-iag
   msb-port: 80
   adapters:
     requestDb:
index 10846cf..1166eab 100755 (executable)
@@ -42,7 +42,7 @@ mso:
   logPath: ./logs/vnfm-adapter
   config:
     cadi: {{ include "cadi.keys" . | nindent 8}}
-  msb-ip: msb-iag.{{ include "common.namespace" . }}
+  msb-ip: msb-iag
   msb-port: 80
 sdc:
   username: {{ include "helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.aaf.auth.username "value2" .Values.sdc.username )}}
@@ -54,7 +54,7 @@ vnfmadapter:
 etsi-catalog-manager:
   vnfpkgm:
   {{- if .Values.global.msbEnabled }}
-    endpoint: https://msb-iag.{{ include "common.namespace" . }}:443/api/vnfpkgm/v1
+    endpoint: https://msb-iag:443/api/vnfpkgm/v1
     http:
       client:
         ssl: