Skip to content

Stage dedicated OpenCode Ergo credential with KSOPS - #309

Merged
xnoto merged 3 commits into
mainfrom
opencode-ergo-bedrock-secret
Dec 2, 2026
Merged

xnoto merged 3 commits into
mainfrom
opencode-ergo-bedrock-secret

Conversation

@xnoto

@xnoto xnoto commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Stage the operator-supplied SOPS Secret for the dedicated US Ergo identity from makeitworkcloud/tfroot-aws#61. Add the manifest and register it with the existing OpenCode KSOPS generator. This draft does not change the chart, deployment settings, or model availability.

Type of change

  • GitOps desired state (manifests, kustomize, charts, SOPS/KSOPS secrets)

Validation

  • Required pull-request checks pass
  • Authorized operator reports the KSOPS validation passed for the proposed change (operator attestation; not independently rerun).

PR CI cannot decrypt the full KSOPS overlay; green CI is not proof of decryptability or manifest correctness. The operator confirmed both expected fields have SOPS encryption markers. GitHub blob metadata confirms the manifest is unchanged from the operator-checked revision. The manifest contents were not independently reviewed.

Impact and rollout

Opening this PR did not deploy. After validation and separate explicit merge approval, Argo CD can reconcile the Secret in the OpenCode namespace. Verify the merged revision, Secret metadata, and application health. Chart wiring, provider enablement, and inference checks remain separate. If the registration fails to reconcile, use a reviewed GitOps revert; do not alter live state manually.

Safety and secrets

  • Authorized reviewer confirms the manifest has no plaintext credentials or other prohibited material
  • No local OpenTofu operations were run

AI-assisted generator wiring and PR preparation. Do not include credential material in review notes.

@xnoto
xnoto marked this pull request as ready for review December 2, 2026 00:46
@xnoto
xnoto requested a review from a team as a code owner December 2, 2026 00:46
@xnoto
xnoto merged commit 4174277 into main Dec 2, 2026
3 checks passed
@xnoto
xnoto deleted the opencode-ergo-bedrock-secret branch December 2, 2026 00:46
xnoto added a commit to makeitworkcloud/charts that referenced this pull request Dec 2, 2026
## Summary

Add Amazon Ergo 1.0 (US) as an opt-in shared OpenCode model using the
built-in Bedrock SigV4 provider. Bump the chart to 0.5.11; keep OpenCode
2.0.22, Sol, agent defaults, and the memory pilot unchanged. Enabling
the flag references the dedicated cluster-owned Secret; it never reuses
the AWS MCP credential.

## Type of change

- [ ] Bug fix
- [x] Feature / enhancement
- [x] Documentation
- [ ] Infrastructure (OpenTofu root or module)
- [x] GitOps desired state (manifests, kustomize, charts, SOPS/KSOPS
secrets)
- [ ] Container image
- [ ] CI / reusable workflow
- [ ] Refactor / cleanup
- [ ] Breaking change

## Validation

- [ ] Required pull-request checks pass
- [ ] Generated or centrally distributed files were regenerated by their
owning automation, not hand-edited (not applicable to this PR)

Chart CI runs repository hygiene, Helm rendering and packaging checks.
The new render test checks config parity and the enabled model, region,
Secret refs, and Reloader annotation. These checks do not prove runtime
authentication or inference.

## Impact and rollout

This PR does not enable Ergo. An approved chart merge publishes OCI
0.5.11 and triggers the generated GitOps pin PR. Coordinate the exact
chart/API assertion update from (0.5.10, 2) to (0.5.11, 2) in that same
consumer PR; leave Ergo off and do not bypass required checks. [Secret
staging](makeitworkcloud/kustomize-cluster#309)
already reconciled by metadata. Enablement requires separate approval of
the license and permitted data classes. After authorized enablement,
verify catalog visibility, streaming, a read-only tool round trip with
synthetic inputs, and unchanged defaults. Disable the flag to remove the
provider and credential refs.

## Safety and secrets

- [x] Contains no plaintext secrets, decrypted SOPS values, state files,
kubeconfigs, tokens, or private endpoints
- [x] No local OpenTofu init/plan/apply/destroy/import/state operations
were run or claimed — plans come from pull-request checks
- [ ] Breaking or irreversible effects are described above with rollback
notes (none)

AI-assisted implementation and review.
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.

1 participant