Commit graph

14 commits

Author SHA1 Message Date
Julien Duchesne
c7584ab51d
feat(argo-workflows): Allow setting the metrics port name (#934)
* Allow setting the metrics port name
Here, we scrape every pod that has a .*-metrics port here
But the helm chart is locked to `metrics` which our Prometheus doesn't see

This PR will make it configurable with a default value of `metrics`

Signed-off-by: Julien Duchesne <julien.duchesne@grafana.com>

* Bump version

Signed-off-by: Julien Duchesne <julien.duchesne@grafana.com>

* Bump minor version

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2021-09-17 21:51:13 +02:00
bderdiarian
7274e3a094
feat(argo-workflows): Adding initialDelay param to controller configmap (#926)
* Adding initialDelay param to controller configmap

Signed-off-by: Brian Derdiarian <brianderdiarian@gmail.com>

* Fixing change log

Signed-off-by: Brian Derdiarian <brianderdiarian@gmail.com>

* Ticking up chart version

Signed-off-by: Brian Derdiarian <brianderdiarian@gmail.com>
Signed-off-by: brianderdiarian <brianderdiarian@gmail.com>

Co-authored-by: Vlad Losev <vladlosev@users.noreply.github.com>
2021-09-15 15:27:03 -07:00
Elliot Maincourt
44acc3cde7
feat(argo-workflows): Add controller containerRuntimeExecutors param to configmap (#924)
* feat(argo-workflows): Add controller containerRuntimeExecutors param to configmap

Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>

* fix(chart): changes are not cumulative

Signed-off-by: Elliot Maincourt <e.maincourt@gmail.com>
2021-09-13 09:21:04 -07:00
Karsten Siemer
2beca15feb
feat(argo-workflows): Add controller namespaceParallelism param to configmap (#908)
Signed-off-by: Karsten Siemer <karsten.siemer@sda.se>

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2021-08-27 14:59:29 +02:00
Rein van 't Veer
fa7ba522e0
fix(argo-workflows): Fix typo reported in #876 (#881)
* fix typo. Fixes #876

Signed-off-by: reinvantveer <reinvantveer@gmail.com>

* change notes and version bump

Signed-off-by: reinvantveer <reinvantveer@gmail.com>

* fix typos in role and service account

Signed-off-by: reinvantveer <reinvantveer@gmail.com>

* update change notes

Signed-off-by: reinvantveer <reinvantveer@gmail.com>
2021-08-20 09:24:23 -07:00
Mike Bryant
07c1cf092c
feat(argo-workflows): Add support for extra containers in server & controller deployment (#841)
* feat: Add support for extra containers in server & controller deployment

Signed-off-by: Mike Bryant <mikebryant@bulb.co.uk>

* Update charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml

Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com>
Signed-off-by: Mike Bryant <mike@mikebryant.me.uk>

* Update charts/argo-workflows/templates/server/server-deployment.yaml

Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com>
Signed-off-by: Mike Bryant <mike@mikebryant.me.uk>

Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com>
2021-08-11 09:32:11 +02:00
Rein van 't Veer
37277315ce
feat(argo-workflows): Multiple workflow namespaces (#824)
* allow workflow to be run in multiple namespaces, bump chart version

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* update helm install instructions

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* fix indents

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* add newlines

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* bump chart version

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* default to "argo" namespace for workflow service account

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* simplify setting service account, fix syntactical error in defaulting to "argo" namespace

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* Bump only the chart version, revert bumping the controller version: 3.0.8 does not exist yet as a workflow-controller image version

Signed-off-by: reinvantveer <reinvantveer@gmail.com>

* don't set a namespace if there isn't one provided

Signed-off-by: reinvantveer <reinvantveer@gmail.com>

* bump version

Signed-off-by: reinvantveer <reinvantveer@gmail.com>

* re-use controller.workflowNamespaces instead of introducing workflow.namespaces

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* re-use controller.workflowNamespaces instead of introducing workflow.namespaces

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* re-use controller.workflowNamespaces instead of introducing workflow.namespaces

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* re-use controller.workflowNamespaces instead of introducing workflow.namespaces, add additional inline comments on rbac.create effect

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* compress namespaces from controller.workflowNamespaces and workflow.namespace into single loop iteration

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* compress namespaces from controller.workflowNamespaces and workflow.namespace into single loop iteration

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* compress namespaces from controller.workflowNamespaces and workflow.namespace into single loop iteration

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* dro now-redundant branch for controller.workflowNamespaces

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* use template helper "argo-workflows.fullname" instead of release name in order to be able to override the service account name

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* add missing "template" keyword

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* drop redundant $namespace assignment that was already moved inside the "range" function

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* replace "define" templates with simple values now that controller.workflowNamespaces and workflow.namespace are unified into a single "range" iteration

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* drop redundant $namespace assignment that was already moved inside the "range" function

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* inline "define" templates with simple values now that controller.workflowNamespaces and workflow.namespace are unified into a single "range" iteration

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* inline "define" templates with simple values now that controller.workflowNamespaces and workflow.namespace are unified into a single "range" iteration

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* add missing "$" to denote target for templating the workflows fullname helper

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* restore `with` blocks for service account name and service account annotations

Signed-off-by: reinvantveer <reinvantveer@gmail.com>

* drop validations: considering cases of `workflowNamespaces`, `namespace` and `singleNamespace`

Signed-off-by: reinvantveer <reinvantveer@gmail.com>

* include case for single namespaces with default ("") namespace, otherwise (ternary) combine the workflow namespace and workflowNamespaces from the controller settings into a list to iterate over

Signed-off-by: reinvantveer <reinvantveer@gmail.com>

* wrap namespace configuration in `with` block to prevent setting it to ""

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* fix append vs. concat bug: append workflowNamespace to (possibly 0-lenght) list of controller.workflowNamespaces

Signed-off-by: reinvantveer <rein.van.t.veer@geodan.nl>

* fix namespace range with additional check for either single namespace being false, or append to the workflow namespaces: the first non-null (coalesce) from the workflow namespace or the namespace Argo is being deployed to.

Signed-off-by: reinvantveer <reinvantveer@gmail.com>

* add changelog entries

Signed-off-by: reinvantveer <reinvantveer@gmail.com>

* unwrap (inline) with-block for service account name

Signed-off-by: reinvantveer <reinvantveer@gmail.com>

Co-authored-by: Vlad Losev <vladlosev@users.noreply.github.com>
2021-07-20 11:18:26 -07:00
Jakub Bielawski
186fe34b87
Fix controller Role/ClusterRole to work with InstanceID (#833)
Bumped Chart version
Add indednt in controller ConfigMap flow control
Signed-off-by: Jakub Bielawski <jakubbielawski89@gmail.com>
2021-07-20 11:10:29 -07:00
Alex Sears
0180e943ff
chore(argo-workflows): update workflows version to most 3.0.7 (#811)
* chore(argo-workflows): update workflows version to most 3.0.7

Signed-off-by: Alex Sears <me@alexsears.com>

* chore(argo-worflows): update controller liveness probe

Signed-off-by: Alex Sears <me@alexsears.com>

* chore(argo-workflows): templatize controller liveness probe

Signed-off-by: Alex Sears <me@alexsears.com>

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2021-06-25 08:15:43 +02:00
Marco Kilchhofer
afe72167fb
fix(argo-workflows): Observe 'controller.serviceAccount.create' (#787)
* fix(argo-workflows): Observe 'controller.serviceAccount.create'

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

* chore: Ignore ci/ directory in final package

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2021-06-03 19:10:55 +02:00
Marco Kilchhofer
f2e530ea7e
fix(argo-workflows): Fix indentation when using extraEnv (#773)
Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2021-05-31 18:31:44 +02:00
Marco Kilchhofer
5183243ce2
fix(argo-workflows): use template for all resource names (#759) 2021-05-27 18:33:22 +02:00
g-linville
7a06415d83
feat(argo-workflows): add value to avoid creating RBAC related to ClusterWorkflowTemplates (#657)
* Argo Workflows: avoid creating ClusterRoles and CRBs if singleNamespace is true

Signed-off-by: g-linville <53102776+g-linville@users.noreply.github.com>

* Argo Workflows: bumped chart version

Signed-off-by: g-linville <53102776+g-linville@users.noreply.github.com>

* Argo: remove clusterworkflowtemplates from WorkflowController role

Signed-off-by: g-linville <53102776+g-linville@users.noreply.github.com>

* feat(argo-workflows): add value to disable creation of RBAC relating to ClusterWorkflowTemplates

Signed-off-by: g-linville <53102776+g-linville@users.noreply.github.com>

* Bumped chart version

Signed-off-by: g-linville <53102776+g-linville@users.noreply.github.com>
2021-05-25 08:06:31 +02:00
chgl
82b655dadc
feat(argo-workflows): added new argo-workflows chart and deprecated argo chart (#668)
* feat: added new argo-workflows chart and deprecated argo chart

Signed-off-by: chgl <chgl@users.noreply.github.com>

* fix: removed maintainers from deprecated argo chart

Signed-off-by: chgl <chgl@users.noreply.github.com>

* docs: rm pullPolicy from snippet since the global images.pullPolicy is actually used

Signed-off-by: chgl <chgl@users.noreply.github.com>

* use Chart.AppVersion as the default image tag

Signed-off-by: chgl <chgl@users.noreply.github.com>

* updated various links

Signed-off-by: chgl <chgl@users.noreply.github.com>

* enabled metrics endpoint and liveness probe by default

Signed-off-by: chgl <chgl@users.noreply.github.com>

* fix: use new-style labels

Signed-off-by: chgl <chgl@users.noreply.github.com>

* fix: set securitycontext for server to something more secure

Signed-off-by: chgl <chgl@users.noreply.github.com>

* Update charts/argo-workflows/templates/_helpers.tpl

Signed-off-by: chgl <chgl@users.noreply.github.com>

Co-authored-by: Brandon Mayfield <563214+bmayfi3ld@users.noreply.github.com>
Signed-off-by: chgl <chgl@users.noreply.github.com>

* bumped argo chart version

Signed-off-by: chgl <chgl@users.noreply.github.com>

* Update charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml

Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com>
Signed-off-by: chgl <chgl@users.noreply.github.com>

* Update charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml

Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com>
Signed-off-by: chgl <chgl@users.noreply.github.com>

* Update charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml

Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com>
Signed-off-by: chgl <chgl@users.noreply.github.com>

* Update charts/argo-workflows/templates/controller/workflow-controller-deployment.yaml

Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com>
Signed-off-by: chgl <chgl@users.noreply.github.com>

* Update charts/argo-workflows/templates/controller/workflow-controller-service.yaml

Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com>
Signed-off-by: chgl <chgl@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Brandon Mayfield <563214+bmayfi3ld@users.noreply.github.com>
Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com>
Signed-off-by: chgl <chgl@users.noreply.github.com>

* used ingress from argo-cd

Signed-off-by: chgl <chgl@users.noreply.github.com>

* Update charts/argo-workflows/templates/server/server-deployment.yaml

Signed-off-by: chgl <chgl@users.noreply.github.com>

Co-authored-by: Brandon Mayfield <mayfield.brandon.a@gmail.com>

* updated argo-wf to v3.0.2

Signed-off-by: chgl <chgl@users.noreply.github.com>

* aligned serviceAccount configuration with argo-cd values

Signed-off-by: chgl <chgl@users.noreply.github.com>

* docs: updated breaking changes in README

Signed-off-by: chgl <chgl@users.noreply.github.com>

* fix: use .Capabilities.APIVersions.Has in Ingress template

Signed-off-by: chgl <chgl@users.noreply.github.com>

Co-authored-by: Brandon Mayfield <563214+bmayfi3ld@users.noreply.github.com>
Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com>
Co-authored-by: Brandon Mayfield <mayfield.brandon.a@gmail.com>
2021-05-21 14:19:05 +02:00