You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Address ansible-lint (risky-shell-pipe, no-changed-when, line-length),
super-linter markdown and natural language errors, and JSON schema
validation by resetting clusterGroupName to simple.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@@ -54,9 +54,9 @@ Use the **first** approach that fits your requirement:
54
54
55
55
## Companion Chart Repositories
56
56
57
-
Several charts in this repo have companion repositories for independent versioning and reuse. Develop and test in this repo first (charts deploy via `path:`), then sync changes to the companion repo.
57
+
Several charts in this repository have companion repositories for independent versioning and reuse. Develop and test in this repository first (charts deploy via `path:`), then sync changes to the companion repository.
58
58
59
-
| Local Path | Companion Repo| Purpose |
59
+
| Local Path | Companion Repository| Purpose |
60
60
|---|---|---|
61
61
|`charts/hub/trustee/`|`trustee-chart`| Trustee / KBS on hub |
Copy file name to clipboardExpand all lines: ansible/init-data-gzipper.yaml
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,7 @@
47
47
48
48
- name: Gzip and base64 encode the rendered content
49
49
ansible.builtin.shell: |
50
+
set -o pipefail
50
51
cat "{{ rendered_path }}" | gzip | base64 -w0
51
52
register: initdata_encoded
52
53
changed_when: false
@@ -55,16 +56,21 @@
55
56
# The script performs the following steps:
56
57
# 1. hash=$(sha256sum initdata.toml | cut -d' ' -f1): Computes the sha256 hash of 'initdata.toml' and assigns it to $hash.
57
58
# 2. initial_pcr=0000000000000000000000000000000000000000000000000000000000000000: Initializes a string of zeros as the initial PCR value.
58
-
# 3. PCR8_HASH=$(echo -n "$initial_pcr$hash" | xxd -r -p | sha256sum | cut -d' ' -f1): Concatenates initial_pcr and $hash, converts from hex to binary, computes its sha256 hash, and stores the result as PCR8_HASH.
# Concatenates initial_pcr and $hash, converts from hex to binary,
61
+
# computes its sha256 hash, and stores the result as PCR8_HASH.
59
62
# 4. echo $PCR8_HASH: Outputs the PCR hash value.
60
-
# The important part: The 'register: pcr8_hash' registers the **stdout of the command**, which is the value output by 'echo $PCR8_HASH', as 'pcr8_hash.stdout' in Ansible.
63
+
# The important part: The 'register: pcr8_hash' registers the **stdout of the command**,
64
+
# which is the value output by 'echo $PCR8_HASH', as 'pcr8_hash.stdout' in Ansible.
61
65
# It does NOT register an environment variable, but rather the value actually printed by 'echo'.
0 commit comments