In DKP 2.1.X Kommander creates a configmap which locks the versions of docker images for specific pods. During the upgrade to 2.2.X this configmap will prevent the upgrade from being successful as the pods mentioned in the configmap will not be able to progress to their 2.2.X versions.
The configmap in question is called kommander-overrides and lives in the kommander namespace.
kubectl get cm -n kommander kommander-overrides -o yaml
namespace: kommander
name: kommander-overrides
key: ''
configMapExists: true
keyExists: false
data:
values.yaml: |
authorizedlister:
image:
tag: v2.1.0-amd64
controller:
containers:
manager:
image:
tag: v2.1.0-amd64
webhook:
image:
tag: v2.1.0-amd64
fluxOperator:
containers:
manager:
image:
tag: v2.1.0-amd64
kommander-licensing:
controller:
containers:
manager:
image:
tag: v2.1.0-amd64
webhook:
image:
tag: v2.1.0-amd64
kubetools:
image:
tag: v2.1.0-amd64
To progress the upgrade, all you have to do is delete this configmap and you should see new containers spawn with the correct docker image tag versions which will vary depending on which 2.2.X release you are upgrading to.
kubectl delete cm -n kommander kommander-overrides