I was wondering if there is to deploy a way to provide manifests files to kubernetes deployment step without specifing a lot of details in a UI. Main disadvantage of using UI is it is hard to version and introduce changes, so we’d like to host as much as possible in project git repo (deployment, service, ingress and other resources).
At the moment we are doing a lot of things manually as kubectl script.
What I would recommend for this scenario is packaging your manifests file so that you can reference it in Octopus, then call that script via the Run a kubectl CLI Script or Kubernetes Raw YAML steps.
I understand what you mean, unfortunately that’s the trade-off at the moment.
We would be happy to supply you with the script that the Deploy Kubernetes Containers step uses to perform the deployment, if you’d like? You wouldn’t be able to use it directly, but it could be nice as a reference.