{"id":314854,"date":"2020-12-14T21:00:34","date_gmt":"2020-12-14T21:00:34","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=314854"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=314854","title":{"rendered":"HelmWave v0.5.0 \u2013 GitOps \u0434\u043b\u044f \u0442\u0432\u043e\u0435\u0433\u043e Kubernetes"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/e7\/ey\/jo\/e7eyjo8j1iuuw5rlntzez5bylbc.png\" alt=\"preview\"><\/p>\n<p>  <\/p>\n<p>Helm, \u043a\u0430\u043a \u0438 Docker \u0441\u0442\u0430\u043b \u0434\u0435-\u0444\u0430\u043a\u0442\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043e\u043c \u0432 \u0438\u043d\u0434\u0443\u0441\u0442\u0440\u0438\u0438. \u041a\u043e\u0433\u0434\u0430 \u043c\u044b \u043e\u0431\u0441\u0443\u0436\u0434\u0430\u0435\u043c Kubernetes (<a href=\"https:\/\/habr.com\/ru\/company\/oleg-bunin\/blog\/524556\/\">52%<\/a>). \u0418 \u043d\u043e\u0432\u043e\u0441\u0442\u044c, \u0447\u0442\u043e <a href=\"https:\/\/habr.com\/ru\/company\/southbridge\/blog\/531820\/\">Docker is deprecated<\/a> \u0432\u044b\u0437\u0432\u0430\u043b\u043e \u0432\u043e\u043b\u043d\u0443 \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0439 \u0432 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0435. \u041d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0432\u0441\u0435 \u043f\u0440\u0438\u0432\u044b\u043a\u043b\u0438 \u043a Docker.<\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<p>\u0414\u043b\u044f Docker \u0435\u0441\u0442\u044c \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u043e \u0441\u0432\u043e\u0435\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0435 docker-compose, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0442\u0438\u0432\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u0442\u044c, \u0447\u0442\u043e \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u043e\u0442 Docker.<\/p>\n<p>  <\/p>\n<p>\u0414\u043b\u044f Kubernetes \u043d\u0430\u0431\u043e\u0440 yaml-tpl \u0444\u0430\u0439\u043b\u043e\u0432 \u0443\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u0430\u0440\u0445\u0438\u0432. \u0418 \u0437\u0430\u0442\u0435\u043c \u044d\u0442\u043e\u0442 \u0430\u0440\u0445\u0438\u0432 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f Helm-\u0447\u0430\u0440\u0442\u043e\u043c. \u041d\u043e \u043a\u0430\u043a \u044d\u0442\u043e \u0447\u0430\u0441\u0442\u043e \u0431\u044b\u0432\u0430\u0435\u0442 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u043b\u0438\u0448\u044c \u043e\u0434\u043d\u0438\u043c Helm \u0447\u0430\u0440\u0442\u043e\u043c. \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043a\u0430\u043a-\u0442\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c\/\u043a\u043e\u043c\u043f\u043e\u0437\u0438\u0442\u044c\/\u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c\/\u0448\u0430\u0431\u043b\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u0438\u0435 \u0441\u0435\u0442\u044b.<\/p>\n<p>  <\/p>\n<p>\u041e\u0434\u043d\u0438\u043c \u0438\u0437 \u043f\u043e\u0434\u0445\u043e\u0434\u043e\u0432 \u043f\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f Umbrella Chart. \u042d\u0442\u043e helm chart \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0435\u0442 \u0432 \u0441\u0435\u0431\u0435 \u0432\u0441\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u0447\u0430\u0440\u0442\u044b. <\/p>\n<p>  <\/p>\n<p>\u041e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0435 \u043c\u0438\u043d\u0443\u0441\u044b \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0447\u0430\u0440\u0442<\/li>\n<li>\u041d\u043e\u0432\u044b\u0439 \u0441\u043b\u043e\u0439 \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u043c\u0435\u043d values \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445. <\/li>\n<li>Umbrella-chart \u044d\u0442\u043e \u0432\u0441\u0435 \u0442\u043e\u0442 \u0436\u0435 \u0447\u0430\u0440\u0442, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e \u0448\u0430\u0431\u043b\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u0438 values \u0438 \u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0438 \u043d\u0430 \u043a\u043e\u043d\u0442\u0443\u0440\u044b (\u041e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f) \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0438 \u0440\u0435\u0447\u0438.<\/li>\n<li>\u041a\u043e\u0433\u0434\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0430\u0431-\u0447\u0430\u0440\u0442, \u043d\u0443\u0436\u043d\u043e \u0438\u0434\u0442\u0438 \u0432 umbrella \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u0435\u0449\u0435 \u0432\u0435\u0440\u0441\u0438\u044e umbrella \u0447\u0430\u0440\u0442\u0430.<\/li>\n<\/ul>\n<p>  <\/p>\n<p>Helmwave \u0432\u043e\u0437\u043d\u0438\u043a, \u043a\u0430\u043a \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0432\u0441\u0435\u0445 \u0447\u0430\u0440\u0442\u043e\u0432 \u0432 \u043e\u0434\u043d\u043e\u043c yaml.<br \/>  \u042d\u0442\u043e\u0442 \u043f\u043e\u0441\u0442 \u043f\u043e\u043a\u0430\u0436\u0435\u0442 \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0448\u0438\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b (use-cases) \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e helmwave.<\/p>\n<p>  <\/p>\n<h2 id=\"chto-takoe-helmwave\">\u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0435 HelmWave?<\/h2>\n<p>  <\/p>\n<ul>\n<li>\u042d\u0442\u043e \u0431\u0438\u043d\u0430\u0440\u044c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 helm release \u0438\u0437 <code>helmwave.yml<\/code>.<\/li>\n<li>\u041a\u043b\u0430\u0434\u0435\u0448\u044c <code>helmwave.yml<\/code> \u0432 git \u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0448\u044c \u0435\u0433\u043e \u0447\u0435\u0440\u0435\u0437 CI.<\/li>\n<li>\u041c\u043e\u0436\u043d\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0435 c \u043f\u043e\u043c\u043e\u0449\u044c\u044e (Go template), \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u043e\u0442 <code>helmwave.yml<\/code> \u0434\u043e values.<\/li>\n<li>Helmwave \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442 \u043a\u0430\u043a\u0438\u0435 helm-repositories \u0435\u043c\u0443 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f \u0434\u043b\u044f \u0434\u0435\u043f\u043b\u043e\u044f. \u0418 \u0432\u044b\u0442\u0435\u0441\u043d\u044f\u0435\u0442 \u043b\u0438\u0448\u043d\u0438\u0435. <\/li>\n<\/ul>\n<p>  <\/p>\n<h3 id=\"poryadok-kommand\">\u041f\u043e\u0440\u044f\u0434\u043e\u043a \u043a\u043e\u043c\u043c\u0430\u043d\u0434<\/h3>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/wl\/9a\/ze\/wl9azeaf-jyhwa_vddo7rlbxzny.png\"><\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">graph TD;     Start(helmwave.yml.tpl) --render--&gt; helmwave.yml;     helmwave.yml --planfile--&gt; .helmwave;     .helmwave --sync--&gt; Finish(Releases have been deployed!)<\/code><\/pre>\n<p>  <\/p>\n<h3 id=\"bystryy-start\">\u0411\u044b\u0441\u0442\u0440\u044b\u0439 \u0441\u0442\u0430\u0440\u0442<\/h3>\n<p>  <\/p>\n<p><code>helmwave.yml.tpl<\/code> \u0438\u043c\u0435\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0432\u0438\u0434<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">project: my-project version: 0.5.0  repositories:   - name: bitnami     url: https:\/\/charts.bitnami.com\/bitnami  .options: &amp;options   install: true   namespace: my-namespace  releases:   - name: redis-a     chart: bitnami\/redis     options:       &lt;&lt;: *options    - name: redis-b     chart: bitnami\/redis     options:       &lt;&lt;: *options<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"plaintext\">$ helmwave deploy<\/code><\/pre>\n<p>  <\/p>\n<p><strong> \u041f\u043e\u0437\u0434\u0440\u0430\u0432\u043b\u044f\u044e, \u0432\u044b \u0437\u0430\u0434\u0435\u043f\u043b\u043e\u0438\u043b\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e helmwave! <\/strong><\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">$ helm list -n my-namespace NAME       NAMESPACE       REVISION     STATUS      CHART             APP VERSION redis-a    my-namespace    1            deployed    redis-11.2.3      6.0.9       redis-b    my-namespace    1            deployed    redis-11.2.3      6.0.9    $ k get po -n my-namespace                                                                                                                          NAME               READY   STATUS    RESTARTS   AGE redis-a-master-0   1\/1     Running   0          64s redis-a-slave-0    1\/1     Running   0          31s redis-a-slave-1    1\/1     Running   0          62s redis-b-master-0   1\/1     Running   0          59s redis-b-slave-0    1\/1     Running   0          32s redis-b-slave-1    1\/1     Running   0          51s<\/code><\/pre>\n<p>  <\/p>\n<h3 id=\"peremennye-okruzheniya\">\u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f<\/h3>\n<p>  <\/p>\n<pre><code class=\"plaintext\">$ helmwave help<\/code><\/pre>\n<p>  <\/p>\n<ul>\n<li><em>$HELMWAVE_TPL_FILE<\/em> \u2013 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u043f\u0443\u0442\u044c \u043a \u0432\u0445\u043e\u0434\u043d\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u0443 \u0434\u043b\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u0438 (<code>helmwave.yml.tpl<\/code>).<\/li>\n<li><em>$HELMWAVE_FILE<\/em> \u2013 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043f\u0443\u0442\u044c \u0432\u044b\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u043f\u043e\u0441\u043b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u0438 (<code>helmwave.yml<\/code>).<\/li>\n<li><em>$HELMWAVE_PLAN_DIR<\/em> \u2013 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043f\u0443\u0442\u044c \u043a \u043f\u0430\u043f\u043a\u0435, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0438\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u043f\u043b\u0430\u043d (<code>.helmwave\/<\/code>).<\/li>\n<li><em>$HELMWAVE_TAGS<\/em> \u2013 \u043c\u0430\u0441\u0441\u0438\u0432 \u0441\u0442\u0440\u043e\u043a, \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435.<\/li>\n<li><em>$HELMWAVE_PARALLEL<\/em> \u2013 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442\/\u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c (\u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c).<\/li>\n<li><em>$HELMWAVE_LOG_FORMAT<\/em> \u2013 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u0438\u0437 \u043f\u0440\u0435\u0434\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u0432 \u0432\u044b\u0432\u043e\u0434\u0430.<\/li>\n<li><em>$HELMWAVE_LOG_LEVEL<\/em> \u2013 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0434\u0435\u0442\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0432\u044b\u0432\u043e\u0434\u0430.<\/li>\n<li><em>$HELMWAVE_LOG_COLOR<\/em> \u2013 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442\/\u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0446\u0432\u0435\u0442\u0430 \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430.<\/li>\n<\/ul>\n<p>  <\/p>\n<h2 id=\"use-cases\">Use-Cases<\/h2>\n<p>  <\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440\u044b \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c\u0441\u044f, \u043e\u043f\u0438\u0440\u0430\u044f\u0441\u044c \u043d\u0430 gitlab-ci. \u041d\u043e \u044d\u0442\u043e \u043d\u0435 \u043f\u043e\u043c\u0435\u0448\u0430\u0435\u0442 \u0432\u0430\u043c \u0432\u0441\u0442\u0440\u043e\u0438\u0442\u044c helmwave \u0432 \u043b\u044e\u0431\u043e\u0439 \u0434\u0440\u0443\u0433\u043e\u0439 CI-\u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442.<\/p>\n<p>  <\/p>\n<p>\u0427\u0435\u043c \u043d\u0438\u0436\u0435, \u0442\u0435\u043c \u0441\u043b\u043e\u0436\u043d\u0435\u0435 \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u044b.<\/p>\n<p>  <\/p>\n<h3 id=\"git-tag--docker-tag\">Git tag \u2013&gt; Docker tag<\/h3>\n<p>  <\/p>\n<p>\u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c \u0432\u044b \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e helm \u0447\u0430\u0440\u0442 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0415\u0433\u043e <code>values.yaml<\/code> \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0438\u043c\u0435\u0435\u0442 \u0432\u0438\u0434:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">image:   repository: registry.gitlab.local\/example\/app   tag: master<\/code><\/pre>\n<p>  <\/p>\n<p><strong>\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0447\u0442\u043e\u0431\u044b <code>image.tag<\/code> \u0431\u0440\u0430\u043b\u0441\u044f \u0438\u0437 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 CI<\/strong><\/p>\n<p>  <\/p>\n<p>\u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c, \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c 2 \u0444\u0430\u0439\u043b\u0430.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">. \u251c\u2500\u2500 helmwave.yml.tpl \u2514\u2500\u2500 values.yml<\/code><\/pre>\n<p>  <\/p>\n<p><code>helmwave.yml.tpl<\/code><\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">project: my-project # \u0418\u043c\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 version: 0.5.0 # \u0412\u0435\u0440\u0441\u0438\u044f helmwave  releases:   - name: my-release     chart: my-chart-repo\/my-app     values:       - values.yml     options:       install: true       namespace: my-namespace<\/code><\/pre>\n<p>  <\/p>\n<p><strong>values.yml<\/strong><\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">image:   tag: {{ env &quot;CI_COMMIT_TAG&quot; }}<\/code><\/pre>\n<p>  <\/p>\n<h3 id=\"git-commit----podannotations\">Git commit &#8212;&gt; PodAnnotations<\/h3>\n<p>  <\/p>\n<p><strong>\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0447\u0442\u043e\u0431\u044b <code>deployment<\/code> \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u043b\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0435\u0441\u043b\u0438 \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u043a\u043e\u043c\u043c\u0438\u0442.<\/strong><\/p>\n<p>  <\/p>\n<p><em>deployment<\/em> \u0438\u043c\u0435\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u044d\u0442\u043e\u0442 \u0432\u0438\u0434:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">    ...     metadata:         {{- with .Values.podAnnotations }}         annotations:           {{- toYaml . | nindent 8 }}         {{- end }}     ...<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043b\u0435\u0433\u043a\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044c \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 <strong>values.yml<\/strong><\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">image:   tag: {{ requiredEnv &quot;CI_COMMIT_TAG&quot; }}  podAnnotations:     gitCommit: {{ requiredEnv &quot;CI_COMMIT_SHORT_SHA&quot; | quote }}<\/code><\/pre>\n<p>  <\/p>\n<h3 id=\"kontury-okruzheniya-environments\">\u041a\u043e\u043d\u0442\u0443\u0440\u044b, \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f, environments<\/h3>\n<p>  <\/p>\n<p>\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">. \u251c\u2500\u2500 helmwave.yml.tpl \u2514\u2500\u2500 values     \u251c\u2500\u2500 _.yml     \u251c\u2500\u2500 prod.yml     \u2514\u2500\u2500 stage.yml<\/code><\/pre>\n<p>  <\/p>\n<p><code>helmwave.yml.tpl<\/code><\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">project: my-project   version: 0.5.0    releases:     - name: my-release       chart: my-chart-repo\/my-app       values:         # Default         - values\/_.yml         # For specific ENVIRONMENT         - values\/{{ env &quot;CI_ENVIRONMENT_NAME&quot; }}.yml       options:         install: true         namespace: {{ env &quot;CI_ENVIRONMENT_NAME&quot; }}<\/code><\/pre>\n<p>  <\/p>\n<p><code>values\/_.yml<\/code> \u2013 \u0411\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u043b\u044e\u0431\u043e\u0433\u043e \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">image:   tag: {{ requiredEnv &quot;CI_COMMIT_TAG&quot; }}  podAnnotations:     gitCommit: {{ requiredEnv &quot;CI_COMMIT_SHORT_SHA&quot; | quote }}<\/code><\/pre>\n<p>  <\/p>\n<p><code>values\/prod.yml<\/code> \u2013 \u0411\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f prod<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">replicaCount: 6<\/code><\/pre>\n<p>  <\/p>\n<p><code>values\/stage.yml<\/code> \u2013 \u0411\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f stage<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">replicaCount: 2<\/code><\/pre>\n<p>  <\/p>\n<h3 id=\"ispolzuem-vneshniy-yaml-i-releasestore\">\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0432\u043d\u0435\u0448\u043d\u0438\u0439 yaml \u0438 .Release.Store<\/h3>\n<p>  <\/p>\n<p>Store \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u0432 helmwave.yml \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u0434\u0430\u043b\u044c\u0448\u0435 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044e values.<\/p>\n<p>  <\/p>\n<p>\u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0441\u0432\u044f\u0437\u0430\u0442\u044c \u043f\u0443\u0442\u044c \u043a \u0441\u0435\u043a\u0440\u0435\u0442\u0443 \u0432 vault \u0438 \u043f\u0443\u0442\u044c \u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0443 \u0432 gitlab \u0438\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c \u043f\u0443\u0442\u044c \u043a <code>image.repository<\/code>. \u042d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0443\u0434\u043e\u0431\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 Store.<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">. \u251c\u2500\u2500 helmwave.yml.tpl \u251c\u2500\u2500 values \u2502   \u2514\u2500\u2500 _.yml \u2514\u2500\u2500 vars     \u2514\u2500\u2500 my-list.yaml <\/code><\/pre>\n<p>  <\/p>\n<p><code>values\/_.yml<\/code><\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">vault: secret\/{{ .Release.Store.path  }}\/{{ requiredEnv &quot;CI_ENVIRONMENT_NAME&quot;  }}  image:   repository: {{ env &quot;CI_REGISTRY&quot; | default &quot;localhost:5000&quot; }}\/{{ .Release.Store.path }}<\/code><\/pre>\n<p>  <\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0439 yaml \u0444\u0430\u0439\u043b.<\/p>\n<p>  <\/p>\n<p><code>vars\/my-list.yaml<\/code><\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">releases:   - name: adm-api     path: main\/product\/adm\/api   - name: api     path: main\/product\/api<\/code><\/pre>\n<p>  <\/p>\n<p><code>helmwave.yml.tpl<\/code><\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">project: my-project version: 0.5.0  .options: &amp;options   install: true   wait: true   timeout: 5m  releases:   {{- with readFile &quot;vars\/my-list.yaml&quot; | fromYaml | get &quot;releases&quot; }}   {{- range $v := . }}   - name: {{ $v | get &quot;name&quot; }}     chart: my-project\/{{ $v | get &quot;name&quot; }}     options:       &lt;&lt;: *options     store:       path: {{ $v | get &quot;path&quot; }} # Set .Release.Store.path     tags:       - {{ $v | get &quot;name&quot; }}       - my     values:         # Default         - values\/_.yml         # For specific ENVIRONMENT         - values\/{{ env &quot;CI_ENVIRONMENT_NAME&quot; }}.yml   {{ end }}   {{- end }} <\/code><\/pre>\n<p>  <\/p>\n<p>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c!<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">$ CI_ENVIRONMENT_NAME=stage helmwave planfile<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u043e\u044f\u0432\u0438\u0442\u0441\u044f <code>helmwave.yml<\/code> \u0438 \u043f\u0430\u043f\u043a\u0430 <code>.helmwave<\/code><\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">$ tree .helmwave .helmwave \u251c\u2500\u2500 planfile \u2514\u2500\u2500 values     \u251c\u2500\u2500 _.yml.adm-api@.plan     \u2514\u2500\u2500 _.yml.api@.plan  $ cat .helmwave\/values\/_.yml.api@.plan                             vault: secret\/main\/product\/api\/stage                                                                 image:   repository: localhost:5000\/main\/product\/api  $ cat .helmwave\/values\/_.yml.adm-api@.plan                                   vault: secret\/main\/product\/adm\/api\/stage  image:   repository: localhost:5000\/main\/product\/adm\/api <\/code><\/pre>\n<p>  <\/p>\n<p><code>helmwave.yml<\/code><\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">project: my-project version: 0.5.0  .options: &amp;options   install: true   wait: true   timeout: 5m  releases:   - name: adm-api     chart: my\/adm-api     options:       &lt;&lt;: *options     store:       path: main\/product\/adm\/api     tags:       - adm-api       - my     values:         # Default         - values\/_.yml         # For specific ENVIRONMENT         - values\/stage.yml    - name: api     chart: my\/api     options:       &lt;&lt;: *options     store:       path: main\/product\/api     tags:       - api       - my     values:         # Default         - values\/_.yml         # For specific ENVIRONMENT         - values\/stage.yml <\/code><\/pre>\n<p>  <\/p>\n<h3 id=\"otdelyaem-produkty-ot-infrastruktury\">\u041e\u0442\u0434\u0435\u043b\u044f\u0435\u043c \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u044b \u043e\u0442 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b<\/h3>\n<p>  <\/p>\n<p><strong>\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430<\/strong><\/p>\n<p>  <\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0432 \u043f\u0430\u043f\u043a\u0435 values 2 \u043f\u0430\u043f\u043a\u0438<\/p>\n<p>  <\/p>\n<ul>\n<li><strong>product<\/strong> \u2013 \u0437\u0434\u0435\u0441\u044c \u0431\u0443\u0434\u0443\u0442 values \u0434\u043b\u044f \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432<\/li>\n<li><strong>infrastructure<\/strong> \u2013 \u0437\u0434\u0435\u0441\u044c \u0431\u0443\u0434\u0435\u0442 \u0438\u043d\u0444\u0430\u0440\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043d\u044b\u0435 values<\/li>\n<\/ul>\n<p>  <\/p>\n<p><strong>values\/infrastructure<\/strong><\/p>\n<p>  <\/p>\n<ul>\n<li>adminer \u2013 \u0432\u0435\u0431 \u043c\u043e\u0440\u0434\u0430 \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a \u0431\u0430\u0437\u0435, \u043f\u043e\u043b\u0435\u0437\u043d\u0430 \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0432 dev-\u043a\u043e\u043d\u0442\u0443\u0440\u0430\u0445<\/li>\n<li>postgresql \u2013 \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445<\/li>\n<li>ns-ready \u2013 \u0437\u0434\u0435\u0441\u044c LimitRange, ResourcseQuota, Secrets, NetworkPolicy, etc<\/li>\n<li>rabbitmq \u2013 \u043e\u0431\u0449\u0430\u044f \u0448\u0438\u043d\u0430 \u043c\u0435\u0436\u0434\u0443 chat \u0438 api<\/li>\n<\/ul>\n<p>  <\/p>\n<p><strong>values\/product<\/strong><br \/>  \u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 3 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432<\/p>\n<p>  <\/p>\n<ul>\n<li>api<\/li>\n<li>chat<\/li>\n<li>frontend<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u0418 \u0435\u0449\u0435 \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f 2 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u0430 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0449\u0438\u0435 \u043c\u0430\u0441\u0441\u0438\u0432 <strong>product<\/strong> \u0438 \u043c\u0430\u0441\u0441\u0438\u0432 <strong>infrastructure<\/strong>. <\/p>\n<p>  <\/p>\n<p><strong>\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430:<\/strong><\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">. \u251c\u2500\u2500 helmwave.yml.tpl \u251c\u2500\u2500 values \u2502   \u251c\u2500\u2500 infrastructure \u2502   \u2502   \u251c\u2500\u2500 adminer \u2502   \u2502   \u2502   \u251c\u2500\u2500 _.yml \u2502   \u2502   \u2502   \u251c\u2500\u2500 dev.yml \u2502   \u2502   \u2502   \u2514\u2500\u2500 stage.yml \u2502   \u2502   \u251c\u2500\u2500 ns-ready \u2502   \u2502   \u2502   \u2514\u2500\u2500 _.yml \u2502   \u2502   \u251c\u2500\u2500 postgresql \u2502   \u2502   \u2502   \u251c\u2500\u2500 _.yml \u2502   \u2502   \u2502   \u2514\u2500\u2500 dev.yml \u2502   \u2502   \u2514\u2500\u2500 rabbitmq \u2502   \u2502       \u251c\u2500\u2500 _.yml \u2502   \u2502       \u251c\u2500\u2500 dev.yml \u2502   \u2502       \u2514\u2500\u2500 stage.yml \u2502   \u2514\u2500\u2500 product \u2502       \u251c\u2500\u2500 _ \u2502       \u2502   \u251c\u2500\u2500 _.yml \u2502       \u2502   \u251c\u2500\u2500 dev.yml \u2502       \u2502   \u251c\u2500\u2500 prod.yml \u2502       \u2502   \u2514\u2500\u2500 stage.yml \u2502       \u251c\u2500\u2500 api \u2502       \u2502   \u251c\u2500\u2500 _.yml \u2502       \u2502   \u251c\u2500\u2500 dev.yml \u2502       \u2502   \u251c\u2500\u2500 prod.yml \u2502       \u2502   \u2514\u2500\u2500 stage.yml \u2502       \u251c\u2500\u2500 chat \u2502       \u2502   \u2514\u2500\u2500 _.yml \u2502       \u2514\u2500\u2500 frontend \u2502           \u251c\u2500\u2500 _.yml \u2502           \u251c\u2500\u2500 dev.yml \u2502           \u251c\u2500\u2500 prod.yml \u2502           \u2514\u2500\u2500 stage.yml \u2514\u2500\u2500 vars     \u251c\u2500\u2500 infrastructure.yaml     \u2514\u2500\u2500 products.yaml <\/code><\/pre>\n<p>  <\/p>\n<p><code>vars\/infrastructure.yaml<\/code> \u2014 <\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\"> releases:   - name: postgresql     repo: bitnami     version: 8.6.13    - name: adminer     repo: cetic     version: 0.1.5    - name: rabbitmq     repo: bitnami     version: 7.6.6    - name: ns-ready     repo: my-project     version: 0.1.1<\/code><\/pre>\n<p>  <\/p>\n<p><code>vars\/products.yaml<\/code> <\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">releases:   - name: adm-api     path: rdw\/sbs\/adm\/api   - name: frontend     path: my-project\/internal\/frontend   - name: api     path: my-project\/internal\/api   - name: chat     path: my-project\/internal\/chat <\/code><\/pre>\n<p>  <\/p>\n<p><code>helmwave.yml.tpl<\/code> <\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">project: my-project version: 0.5.0  repositories:   - name: bitnami     url: https:\/\/charts.bitnami.com\/bitnami   - name: cetic     url: https:\/\/cetic.github.io\/helm-charts  .options: &amp;options   install: true   wait: true   timeout: 5m   atomic: false   maxhistory: 10   namespace: {{ requiredEnv &quot;HELM_NS&quot; }}  releases:   {{- with readFile &quot;vars\/products.yaml&quot; | fromYaml | get &quot;releases&quot; }}   {{- range $v := . }}   - name: {{ $v | get &quot;name&quot; }}     chart: my-project\/{{ $v | get &quot;name&quot; }}     options:       &lt;&lt;: *options     store:       path: {{ $v | get &quot;path&quot; }}     tags:       - {{ $v | get &quot;name&quot; }}       - product     values:       # all products &amp; all envs       - values\/product\/_\/_.yml       # all products &amp; an env       - values\/product\/_\/{{ requiredEnv &quot;CI_ENVIRONMENT&quot; }}.yml       # a product &amp; all envs       - values\/product\/{{ $v | get &quot;name&quot; }}\/_.yml       # a product &amp; an env       - values\/product\/{{ $v | get &quot;name&quot; }}\/{{ requiredEnv &quot;CI_ENVIRONMENT&quot; }}.yml   {{ end }}   {{- end }}    {{- with readFile &quot;vars\/infrastructure.yaml&quot; | fromYaml | get &quot;releases&quot; }}   {{- range $v := . }}   - name: {{ $v | get &quot;name&quot; }}     chart: {{ $v | get &quot;repo&quot; }}\/{{ $v | get &quot;name&quot; }}     options:       &lt;&lt;: *options       chartpathoptions:         version: {{ $v | get &quot;version&quot; }}     tags:       - {{ $v | get &quot;name&quot; }}       - infrastructure     values:       # a svc &amp; all envs       - values\/infrastructure\/{{ $v | get &quot;name&quot; }}\/_.yml       # a svc &amp; an env       - values\/infrastructure\/{{ $v | get &quot;name&quot; }}\/{{ requiredEnv &quot;CI_ENVIRONMENT&quot; }}.yml   {{ end }}   {{- end }} <\/code><\/pre>\n<p>  <\/p>\n<h3 id=\"kontury-v-store\">\u041a\u043e\u043d\u0442\u0443\u0440\u044b \u0432 Store<\/h3>\n<p>  <\/p>\n<p>\u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c 2 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f dev \u0438 prod.<br \/>  \u0418 \u0432 prod&#8217;e \u043d\u0430\u043c \u043d\u0435 \u043d\u0443\u0436\u043d\u0430 \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445<\/p>\n<p>  <\/p>\n<p><code>vars\/infrastructure.yaml<\/code><\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">releases:   - name: rabbitmq     repo: stable     version: 6.18.2     envs:       - _ # all environments     tags:       - queue    - name: postgresql     repo: bitnami     version: 8.6.13     envs:       - dev # only dev     tags:       - db<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"plaintext\"># vim: set filetype=yaml: {{- $env := requiredEnv &quot;CI_ENVIRONMENT&quot; }} # Look at this first  project: insider version: 0.5.0  repositories:   - name: stable     url: https:\/\/kubernetes-charts.storage.googleapis.com   - name: bitnami     url: https:\/\/charts.bitnami.com\/bitnami  .options: &amp;options   install: true   wait: true   force: false   timeout: 5m   atomic: false   maxhistory: 10   namespace: {{ requiredEnv &quot;HELM_NS&quot; }}  releases:   {{- with readFile &quot;vars\/infrastructure.yaml&quot; | fromYaml | get &quot;releases&quot; }}   {{- range $v := . }}   {{- $envs := $v | get &quot;envs&quot; }}   {{- if or (has &quot;_&quot; $envs) (has $env $envs) }}   - name: {{ $v | get &quot;name&quot; }}     chart: {{ $v | get &quot;repo&quot; }}\/{{ $v | get &quot;name&quot; }}     options:       &lt;&lt;: *options       chartpathoptions:         version: {{ $v | get &quot;version&quot; }}     tags:       - {{ $v | get &quot;name&quot; }}       - infrastructure       {{- if $v | hasKey &quot;tags&quot; }}       - {{ $v | get &quot;tags&quot; | toYaml }}       {{- end }}     values:       # a svc &amp; all envs       - values\/infrastructure\/{{ $v | get &quot;name&quot; }}\/_.yml       # a svc &amp; an env       - values\/infrastructure\/{{ $v | get &quot;name&quot; }}\/{{ $env }}.yml   {{ end }}   {{- end }}   {{- end }} <\/code><\/pre>\n<p>  <\/p>\n<p>\u0411\u0430\u0437\u0430 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u0430<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">$ helmwave planfile<\/code><\/pre>\n<p>  <\/p>\n<p>\u0427\u0442\u043e\u0431\u044b postgresql \u0432\u043a\u043b\u044e\u0447\u0438\u043b\u0441\u044f<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">$ CI_ENVIRONMENT=dev helmwave planfile<\/code><\/pre>\n<p>  <\/p>\n<h2 id=\"giltab-ci-pipelines\">Giltab-CI Pipelines<\/h2>\n<p>  <\/p>\n<p>\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0448\u0430\u0431\u043b\u043e\u043d gitlab-ci \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c helmwave \u0438\u0437 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 <a href=\"https:\/\/gitlab.com\/g-ci\" rel=\"nofollow\">g-ci<\/a><\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">variables:   HELMWAVE_LOG_LEVEL: debug  .helmwave-deploy:   stage: deploy   environment:     name: ref\/$CI_COMMIT_REF_SLUG   image:     name: diamon\/helmwave:0.5.0     entrypoint: [&quot;&quot;]   script:     - helmwave deploy  helmwave deploy:   extends: .helmwave-deploy<\/code><\/pre>\n<p>  <\/p>\n<p>\u0421 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c <code>include<\/code><\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">include: https:\/\/gitlab.com\/g-ci\/deploy\/-\/raw\/master\/helmwave.yml  helmwave deploy:   environment:     name: prod<\/code><\/pre>\n<p>  <\/p>\n<h2 id=\"ps\">P.S.<\/h2>\n<p>  <\/p>\n<p>Helmwave source: <a href=\"https:\/\/github.com\/zhilyaev\/helmwave\/\" rel=\"nofollow\">https:\/\/github.com\/zhilyaev\/helmwave\/<\/a><br \/>  G-CI: <a href=\"https:\/\/gitlab.com\/g-ci\" rel=\"nofollow\">https:\/\/gitlab.com\/g-ci<\/a><br \/>  \u041f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0435 \u043a \u043d\u0430\u043c \u0432 <a href=\"https:\/\/t.me\/helmwave\" rel=\"nofollow\">telegram<\/a> \u0441 \u043b\u044e\u0431\u044b\u043c\u0438 \u0432\u043e\u043f\u0440\u043e\u0441\u0430\u043c\u0438!<\/p>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/532596\/\"> https:\/\/habr.com\/ru\/post\/532596\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/e7\/ey\/jo\/e7eyjo8j1iuuw5rlntzez5bylbc.png\" alt=\"preview\"><\/p>\n<p>  <\/p>\n<p>Helm, \u043a\u0430\u043a \u0438 Docker \u0441\u0442\u0430\u043b \u0434\u0435-\u0444\u0430\u043a\u0442\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043e\u043c \u0432 \u0438\u043d\u0434\u0443\u0441\u0442\u0440\u0438\u0438. \u041a\u043e\u0433\u0434\u0430 \u043c\u044b \u043e\u0431\u0441\u0443\u0436\u0434\u0430\u0435\u043c Kubernetes (<a href=\"https:\/\/habr.com\/ru\/company\/oleg-bunin\/blog\/524556\/\">52%<\/a>). \u0418 \u043d\u043e\u0432\u043e\u0441\u0442\u044c, \u0447\u0442\u043e <a href=\"https:\/\/habr.com\/ru\/company\/southbridge\/blog\/531820\/\">Docker is deprecated<\/a> \u0432\u044b\u0437\u0432\u0430\u043b\u043e \u0432\u043e\u043b\u043d\u0443 \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0439 \u0432 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0435. \u041d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0432\u0441\u0435 \u043f\u0440\u0438\u0432\u044b\u043a\u043b\u0438 \u043a Docker.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-314854","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/314854","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=314854"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/314854\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=314854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=314854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=314854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}