[COMMON] New templates to handle repositories 10/115110/13
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Thu, 19 Nov 2020 15:22:39 +0000 (16:22 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 20 Nov 2020 14:38:34 +0000 (14:38 +0000)
commit2b2aa11021114438591d184af19fde6bbf06950a
tree7e690b3a1a1f8595a0fdb8502faafeee73187de6
parent23a38b37056055a293cd3e92fb0de8efbd23ded0
[COMMON] New templates to handle repositories

Current repository templates handles only ONAP "nexus" repository
configuration.
So, all images coming from another repository (currently, OOM is using 4
repository, including nexus one) cannot simply be retrieved from another
one.
This commit add new templates, in a specific chart, in order to change
that.
Now, each for repository can be overidden and all 4 can have a
credentials.

Also, in order to minimize global variables, templates aimed to
retrieve usual utility images (busybox, envsubst, readiness, ...) are
created.

Issue-ID: OOM-2634
Change-Id: I27eb33d830d56ec28f9de68599f5108a262983b3
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
[Reduce code size, add missing busyboxRepository]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
13 files changed:
kubernetes/common/Makefile
kubernetes/common/common/documentation.rst
kubernetes/common/common/templates/_repository.tpl
kubernetes/common/repository-wrapper/Chart.yaml [new file with mode: 0644]
kubernetes/common/repository-wrapper/requirements.yaml [new file with mode: 0644]
kubernetes/common/repository-wrapper/templates/secrets.yaml [moved from kubernetes/onap/templates/secrets.yaml with 94% similarity]
kubernetes/common/repository-wrapper/values.yaml [new file with mode: 0644]
kubernetes/common/repositoryGenerator/Chart.yaml [new file with mode: 0644]
kubernetes/common/repositoryGenerator/requirements.yaml [new file with mode: 0644]
kubernetes/common/repositoryGenerator/templates/_repository.tpl [new file with mode: 0644]
kubernetes/common/repositoryGenerator/values.yaml [new file with mode: 0644]
kubernetes/onap/requirements.yaml
kubernetes/onap/values.yaml