Prerequisites
- Install Kubenetes CLI tool - kubectl. Instructions can be found here: https://kubernetes.io/docs/tasks/tools/install-kubectl/
Upgrade to a new version
You need to know the namespace where OneList applications are deployed before proceeding with this upgrade. Download the upgrade.ps1 file. Run the command below, where the IMAGE_VERSION is in the format of x.x.x, e.g. 6.3.0
powershell -f upgrade.ps1 -n <ONELIST_NAMESPACE> -v <IMAGE_VERSION>
For example: powershell -f "c:\onelist\upgrade.ps1" -n onelist -v 6.3.0
Update the SSL certificate
The SSL certificate is securely stored in the Kubernetes secretes store. It is important to keep the SSL certificate current for OneList to function. Please renew the certificate before its expiry date.
- Obtain the SSL certificate and private key without password;
- Run these two command below:
kubectl delete secret tls tls.onelist --namespace <ONELIST_NAMESPACE>
kubectl create secret tls tls.onelist --namespace <ONELIST_NAMESPACE> --cert <SSL_CERTIFICATE_FILE> --key <PRIVATE_KEY_FILE>
For example:
kubectl delete secret tls tls.onelist --namespace onelist
kubectl create secrte tls tls.onelist --namespace onelist --cert "c:\onelist\ssl_certificte.crt" --key "c:\onelist\ssl_key.key"