diff options
author | Alexander Dehn <alexander.dehn@highstreet-technologies.com> | 2020-10-16 14:29:05 +0000 |
---|---|---|
committer | Alexander Dehn <alexander.dehn@highstreet-technologies.com> | 2020-11-04 09:23:32 +0000 |
commit | 8789a7276007c632f414e7b4224179d216dbb2c1 (patch) | |
tree | bdd10aa6ded765a2938d321775ef4779e8483260 /kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml | |
parent | df44d8757fcaf8579ebd45cede1d6bfc99dd727d (diff) |
[SDNC] fix broken sdnc-web deployment
fix deployment.yaml
Issue-ID: OOM-2600
Signed-off-by: Alexander Dehn <alexander.dehn@highstreet-technologies.com>
Change-Id: Id8f8f6c341bed30ce26cc061b47aeb6e312e7bfa
Diffstat (limited to 'kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml')
-rw-r--r-- | kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml | 13 |
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 96f499a21f..6f67817afb 100644 --- a/kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml +++ b/kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml @@ -12,7 +12,7 @@ # 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: @@ -74,6 +74,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 |