allow_write_operations parameter support #666
Merged
+11
−0
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.
Jira Issue: https://issues.redhat.com/browse/AAP-57217
Support
allow_write_operationsparameterDescription
Support
allow_write_operationsparameter to enable APIs that can create. change, delete data. See ansible/aap-mcp-server#50 for more information.Testing
Steps to test
Scenarios tested
Molecule and manual tests.
Production deployment
Note
Introduces an
allow_write_operationsboolean toAnsibleMCPServerand propagates it across the CRD, samples, docs, Molecule configs/templates, and ConfigMap env.config/crd/bases/...ansiblemcpservers.yaml):spec.allow_write_operations(boolean, defaultfalse) with description.docs/running-on-openshift-cluster.md):allow_write_operationsand include it in the exampleAnsibleMCPServerspec.config/samples/..._ansiblemcpserver.yaml):allow_write_operations: falsein sample spec.allow_write_operationsinmolecule.ymlinventories andcreate_mcpserver_instance.yaml.j2.allow_write_operationsvar todefaultandkindscenarios.roles/mcpserver/templates/mcpserver.configmap.yaml.j2):ALLOW_WRITE_OPERATIONSenv fromallow_write_operations.Written by Cursor Bugbot for commit 647f30f. This will update automatically on new commits. Configure here.