Upgrade to a new image version
Install kubectl CLI
winget install -e --id Kubernetes.kubectl
SSO login
aws sso login --profile <your profile name>
Create config for Kubernetes Service (EKS)
If you haven’t connected to the cluster before run this command to create a connection:
aws eks --region <region> update-kubeconfig --name <cluster_name> -profile <cloudservice>>
Switch between contexts
List contexts
kubectl config get-contexts
Select context
kubectl config use-context <context name>
Upgrade to a new version
Decide the following before proceeding with the upgrade:
The default time zone. The time zone id is the “TZ database name” from this page: List of tz database time zones
The default culture. Use the code from: Supported Languages
The other supported cultures. Use the code from: Supported Languages
The RootUrl of application.
The namespace where OneList applications are deployed.
Download the upgrade.ps1 file or find this file in onelist repository under the “Azure Deployment” folder. Run the command below in PowerShell, where the Image_Version is in the format of x.x.x, e.g. 7.4.4
.\upgrade.ps1 -n <OneList_Namespace> -v <Image_Version> -repo <container repository hostname> -rooturl <rootUrl> -timezone <default timezone> -culture <default culture> -supportedCultures <supported cultures seperated by ','>
For example: .\upgrade.ps1 -n onelist -v 7.4.4 -rootUrl https://onelist.example.com -timezone Australia/Sydney -culture en-AU -supportedCultures en-AU,en-US