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>
20 lines
715 B
YAML
20 lines
715 B
YAML
apiVersion: v2
|
|
appVersion: v3.5.4
|
|
name: argo-workflows
|
|
description: A Helm chart for Argo Workflows
|
|
type: application
|
|
version: 0.40.8
|
|
icon: https://argoproj.github.io/argo-workflows/assets/logo.png
|
|
home: https://github.com/argoproj/argo-helm
|
|
sources:
|
|
- https://github.com/argoproj/argo-workflows
|
|
maintainers:
|
|
- name: argoproj
|
|
url: https://argoproj.github.io/
|
|
annotations:
|
|
artifacthub.io/signKey: |
|
|
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
|
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
|
artifacthub.io/changes: |
|
|
- kind: fixed
|
|
description: Remove trailing whitespace from `.resourceRateLimit` when value is set and `.sso.redirectUrl` when value is an empty string.
|