aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-11-06 08:16:09 +0000
committerGerrit Code Review <gerrit@onap.org>2020-11-06 08:16:09 +0000
commitdd714d1a2746b16644abb42a3f4d3824cbc1132e (patch)
tree566f8e2080957f2298a47ae8d50c0ca039d148f9 /kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml
parente4c276bbc533ce3ffb8de216b550ad6d7e5faf98 (diff)
parent8789a7276007c632f414e7b4224179d216dbb2c1 (diff)
Merge "[SDNC] fix broken sdnc-web deployment"
Diffstat (limited to 'kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml')
-rw-r--r--kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml13
1 files changed, 12 insertions, 1 deletions
diff --git a/kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml b/kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml
index 52345deed8..7c1f262ec2 100644
--- a/kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml
+++ b/kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml
@@ -14,7 +14,7 @@
# limitations under the License.
*/}}
-nclude "common.repository" . }}apiVersion: apps/v1
+apiVersion: apps/v1
kind: Deployment
metadata: {{- include "common.resourceMetadata" . | nindent 2 }}
spec:
@@ -76,6 +76,17 @@ 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