diff options
author | Dan Timoney <dtimoney@att.com> | 2020-07-02 11:38:10 -0400 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2020-07-02 11:38:10 -0400 |
commit | 3b346af513694c07a3cb57734c8b881677c595f6 (patch) | |
tree | eb2d8a0a300136b1e59464737a522ebd65501960 /ms/py-executor | |
parent | abece1766cc9a6207da2f598b4e90fd92580cde6 (diff) |
Do not install certs in docker image
Updated docker config to no longer install certificates in docker image.
Instead, in kubernetes env, they will be installed as secrets in oom.
In docker-compose env, certs will be an external mount.
Issue-ID: CCSDK-2519
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: Id67e16e72d2cb7d0c9a1d88fdcff544d86ca2708
Diffstat (limited to 'ms/py-executor')
-rwxr-xr-x | ms/py-executor/dc/docker-compose.yaml | 1 | ||||
-rwxr-xr-x | ms/py-executor/docker/distribution.xml | 6 |
2 files changed, 1 insertions, 6 deletions
diff --git a/ms/py-executor/dc/docker-compose.yaml b/ms/py-executor/dc/docker-compose.yaml index 63c5eeb4f..844f8b06c 100755 --- a/ms/py-executor/dc/docker-compose.yaml +++ b/ms/py-executor/dc/docker-compose.yaml @@ -9,6 +9,7 @@ services: restart: always volumes: - blueprints-deploy:/opt/app/onap/blueprints/deploy + - ../certs:/opt/app/onap/python/certs environment: APPLICATIONNAME: PythonExecutor BUNDLEVERSION: 1.0.0 diff --git a/ms/py-executor/docker/distribution.xml b/ms/py-executor/docker/distribution.xml index 558ce2f17..a2739bdfa 100755 --- a/ms/py-executor/docker/distribution.xml +++ b/ms/py-executor/docker/distribution.xml @@ -68,12 +68,6 @@ <fileMode>0666</fileMode> </fileSet> <fileSet> - <directory>${project.basedir}/certs</directory> - <outputDirectory>opt/app/onap/python/certs</outputDirectory> - <useDefaultExcludes>true</useDefaultExcludes> - <fileMode>0666</fileMode> - </fileSet> - <fileSet> <directory>${project.basedir}/docker</directory> <outputDirectory>opt/app/onap/python</outputDirectory> <includes> |