diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-03-26 08:25:35 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-03-26 08:25:35 +0000 |
commit | 127a91ed7efc1db32abbe92ddd9510d49ba90c1c (patch) | |
tree | 3b0ff6b6049b480b9152721d5c7f14f843630fac /kubernetes/nbi | |
parent | 98bd3e1fcfb1c9a92657ff9b31790676f794b9e9 (diff) | |
parent | 783fabf577dd31d1d710c5b8803c723a03c00054 (diff) |
Merge "[NBI] Use faster version of common secret template"
Diffstat (limited to 'kubernetes/nbi')
-rw-r--r-- | kubernetes/nbi/templates/deployment.yaml | 4 | ||||
-rw-r--r-- | kubernetes/nbi/templates/secret.yaml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/nbi/templates/deployment.yaml b/kubernetes/nbi/templates/deployment.yaml index 1fad1fc5aa..528a3f7e76 100644 --- a/kubernetes/nbi/templates/deployment.yaml +++ b/kubernetes/nbi/templates/deployment.yaml @@ -56,9 +56,9 @@ spec: - name: SPRING_DATASOURCE_URL value: jdbc:mariadb://{{ include "common.mariadbService" . }}:{{ include "common.mariadbPort" . }}/{{ index .Values "mariadb-galera" "config" "mysqlDatabase" }} - name: SPRING_DATASOURCE_USERNAME - {{- include "common.secret.envFromSecret" (dict "global" . "uid" "nbi-db-secret" "key" "login") | indent 14 }} + {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "nbi-db-secret" "key" "login") | indent 14 }} - name: SPRING_DATASOURCE_PASSWORD - {{- include "common.secret.envFromSecret" (dict "global" . "uid" "nbi-db-secret" "key" "password") | indent 14 }} + {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "nbi-db-secret" "key" "password") | indent 14 }} - name: SPRING_DATA_MONGODB_HOST value: {{ .Values.mongo.service.name }}.{{ include "common.namespace" . }} - name: SPRING_DATA_MONGODB_PORT diff --git a/kubernetes/nbi/templates/secret.yaml b/kubernetes/nbi/templates/secret.yaml index dee311c336..bd7eb8ea40 100644 --- a/kubernetes/nbi/templates/secret.yaml +++ b/kubernetes/nbi/templates/secret.yaml @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -{{ include "common.secret" . }} +{{ include "common.secretFast" . }} |