A
A
Anatoly Bereznyak2019-07-17 15:11:09
Continuous Integration
Anatoly Bereznyak, 2019-07-17 15:11:09

How to put different versions of services in helm charts in gitlab-ci?

Hey!
Since recently, Gitlab has been independently handling namespaces and service accounts for projects, integrating RBAC authorization.
Previously, to roll out charts in the environment review, we duplicated services in different namespaces, indicating , but now this cannot be done, because the service account is limited by the namespace. But we need different service instances.helm $release-name --namespace branch-slug

Gitlab: 12.0.3-ee
Helm: 2.14.2

Has anyone already solved this problem? How is it correct?
As a result, we cannot install different versions of services (for example, different versions of postgresql, with a different set of extensions), or different versions of the cache, because between tasks they will overwrite each other, and we don’t want to produce prefixes in the application.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri Yarosh, 2019-08-23
@voidnugget

Unfortunately, the safest thing is to use the Operators Framework and Skaffold to pull the corresponding charts and deploy ...
Accordingly, your application will be an operator, and the services under the hood will be purely atomic and isolated, a little advertising .
The application itself is better to roll not through CI, but to set up a normal CD on Argo or Spinnaker . Argo is more flexible...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question