There is an issue in DKP 2.1.0,2.1.1 and 2.1.2 that may cause a failure during a migration from Konvoy 1.8. You will see an error similar to the following:
./kommander migrate -y
✓ Checking if migration from DKP 1.x is necessary
Found the following Konvoy 1.x addons:
cert-manager
dashboard
dex
dex-k8s-authenticator
fluentbit
gatekeeper
kibana
konvoyconfig
kube-oidc-proxy
opsportal
prometheus
prometheusadapter
traefik-forward-auth
velero
✓ Ensuring applications repository fetcher is deployed
✓ Ensuring base resources are deployed
✗ Ensuring Flux is deployed
Error: failed to ensure "Flux is deployed": unable to extract value of "httpProxy" from values.yml override: .mutations.podProxySettings.httpProxy accessor error: <nil> is of the type <nil>, expected string
Once you begin a Migration, you cannot switch to a newer version of DKP to continue the migration so the only fix for this issue is to modify the gatekeeper-overrrides configmap in the kommander namespace so that we no longer have a type <nil> value.
kubectl edit configmap gatekeeper-overrrides -n kommander
These blank values:
podProxySettings:
noProxy:
httpProxy:
httpsProxy:
Need to become:
podProxySettings:
noProxy: ""
httpProxy: ""
httpsProxy: ""
Then we can re-run the migration successfully.