This guide will show you how to upgrade Kubeform operator. Here, we are going to show how to update the license and how to upgrade between two Kubeform versions.
Kubeform support updating license without requiring any re-installation or restart. Kubeform creates a Secret named <helm release name>-license
with the license file. You just need to update the Secret. The changes will propagate automatically to the operator and it will use the updated license going forward.
Follow the below instructions to update the license:
$ helm upgrade kubeform -n kube-system appscode/kubeform \
--reuse-values \
--set-file license=/path/to/new/license.txt
$ helm upgrade kubeform appscode/kubeform \
--reuse-values \
--set-file license=/path/to/new/license.txt
$ helm template kubeform appscode/kubeform \
--set-file license=/path/to/new/license.txt \
--show-only templates/license.yaml \
--no-hooks | kubectl apply -f -
If you are upgrading Kubeform to a patch release, please reapply the installation instructions. That will upgrade the operator pod to the new version and fix any RBAC issues.