API
The endpoints for managed delivery are located in the . The endpoints are easily accessible from the swagger api page of your Spinnaker instance.
This doc provides samples for how to use the endpoints.
The export endpoint (under the “managed-controller”) allows you to take an existing resource and export it to a yaml config.
These definitions can be stored in your git repo.
The ad-hoc diff endpoint allows you to see if a resource config is valid, and to see the difference between config (desired state) and reality.
The UI will show a flag on each resource that is declaratively managed. If you click on the resource, you can view its definition (raw source)
If you’d rather hit the api directly, you can refer to the UI for the resource name, or the logs for the publish stage.
Spinnaker will take actions to make sure that your resource matches what you’ve defined. To view those actions in a list you can hit the endpoint: