mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-02 17:56:25 +02:00
The '========== Updated Releases ==========' header was a fixed 38 chars regardless of the table width below it. Now the divider line is extended to match the table's visual width, with the title text centered within the '=' borders. - Add TableVisualWidth() to measure table width via runewidth - Add HeaderDividerCentered() and HeaderDividerCenteredStyled() for centered dividers with optional bold+blue ANSI styling - Refactor DisplayAffectedReleases to build the table first, then compute its width before logging the header - Update all test snapshots and integration test output files Signed-off-by: yxxhero <aiopsclub@163.com>
55 lines
1.7 KiB
Plaintext
55 lines
1.7 KiB
Plaintext
rendering starting for "helmfile.yaml.gotmpl.part.0": inherited=&{default map[] map[] map[]}, overrode=<nil>
|
|
rendering result of "helmfile.yaml.gotmpl.part.0":
|
|
0:
|
|
1:
|
|
2:
|
|
3: releases:
|
|
4: - name: kubernetes-external-secrets
|
|
5: chart: incubator/raw
|
|
6: namespace: kube-system
|
|
7:
|
|
8: - name: external-secrets
|
|
9: chart: incubator/raw
|
|
10: namespace: default
|
|
11: labels:
|
|
12: app: test
|
|
13: needs:
|
|
14: - kube-system/kubernetes-external-secrets
|
|
15:
|
|
16: - name: my-release
|
|
17: chart: incubator/raw
|
|
18: namespace: default
|
|
19: labels:
|
|
20: app: test
|
|
21: needs:
|
|
22: - default/external-secrets
|
|
23:
|
|
|
|
merged environment: &{default map[] map[] map[]}
|
|
2 release(s) matching app=test found in helmfile.yaml.gotmpl
|
|
|
|
Affected releases are:
|
|
external-secrets (incubator/raw) UPDATED
|
|
my-release (incubator/raw) UPDATED
|
|
|
|
invoking preapply hooks for 2 groups of releases in this order:
|
|
GROUP RELEASES
|
|
1 default/default/my-release
|
|
2 default/default/external-secrets
|
|
|
|
invoking preapply hooks for releases in group 1/2: default/default/my-release
|
|
invoking preapply hooks for releases in group 2/2: default/default/external-secrets
|
|
processing 2 groups of releases in this order:
|
|
GROUP RELEASES
|
|
1 default/default/external-secrets
|
|
2 default/default/my-release
|
|
|
|
processing releases in group 1/2: default/default/external-secrets
|
|
processing releases in group 2/2: default/default/my-release
|
|
|
|
[1m[34m======================= Updated Releases ========================[0m
|
|
NAME NAMESPACE CHART VERSION DURATION
|
|
external-secrets default incubator/raw 3.1.0 0s
|
|
my-release default incubator/raw 3.1.0 0s
|
|
|