diff options
Diffstat (limited to 'kubernetes/dcaegen2-services/components/dcae-ves-openapi-manager/templates/deployment.yaml')
-rw-r--r-- | kubernetes/dcaegen2-services/components/dcae-ves-openapi-manager/templates/deployment.yaml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kubernetes/dcaegen2-services/components/dcae-ves-openapi-manager/templates/deployment.yaml b/kubernetes/dcaegen2-services/components/dcae-ves-openapi-manager/templates/deployment.yaml index 25658390b2..368c9d35d5 100644 --- a/kubernetes/dcaegen2-services/components/dcae-ves-openapi-manager/templates/deployment.yaml +++ b/kubernetes/dcaegen2-services/components/dcae-ves-openapi-manager/templates/deployment.yaml @@ -2,6 +2,7 @@ #============LICENSE_START======================================================== # ================================================================================ # Copyright (c) 2021 Nokia. All rights reserved. +# Modifications Copyright © 2023 Nordix Foundation. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -46,15 +47,14 @@ spec: {{ end }} env: - name: SDC_ADDRESS - value: {{ .Values.externalServices.sdc_be_https }} + value: sdc-be.{{include "common.namespace" .}}:8080 - name: SCHEMA_MAP_PATH value: {{ .Values.schemaMap.directory }}/{{ .Values.schemaMap.filename }} - - name: SECURITY_PROTOCOL - value: {{ .Values.config.kafka.securityProtocol }} - - name: SASL_MECHANISM - value: {{ .Values.config.kafka.saslMechanism }} - name: SASL_JAAS_CONFIG - {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "ves-openapi-kafka-secret" "key" "sasl.jaas.config") | indent 12 }} + valueFrom: + secretKeyRef: + name: {{ include "common.name" . }}-ku + key: sasl.jaas.config volumeMounts: - name: schema-map mountPath: {{ .Values.schemaMap.directory }} |