7 Commits

Author SHA1 Message Date
Radosław Piliszek
0f662a23d0 Drop Helm v2 support to fix v3 issue
Helm v2 is long gone and there seems to be no interest in
supporting it any longer. [1]

Dropping support for v2 allows for an easy fix to the
command used so that it names the release properly
as it was supposed to instead of trying to set the
namespace name (the -n switch changed purpose [1]).

[1] https://lists.zuul-ci.org/archives/list/zuul-discuss@lists.zuul-ci.org/thread/WUWBM5F3PXXDLKK6JNSP4UR4VTWDNPZ4/

Story: 2010783
Task: 48201
Change-Id: I00676bcc7e8b4f3ec014f2292c6c0ee4c17acd96
2023-06-20 17:06:36 +02:00
okozachenko
8e472d4137 Fix the checking helm_values_file definition
Change-Id: Ice93989a4eaa5125ea97586db1c915fdf59682b7
2020-04-23 14:35:44 -07:00
Mohammed Naser
0e67960f64 helm-template: enable using values file
This patch allows the user to use a provided values file when running
the helm-template role.

Change-Id: I8e0988c8ec58a33228a326145458a9a0fca323a0
2020-04-20 20:34:40 -04:00
Mohammed Naser
41f53d1a52 helm-template: allow users to disable wait-for-pods
It's possible that a Helm chart does *not* create any pods, such as in
the case if you're using Helm to manage all of your RBAC resources.

Change-Id: I98b8427b1f4b6a2f454c3f796fa8a6ad2d765c46
2020-04-20 20:07:07 -04:00
Mohammed Naser
44608e16e7 wait-for-pods: Wait for all pods to become Ready
This refactors the code inside helm-template which waits for all
pods to become Ready to move inside it's own seperate role instead
which can be used for other tasks.

Change-Id: Ibb234c46c49fe656cf918a7a4af115e0d26f23f0
2020-03-14 14:14:43 -04:00
James E. Blair
3748623564 Fix typo in helm role
s/go/helm.

Change-Id: I840fff4e556df4b99994830755daddbe54222bb2
2020-01-10 13:26:51 -08:00
Mohammed Naser
8ae49163f3 helm-template: Add role to run 'helm template'
This role runs Helm template of a specific chart and then makes
sure that all resources become ready afterwards.

Change-Id: I62e160eac673d13bd1018b58fd36cae54e1482b4
2020-01-10 17:31:05 +00:00