diff options
author | 2019-01-29 17:17:12 +0000 | |
---|---|---|
committer | 2019-02-06 08:24:54 +0000 | |
commit | 8056725eb5d1b1099797828d074bfea0f646f494 (patch) | |
tree | 6fe3defae2cc23240187ce5a2b9b559594d07e55 /patches/onap-casablanca-patch-role | |
parent | 5a269d2e06be837377364111be9c238979260b78 (diff) |
Extract certificate to cloudify-manager
DCAE bootstraping require that bootstrap/cloudify-manager pods has
to trust our certificate. We are mounting path to this certificate
to respective pod.
Change-Id: Ie2ea796851e6def52d4ec556c9d5b19633e8a743
Issue-ID: OOM-1618
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
Diffstat (limited to 'patches/onap-casablanca-patch-role')
-rw-r--r-- | patches/onap-casablanca-patch-role/tasks/main.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/patches/onap-casablanca-patch-role/tasks/main.yml b/patches/onap-casablanca-patch-role/tasks/main.yml index a7064b16..d3b92e5b 100644 --- a/patches/onap-casablanca-patch-role/tasks/main.yml +++ b/patches/onap-casablanca-patch-role/tasks/main.yml @@ -22,3 +22,13 @@ with_items: - common/dgbuilder/templates/deployment.yaml - sdnc/charts/sdnc-portal/templates/deployment.yaml + +- name: Patch OOM - set cert path for cloudify + lineinfile: + path: "{{ app_helm_charts_infra_directory }}/{{ item }}" + regexp: '^(.*)CERT_PATH' + line: '\g<1>/etc/pki/ca-trust/source/anchors' + backrefs: yes + state: present + with_items: + - dcaegen2/charts/dcae-cloudify-manager/templates/deployment.yaml |