Allow OPA policy to evaluate runtime contexts
in progress
C
Controlled Tapir
For reference context (https://support.harness.io/hc/en-us/requests/73662).
Implement the ability to evaluate runtime context of the Autoscaling Service module specifically allow the following:
* evaluate variables defined in the Autoscaling Service
* evaluate configurations on Autoscaling Service to read the rendered data at runtime as an example
<+configFile.getAsString("CONFIG_FILE_ID")>: Get config file contents as plain text.
<+configFile.getAsBase64("CONFIG_FILE_ID")>: Get config file contents with Base64-encoding
Log In
This post was marked as
in progress
F
Fast Mammal
Currently, configuration files and user data scripts defined at the service level are not accessible in OPA. It would be valuable to make them available in OPA with all expressions fully resolved. This enhancement would enable writing OPA policies to validate the contents of these configuration files or user data scripts effectively.
Rohan Gupta
long-term