Skip to content

feat(WIP): update posture for 1.0.0 in a generic way#69

Open
butler54 wants to merge 39 commits intovalidatedpatterns:mainfrom
butler54:remove_gen_secrests
Open

feat(WIP): update posture for 1.0.0 in a generic way#69
butler54 wants to merge 39 commits intovalidatedpatterns:mainfrom
butler54:remove_gen_secrests

Conversation

@butler54
Copy link
Collaborator

@butler54 butler54 commented Jan 5, 2026

The objective of this PR is to update the validated pattern as close as possible to the GA posture articulated in the documentation.

Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
@butler54 butler54 changed the title remove gen secrests feat: update posture for 1.0.0 in a generic way Jan 5, 2026
@butler54 butler54 changed the title feat: update posture for 1.0.0 in a generic way feat(WIP): update posture for 1.0.0 in a generic way Jan 5, 2026
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
@butler54 butler54 marked this pull request as ready for review February 19, 2026 00:23
butler54 and others added 16 commits February 19, 2026 12:03
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Replace separate gzip-to-file and slurp approach with direct pipe:
cat file | gzip | base64 -w0

This matches the approach used elsewhere in the codebase and fixes
deployment failures caused by inconsistent encoding.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
SHA-256 produces 256 bits = 32 bytes = 64 hex characters.
The initial PCR value was missing one zero.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
butler54 and others added 12 commits February 19, 2026 12:03
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Beraldo Leal <bleal@redhat.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Signed-off-by: Chris Butler <chris.butler@redhat.com>
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>
@butler54 butler54 force-pushed the remove_gen_secrests branch from 3158729 to 3bba8d3 Compare February 19, 2026 03:34
Copy link
Collaborator

@sabre1041 sabre1041 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few small changes requested. Otherwise this looks very good

Great work @butler54


echo "Using pull secret: $PULL_SECRET_PATH"

# 2. Check for required tools
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need another check for skopeo

rm -f ~/.coco-pattern/measurements-raw.json ~/.coco-pattern/measurements.json

# Download the measurements using podman cp (works on macOS with remote podman)
podman pull --authfile $PULL_SECRET_PATH $IMAGE
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Granted there is a check for podman in the wrapper script. is there a need to add another check here just in case the script is executed directly?

## Major versions
- **OpenShift Sandboxed Containers 1.11+** (requires OCP 4.17+)
- **Red Hat Build of Trustee 1.0** (first GA release; all prior versions were Technology Preview)
- External chart repositories for [Trustee](https://github.com/butler54/trustee-chart), [sandboxed-containers](https://github.com/butler54/sandboxed-containers-chart), and [sandboxed-policies](https://github.com/butler54/sandboxed-policies-chart)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- External chart repositories for [Trustee](https://github.com/butler54/trustee-chart), [sandboxed-containers](https://github.com/butler54/sandboxed-containers-chart), and [sandboxed-policies](https://github.com/butler54/sandboxed-policies-chart)
- External chart repositories for [Trustee](https://github.com/validatedpatterns/trustee-chart), [sandboxed-containers](https://github.com/validatedpatterns/sandboxed-containers-chart), and [sandboxed-policies](https://github.com/validatedpatterns/sandboxed-policies-chart)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants