diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2021-05-06 22:21:01 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-05-06 22:21:01 +0000 |
commit | 452c96ab637494a9ae5fdd3a6457c43af152aaa3 (patch) | |
tree | 490c5e4abca50f3becb99086d18895b20aa8733c /kubernetes/common/certInitializer/templates/_certInitializer.yaml | |
parent | fc58c5c4bd7f25caefd4893a8909ec8cb42362d7 (diff) | |
parent | da711dd6a353c79e2d8990815e18b91dfe2354b3 (diff) |
Merge "[COMMON][CERTINIT] Generate cert with certInit"
Diffstat (limited to 'kubernetes/common/certInitializer/templates/_certInitializer.yaml')
-rw-r--r-- | kubernetes/common/certInitializer/templates/_certInitializer.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kubernetes/common/certInitializer/templates/_certInitializer.yaml b/kubernetes/common/certInitializer/templates/_certInitializer.yaml index 3b165a4c20..f3ba8a24e0 100644 --- a/kubernetes/common/certInitializer/templates/_certInitializer.yaml +++ b/kubernetes/common/certInitializer/templates/_certInitializer.yaml @@ -1,5 +1,6 @@ {{/* # Copyright © 2020 Bell Canada, Samsung Electronics +# Copyright © 2021 Orange # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -58,6 +59,11 @@ - name: {{ include "common.certInitializer._aafAddConfigVolumeName" $dot }} mountPath: /opt/app/aaf_config/bin/retrieval_check.sh subPath: retrieval_check.sh +{{- if hasKey $initRoot "ingressTlsSecret" }} + - name: {{ include "common.certInitializer._aafAddConfigVolumeName" $dot }} + mountPath: /opt/app/aaf_config/bin/tls_certs_configure.sh + subPath: tls_certs_configure.sh +{{- end }} {{- if $initRoot.aaf_add_config }} - name: {{ include "common.certInitializer._aafAddConfigVolumeName" $dot }} mountPath: /opt/app/aaf_config/bin/aaf-add-config.sh @@ -69,6 +75,9 @@ - | /opt/app/aaf_config/bin/agent.sh . /opt/app/aaf_config/bin/retrieval_check.sh +{{- if hasKey $initRoot "ingressTlsSecret" }} + /opt/app/aaf_config/bin/tls_certs_configure.sh +{{- end -}} {{- if $initRoot.aaf_add_config }} /opt/app/aaf_config/bin/aaf-add-config.sh {{- end }} |