update topaz config new#742
Merged
Merged
Conversation
Coverage Report for CI Build 29165598880Coverage remained the same at 7.206%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
There was a problem hiding this comment.
Pull request overview
This PR updates the topaz config new-related configuration surface by removing hard-coded Aserto UI origins from example/config templates, standardizing CLI flag short-hands (notably -f for --force), and extracting/reusing OPA template payload fragments (including plugin blocks).
Changes:
- Remove
*.aserto.com/*aserto-console.netlify.appfromallowed_originsin templates, schema examples, test assets, and docs. - Standardize
--forceshort flag usage to-facross commands touched in this PR. - Extract OPA template fragments and add/standardize plugin configuration blocks (decision logger +
aserto_edge) in example configs.
Reviewed changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| topazd/tests/assets/config/peoplefinder.yaml | Removes Aserto origins and adds OPA plugins config block. |
| topazd/tests/assets/config/config-with-tls.yaml | Removes Aserto origins and adds OPA plugins config block. |
| topazd/tests/assets/config/config-no-tls.yaml | Removes Aserto origins and adds OPA plugins config block. |
| topazd/authorizer/plugins/edge/aserto_edge.md | Adds documentation for the aserto_edge OPA plugin configuration. |
| topaz/cmd/directory/manifest.go | Adds -f short flag for delete-manifest force option. |
| topaz/cmd/configure/new.go | Normalizes CLI tags/flags for topaz config new command options. |
| topaz/cmd/certs/generate.go | Adds -f short flag for cert generation force option. |
| pkg/config/templates.go | Refactors config templates by extracting OPA template fragments and appending plugin blocks. |
| pkg/config/schema/config.yaml | Updates schema/example config snippets: removes origins and adds plugin sections. |
| docs/examples/config-public-ghcr.yaml | Updates example allowed_origins away from Aserto domains. |
| docs/examples/config-private-apcr.yaml | Removes outdated private APCR example. |
| docs/examples/config-local-image.yaml | Updates example allowed_origins away from Aserto domains. |
| docs/deployments/sidecar-deployment/topaz-configmap.yaml | Removes Aserto origins from deployment configmap example. |
| docs/deployments/docker-compose/config/local.yaml | Removes Aserto origins from docker-compose local config example. |
| docs/config.md | Updates documentation examples: origins removal + adds/expands OPA service/plugin examples. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
aserto-bot
approved these changes
Jul 11, 2026
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.
Update the
topaz config newcommand implementation