Repository navigation
Commit edcb675
feat: add ESO v1 API, ACM pull-secret policy, sigstore keys, and Trustee 1.1 compat (#35)
* fix: use external-secrets.io/v1 API for Red Hat ESO compatibility
* fix: add admin.type=DenyAll for Trustee 1.1 KBS compatibility
* feat: add credential to extraSecrets for authenticated registry support
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat: add ACM policy for pull secret credential — replaces ansible imperative job
Implements declarative pull secret propagation via ACM ConfigurationPolicy.
Uses fromSecret to copy .dockerconfigjson from openshift-config/pull-secret
to trustee-operator-system/credential with key regcred.
- Gated on global.coco.secured (only active when attestation enabled)
- Sync-wave 5 (after vault, before RVPS)
- Continuously reconciled by ACM - no cron job needed
- Replaces imperative ansible playbook approach
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat: add ACM policy for pull-secret distribution
Replace ExternalSecrets approach with ACM ConfigurationPolicy that:
- Copies openshift-config/pull-secret
- Transforms .dockerconfigjson key to regcred
- Places in trustee-operator-system/credential secret
- Available to KBS as kbs:///default/credential/regcred
Sync wave 5 ensures this runs before trustee deployment (wave 7).
Resolves Phase 5-6 registry authentication requirement.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* fix: remove duplicate pull-secret-policy.yaml
The pull-secret-credential-policy.yaml file already contains the
ACM Policy, PlacementRule, and PlacementBinding for distributing
pull-secret credentials. The old pull-secret-policy.yaml was causing
duplicate resource warnings in ArgoCD.
This fixes the trustee app OutOfSync status.
* feat(phase6): add Red Hat GPG public key for signature verification
* feat: add Red Hat sigstore public key secret
Add sigstore-keys secret with Red Hat release key 3 for
sigstore signature verification.
This enables sigstoreSigned policy type which stores signatures
as OCI artifacts in the registry (unlike GPG lookaside).
Secret will be mounted to KBS repository via KbsConfig.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* chore: bump version to 0.8.0
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat: support for ESO
Signed-off-by: Chris Butler <chris.butler@redhat.com>
* ci: ignore attestation-policy.yaml in jscpd duplicate detection
TDX and SEV-SNP attestation policy blocks share intentional structural
similarity. This is not accidental duplication — the policies have
different field values but the same YAML shape.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: remove embedded Red Hat GPG and sigstore key secrets
These templates create Kubernetes Secrets with hardcoded Red Hat public
keys, but nothing consumes them — they are not in kbsSecretResources
and no active security policy references them.
Keys should be fetched from official Red Hat URLs at install time
(via Makefile targets in coco-pattern), not embedded in source.
See: validatedpatterns/coco-pattern#100
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* ci: fix actions/checkout version comment to match SHA
zizmor ref-version-mismatch: SHA de0fac2e maps to v6.0.2, not v6.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Signed-off-by: Chris Butler <chris.butler@redhat.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 10a447a commit edcb675
19 files changed
Lines changed: 88 additions & 18 deletions
File tree
- .github
- linters
- workflows
- templates
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments