Merge "Moving the trustore to parent folder"
authorBorislav Glozman <Borislav.Glozman@amdocs.com>
Wed, 16 Jan 2019 21:20:03 +0000 (21:20 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 16 Jan 2019 21:20:03 +0000 (21:20 +0000)
1  2 
kubernetes/aai/charts/aai-resources/templates/deployment.yaml
kubernetes/aai/charts/aai-traversal/templates/deployment.yaml

@@@ -70,17 -70,6 +70,17 @@@ spec
                "visualRange": "1",
                "path": "/aai/v13/cloud-infrastructure"
            },
 +          {
 +              "serviceName": "_aai-cloudInfrastructure",
 +              "version": "v14",
 +              "url": "/aai/v14/cloud-infrastructure",
 +              "protocol": "REST",
 +              "port": "8447",
 +              "enable_ssl": true,
 +              "lb_policy":"ip_hash",
 +              "visualRange": "1",
 +              "path": "/aai/v14/cloud-infrastructure"
 +          },
            {
                "serviceName": "_aai-business",
                "version": "v11",
                "visualRange": "1",
                "path": "/aai/v13/business"
            },
 +          {
 +              "serviceName": "_aai-business",
 +              "version": "v14",
 +              "url": "/aai/v14/business",
 +              "protocol": "REST",
 +              "port": "8447",
 +              "enable_ssl": true,
 +              "lb_policy":"ip_hash",
 +              "visualRange": "1",
 +              "path": "/aai/v14/business"
 +          },
            {
                "serviceName": "_aai-actions",
                "version": "v11",
                "visualRange": "1",
                "path": "/aai/v13/actions"
            },
 +          {
 +              "serviceName": "_aai-actions",
 +              "version": "v14",
 +              "url": "/aai/v14/actions",
 +              "protocol": "REST",
 +              "port": "8447",
 +              "enable_ssl": true,
 +              "lb_policy":"ip_hash",
 +              "visualRange": "1",
 +              "path": "/aai/v14/actions"
 +          },
            {
                "serviceName": "_aai-service-design-and-creation",
                "version": "v11",
                "visualRange": "1",
                "path": "/aai/v13/service-design-and-creation"
            },
 +          {
 +              "serviceName": "_aai-service-design-and-creation",
 +              "version": "v14",
 +              "url": "/aai/v14/service-design-and-creation",
 +              "protocol": "REST",
 +              "port": "8447",
 +              "enable_ssl": true,
 +              "lb_policy":"ip_hash",
 +              "visualRange": "1",
 +              "path": "/aai/v14/service-design-and-creation"
 +          },
            {
                "serviceName": "_aai-network",
                "version": "v11",
                "visualRange": "1",
                "path": "/aai/v13/network"
            },
 +          {
 +              "serviceName": "_aai-network",
 +              "version": "v14",
 +              "url": "/aai/v14/network",
 +              "protocol": "REST",
 +              "port": "8447",
 +              "enable_ssl": true,
 +              "lb_policy":"ip_hash",
 +              "visualRange": "1",
 +              "path": "/aai/v14/network"
 +          },
            {
                "serviceName": "_aai-externalSystem",
                "version": "v11",
                "lb_policy":"ip_hash",
                "visualRange": "1",
                "path": "/aai/v11/external-system"
 -          },      
 +          },
            {
                "serviceName": "_aai-externalSystem",
                "version": "v12",
                "lb_policy":"ip_hash",
                "visualRange": "1",
                "path": "/aai/v12/external-system"
 -          },      
 +          },
            {
                "serviceName": "_aai-externalSystem",
                "version": "v13",
                "visualRange": "1",
                "path": "/aai/v13/external-system"
            },
 +          {
 +              "serviceName": "_aai-externalSystem",
 +              "version": "v14",
 +              "url": "/aai/v14/external-system",
 +              "protocol": "REST",
 +              "port": "8447",
 +              "enable_ssl": true,
 +              "lb_policy":"ip_hash",
 +              "visualRange": "1",
 +              "path": "/aai/v14/external-system"
 +          },
            {
                "serviceName": "aai-cloudInfrastructure",
                "version": "v11",
                "lb_policy":"ip_hash",
                "visualRange": "1"
            },
 +          {
 +              "serviceName": "aai-cloudInfrastructure",
 +              "version": "v14",
 +              "url": "/aai/v14/cloud-infrastructure",
 +              "protocol": "REST",
 +              "port": "8447",
 +              "enable_ssl": true,
 +              "lb_policy":"ip_hash",
 +              "visualRange": "1"
 +          },
            {
                "serviceName": "aai-business",
                "version": "v11",
                "lb_policy":"ip_hash",
                "visualRange": "1"
            },
 +          {
 +              "serviceName": "aai-business",
 +              "version": "v14",
 +              "url": "/aai/v14/business",
 +              "protocol": "REST",
 +              "port": "8447",
 +              "enable_ssl": true,
 +              "lb_policy":"ip_hash",
 +              "visualRange": "1"
 +          },
            {
                "serviceName": "aai-actions",
                "version": "v11",
                "lb_policy":"ip_hash",
                "visualRange": "1"
            },
 +          {
 +              "serviceName": "aai-actions",
 +              "version": "v14",
 +              "url": "/aai/v14/actions",
 +              "protocol": "REST",
 +              "port": "8447",
 +              "enable_ssl": true,
 +              "lb_policy":"ip_hash",
 +              "visualRange": "1"
 +          },
            {
                "serviceName": "aai-service-design-and-creation",
                "version": "v11",
                "lb_policy":"ip_hash",
                "visualRange": "1"
            },
 +          {
 +              "serviceName": "aai-service-design-and-creation",
 +              "version": "v14",
 +              "url": "/aai/v14/service-design-and-creation",
 +              "protocol": "REST",
 +              "port": "8447",
 +              "enable_ssl": true,
 +              "lb_policy":"ip_hash",
 +              "visualRange": "1"
 +          },
            {
                "serviceName": "aai-network",
                "version": "v11",
                "lb_policy":"ip_hash",
                "visualRange": "1"
            },
 +          {
 +              "serviceName": "aai-network",
 +              "version": "v14",
 +              "url": "/aai/v14/network",
 +              "protocol": "REST",
 +              "port": "8447",
 +              "enable_ssl": true,
 +              "lb_policy":"ip_hash",
 +              "visualRange": "1"
 +          },
            {
                "serviceName": "aai-externalSystem",
                "version": "v11",
                "enable_ssl": true,
                "lb_policy":"ip_hash",
                "visualRange": "1"
 -          },      
 +          },
            {
                "serviceName": "aai-externalSystem",
                "version": "v12",
                "enable_ssl": true,
                "lb_policy":"ip_hash",
                "visualRange": "1"
 -          },      
 +          },
            {
                "serviceName": "aai-externalSystem",
                "version": "v13",
                "enable_ssl": true,
                "lb_policy":"ip_hash",
                "visualRange": "1"
 +          },
 +          {
 +              "serviceName": "aai-externalSystem",
 +              "version": "v14",
 +              "url": "/aai/v14/external-system",
 +              "protocol": "REST",
 +              "port": "8447",
 +              "enable_ssl": true,
 +              "lb_policy":"ip_hash",
 +              "visualRange": "1"
            }
            ]'
      spec:
            name: {{ include "common.fullname" . }}-aaf-certs
            subPath: org.onap.aai.p12
          - mountPath: /opt/app/aai-resources/resources/aaf/truststoreONAPall.jks
-           name: {{ include "common.fullname" . }}-aaf-certs
+           name: aai-common-aai-auth-mount
            subPath: truststoreONAPall.jks
          - mountPath: /opt/app/aai-resources/resources/application.properties
            name: {{ include "common.fullname" . }}-springapp-conf
      {{ end }}
  
        volumes:
+       - name: aai-common-aai-auth-mount
+         secret:
+           secretName: aai-common-aai-auth
        - name: localtime
          hostPath:
            path: /etc/localtime
@@@ -70,17 -70,6 +70,17 @@@ spec
                "visualRange": "1",
                "path": "/aai/v13/search/generic-query"
            },
 +          {
 +              "serviceName": "_aai-generic-query",
 +              "version": "v14",
 +              "url": "/aai/v14/search/generic-query",
 +              "protocol": "REST",
 +              "port": "8446",
 +              "enable_ssl": true,
 +              "lb_policy":"ip_hash",
 +              "visualRange": "1",
 +              "path": "/aai/v14/search/generic-query"
 +          },
            {
                "serviceName": "_aai-nodes-query",
                "version": "v11",
                "visualRange": "1",
                "path": "/aai/v13/search/nodes-query"
            },
 +          {
 +              "serviceName": "_aai-nodes-query",
 +              "version": "v14",
 +              "url": "/aai/v14/search/nodes-query",
 +              "protocol": "REST",
 +              "port": "8446",
 +              "enable_ssl": true,
 +              "lb_policy":"ip_hash",
 +              "visualRange": "1",
 +              "path": "/aai/v14/search/nodes-query"
 +          },
            {
                "serviceName": "_aai-query",
                "version": "v11",
                "visualRange": "1",
                "path": "/aai/v13/query"
            },
 +          {
 +              "serviceName": "_aai-query",
 +              "version": "v14",
 +              "url": "/aai/v14/query",
 +              "protocol": "REST",
 +              "port": "8446",
 +              "enable_ssl": true,
 +              "lb_policy":"ip_hash",
 +              "visualRange": "1",
 +              "path": "/aai/v14/query"
 +          },
            {
                "serviceName": "_aai-named-query",
                "url": "/aai/search",
                "lb_policy":"ip_hash",
                "visualRange": "1"
            },
 +          {
 +              "serviceName": "aai-generic-query",
 +              "version": "v14",
 +              "url": "/aai/v14/search/generic-query",
 +              "protocol": "REST",
 +              "port": "8446",
 +              "enable_ssl": true,
 +              "lb_policy":"ip_hash",
 +              "visualRange": "1"
 +          },
            {
                "serviceName": "aai-nodes-query",
                "version": "v11",
                "lb_policy":"ip_hash",
                "visualRange": "1"
            },
 +          {
 +              "serviceName": "aai-nodes-query",
 +              "version": "v14",
 +              "url": "/aai/v14/search/nodes-query",
 +              "protocol": "REST",
 +              "port": "8446",
 +              "enable_ssl": true,
 +              "lb_policy":"ip_hash",
 +              "visualRange": "1"
 +          },
            {
                "serviceName": "aai-query",
                "version": "v11",
                "lb_policy":"ip_hash",
                "visualRange": "1"
            },
 +          {
 +              "serviceName": "aai-query",
 +              "version": "v14",
 +              "url": "/aai/v14/query",
 +              "protocol": "REST",
 +              "port": "8446",
 +              "enable_ssl": true,
 +              "lb_policy":"ip_hash",
 +              "visualRange": "1"
 +          },
            {
                "serviceName": "aai-named-query",
                "url": "/aai/search",
            name: {{ include "common.fullname" . }}-aaf-certs
            subPath: org.onap.aai.p12
          - mountPath: /opt/app/aai-traversal/resources/aaf/truststoreONAPall.jks
-           name: {{ include "common.fullname" . }}-aaf-certs
+           name: aai-common-aai-auth-mount
            subPath: truststoreONAPall.jks
          - mountPath: /opt/app/aai-traversal/resources/application.properties
            name: {{ include "common.fullname" . }}-springapp-conf
        - name: {{ include "common.fullname" . }}-aaf-certs
          secret:
           secretName: {{ include "common.fullname" . }}-aaf-keys
+       - name: aai-common-aai-auth-mount
+         secret:
+           secretName: aai-common-aai-auth
        - name: {{ include "common.fullname" . }}-springapp-conf
          configMap:
           name: {{ include "common.fullname" . }}-springapp-configmap