Age | Commit message (Collapse) | Author | Files | Lines |
|
It turned out that our current implementation of common secret
template is really heavy which makes onap linitng extremely long.
To improve the situation let's introduce some results caching instead
of processing templates over and over.
For now we cannot simply replace common secret template because in
mariadb-init we generate list of secrets on the fly so we will need
to revisit this fragment later.
Whole series of patches managed to reduce ONAP linting time to 40
mins.
Issue-ID: OOM-2051
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: Id2e743147afa37290df19b73feee67621f13f67c
|
|
Taken into account how "easy" it would be to modify the dgbuilder
which is written in JavaScript (which is not my mother tongue to say
the least) let's try to remove hardcoded passwords from config files
without modifying the application container itself.
In order to achieve this:
1) Remove createReleaseDir.sh script from the container as it is never
used and contains a ton of passwords
2) Replace all sensitive values in config files with references to
respective environment variables
3) Introduce init container that will run envsubst command on config
files and copy them from ConfigMap value to the new volume which is
backed by tmpfs so that the plain text passwords are never written to
the disk
For now all the hardcoded values are still there to minimize the risk
of breaking the deployment but step by step they will be removed in
next commits.
Issue-ID: OOM-2247
Change-Id: I5a428e3415713857084ba6aaa6be9b04a8eb8c0f
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
|
|
ONAP is too big to be deployed using helm install so we need to
use a custom helm plugin helm deploy. This script deloys onap
component by component instead of deploying evrything at
once. Unfortunately this script also modifies the helm release by
appending component name to it.
As a result of this behavior our objects are called for example:
onap-mariadb-galera-mariadb-galera-0
instead of just being called onap-mariadb-galera-0.
This patch simplifies this naming convention by replacing all direct
usages of .Release.Name with common.release macro which strips the
component specific part from the release name.
Issue-ID: OOM-2275
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: Ia8cead50d305adb00eef666d0a1ace74479b5183
|
|
Issue-ID: OOM-1145
Change-Id: I1510339a820802554b6e8b9a201619ef66be17a0
Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
|
|
Issue-ID: OOM-1356
Change-Id: I656f4ce722cd239933aa5a088308da5e9de7a7db
Signed-off-by: vaibhavjayas <vaibhav.jayas@amdocs.com>
|
|
Issue-ID: OOM-1107
Change-Id: Idd3331679e4a04c01041d9de6b2fbfb6f94ea7da
Signed-off-by: afenner <andrew.fenner@ericsson.com>
|
|
Issue-ID: OOM-874
Changes to be committed:
modified: aai/charts/aai-babel/templates/deployment.yaml
modified: aai/charts/aai-champ/templates/deployment.yaml
modified: aai/charts/aai-data-router/templates/deployment.yaml
modified: aai/charts/aai-gizmo/templates/deployment.yaml
modified: aai/charts/aai-modelloader/templates/deployment.yaml
modified: aai/charts/aai-resources/templates/deployment.yaml
modified: aai/charts/aai-search-data/templates/deployment.yaml
modified: aai/charts/aai-sparky-be/templates/deployment.yaml
modified: aai/charts/aai-traversal/templates/deployment.yaml
modified: aai/charts/aai-traversal/templates/job.yaml
modified: appc/charts/appc-cdt/templates/deployment.yaml
modified: appc/templates/statefulset.yaml
modified: clamp/charts/mariadb/templates/deployment.yaml
modified: clamp/templates/deployment.yaml
modified: cli/templates/deployment.yaml
modified: common/dgbuilder/templates/deployment.yaml
modified: common/mariadb-galera/templates/statefulset.yaml
modified: dcaegen2/charts/dcae-bootstrap/templates/job.yaml
modified: dcaegen2/charts/dcae-cloudify-manager/templates/deployment.yaml
modified: dcaegen2/charts/dcae-healthcheck/templates/deployment.yaml
modified: dcaegen2/charts/dcae-redis/templates/statefulset.yaml
modified: dmaap/charts/dmaap-bus-controller/templates/deployment.yaml
modified: dmaap/charts/dmaap-bus-controller/values.yaml
modified: esr/charts/esr-gui/templates/deployment.yaml
modified: esr/templates/deployment.yaml
modified: msb/charts/kube2msb/templates/deployment.yaml
modified: msb/charts/msb-discovery/templates/deployment.yaml
modified: msb/charts/msb-eag/templates/deployment.yaml
modified: msb/charts/msb-iag/templates/deployment.yaml
modified: multicloud/charts/multicloud-ocata/templates/deployment.yaml
modified: multicloud/charts/multicloud-vio/templates/deployment.yaml
modified: multicloud/charts/multicloud-windriver/templates/deployment.yaml
modified: multicloud/templates/deployment.yaml
modified: policy/charts/brmsgw/templates/deployment.yaml
modified: policy/charts/drools/charts/nexus/templates/deployment.yaml
modified: policy/charts/drools/templates/statefulset.yaml
modified: policy/charts/mariadb/templates/deployment.yaml
modified: policy/charts/pdp/templates/statefulset.yaml
modified: policy/templates/deployment.yaml
modified: portal/charts/portal-app/templates/deployment.yaml
modified: portal/charts/portal-cassandra/templates/deployment.yaml
modified: portal/charts/portal-mariadb/templates/deployment.yaml
modified: portal/charts/portal-sdk/templates/deployment.yaml
modified: portal/charts/portal-widget/templates/deployment.yaml
modified: portal/charts/portal-zookeeper/templates/deployment.yaml
modified: sdnc/charts/dmaap-listener/templates/deployment.yaml
modified: sdnc/charts/sdnc-portal/templates/deployment.yaml
modified: sdnc/charts/ueb-listener/templates/deployment.yaml
modified: sdnc/templates/statefulset.yaml
modified: uui/charts/uui-server/templates/deployment.yaml
modified: uui/templates/deployment.yaml
modified: vid/charts/mariadb/templates/deployment.yaml
modified: vid/templates/deployment.yaml
Change-Id: I00aaa1eff3b870db3b475365eeda3f2e10aef6b9
Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
|
|
Change-Id: I90eb42468f84120693d5842ea0cd13b1b3c20ecb
Signed-off-by: jmac <james.macnider@amdocs.com>
Issue-ID: OOM-748
|
|
Moved mysql and dgbuilder under common (built first)
to ensure they are built before appc and sdnc charts
that depend on them.
Change-Id: I2fc28f0537b2639bd2b761c6f115544965a228b1
Issue-ID: OOM-830
Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
|