How do I perform an automated upgrade a KOTS application?

I’d like to have my CI/CD process automatically trigger an upgrade of my application’s test instance. How can I trigger an upgrade through kotsadm without the UI?

I think what you are looking for here is the upstream command of the kubectl kots cli command. This will let you fetch and deploy the latest release.

kubectl kots upstream upgrade <app slug> --namespace <namespace> --deploy

You can call this command from your CI/CD tool to trigger the upgrade.