Merge "[SDNC] fix broken sdnc-web deployment"
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 6 Nov 2020 08:16:09 +0000 (08:16 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 6 Nov 2020 08:16:09 +0000 (08:16 +0000)
1  2 
kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml
kubernetes/sdnc/values.yaml

@@@ -1,4 -1,3 +1,4 @@@
 +{{/*
  # Copyright © 2020 highstreet technologies GmbH
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
@@@ -12,9 -11,8 +12,9 @@@
  # 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.
 +*/}}
  
nclude "common.repository" . }}apiVersion: apps/v1
+ apiVersion: apps/v1
  kind: Deployment
  metadata: {{- include "common.resourceMetadata" . | nindent 2 }}
  spec:
              value: {{ .Values.config.sslCertiticate }}
            - name: SSL_CERTIFICATE_KEY
              value: {{ .Values.config.sslCertKey }}
+           {{ if .Values.config.transportpce.enabled }}
+           - name: TRPCEURL
+             value: {{ .Values.config.transportpce.transportpceUrl }}
+           {{ end }}
+           {{ if .Values.config.topologyserver.enabled }}
+           - name: TOPOURL
+             value: {{ .Values.config.topologyserver.topologyserverUrl }}
+           - name: TILEURL
+             value: {{ .Values.config.topologyserver.tileserverUrl }}
+           {{ end }}
            volumeMounts:  {{ include "common.certInitializer.volumeMount" . | nindent 10 }}
            - mountPath: /etc/localtime
              name: localtime
@@@ -39,7 -39,7 +39,7 @@@ global
    cmpv2Enabled: true
    platform:
      certServiceClient:
 -      image: onap/org.onap.oom.platform.cert-service.oom-certservice-client:2.0.0
 +      image: onap/org.onap.oom.platform.cert-service.oom-certservice-client:2.1.0
        secret:
          name: oom-cert-service-client-tls-secret
          mountPath: /etc/onap/oom/certservice/certs/
@@@ -133,10 -133,9 +133,10 @@@ secrets
  # Application configuration defaults.
  #################################################################
  # application images
 +
  repository: nexus3.onap.org:10001
  pullPolicy: Always
 -image: onap/sdnc-image:2.0.2
 +image: onap/sdnc-image:2.0.3
  busyboxRepository: docker.io
  busyboxImage: busybox:1.30
  
@@@ -366,7 -365,7 +366,7 @@@ elasticsearch
      nameOverride: sdnrdb
  # enable
  sdnc-web:
-   enabled: false
+   enabled: true
  # default number of instances
  replicaCount: 1