Change an Application's Branch
At the moment it is not possible to change the branch a SIP application is referencing using sipctl, therefore you have to use kubectl. Make sure you have kubectl configured, by checking out the How to access Kubernetes Cluster guide.
To do so, edit the application configuration:
change-sip-application-branch
kubect edit application.sip -n $namespace $applicationName
Then, edit metadata.annotations.sip.vseth.ethz.ch/branch to the branch name and metadata.annotations.labels.sip.vseth.ethz.ch/branch to the sha1 hash of the branch name appended with "VSETH". The sha1 hash can be generated as follows:
sha1-generation
echo -n "$branchName" | sha1sum