Download the code for a defined policy in YAML or JSON format through the Tanzu Mission Control console.
For example, you can define a policy in Tanzu Mission Control and then download the policy code. Then you can use that file to check into source control, or make changes to the policy and apply it to the cluster or other clusters.
Note: This capability is not available for access policies.
Prerequisites
Log in to the Tanzu Mission Control console.
Make sure you have the appropriate permissions to download policies.
- To view and download the policies for an object, you must be associated with the .admin role on that object.