Repository navigation
Stage dedicated OpenCode Ergo credential with KSOPS - #309
Merged
Merged
Conversation
xnoto
marked this pull request as ready for review
December 2, 2026 00:46
5 of 14 tasks
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Validation
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
AI-assisted generator wiring and PR preparation. Do not include credential material in review notes.