argocd-helm/charts/argo-workflows/templates/controller
James Slater 03c26fc21f
fix(argo-workflows): Fix trailing whitespace in controller ConfigMap (#2451)
This commit addresses two places where trailing whitespace may be
generated in the workflow-controller ConfigMap.

When the value `.resourceRateLimit` is not null, a trailing whitespace
is added after "resourceRateLimit:". This commit trims that whitespace.

When the value `.sso.redirectUrl` is left as the default of empty string,
a trailing whitespace is left after "redirectUrl:" as this value is not
quoted. This commit pipes this value through `quote` to ensure this
whitespace is no longer trailing and instead followed by `"` pair.

The main motivation of this commit is to generate a workflow-controller
ConfigMap that is properly pretty-printed, which trailing whitespace
prevents.

Signed-off-by: James Slater <SlaterByte@users.noreply.github.com>
Co-authored-by: James Slater <SlaterByte@users.noreply.github.com>
2024-01-25 08:57:56 +09:00
..
artifact-repository-ref-cm.yaml feat(argo-workflows): Add support for artifactRepositoryRef (#2135) 2023-07-11 13:07:08 +01:00
workflow-aggregate-roles.yaml fix(argo-workflows): Remove duplication in aggregated admin ClusterRole (#2389) 2023-12-15 16:45:22 +09:00
workflow-controller-cluster-roles.yaml feat(argo-workflows): Add option for controller to read all secrets (#1967) 2023-04-14 08:53:40 -05:00
workflow-controller-config-map.yaml fix(argo-workflows): Fix trailing whitespace in controller ConfigMap (#2451) 2024-01-25 08:57:56 +09:00
workflow-controller-crb.yaml fix(argo-workflows): Add namespace field to all namespace scoped resources (#1956) 2023-04-13 11:25:06 +02:00
workflow-controller-deployment-pdb.yaml fix(argo-workflows): Add namespace field to all namespace scoped resources (#1956) 2023-04-13 11:25:06 +02:00
workflow-controller-deployment.yaml feat(argo-workflows): Make workflow controller ConfigMap optional (#2354) 2023-11-27 17:44:58 +00:00
workflow-controller-sa.yaml fix(argo-workflows): Add namespace field to all namespace scoped resources (#1956) 2023-04-13 11:25:06 +02:00
workflow-controller-service.yaml fix(argo-workflows): Align version label (#2342) 2023-11-15 13:32:49 +00:00
workflow-controller-servicemonitor.yaml chore(argo-workflows): Enable to configure Service Monitor port (#2076) 2023-05-25 07:30:48 -05:00
workflow-rb.yaml feat(argo-workflows): Assign common labels to some resources (#1369) 2022-07-13 09:10:34 +09:00
workflow-role.yaml fix(argo-workflows): Add missing permission to workflow role (#2367) 2023-12-05 05:55:10 +00:00
workflow-sa.yaml feat(argo-workflows): add imagePullSecret for workflow sa (#2226) 2023-08-17 13:08:03 +01:00