Status field cannot be overridden from PGT. See https://bugzilla.redhat.com/show_bug.cgi?id=2038954#c3 for details.
I tried using two source-crs, but once the second policy becomes compliant, the first will be NonCompliant because of different wave numbers added in the source-crs. ztp-upgrade.du-upgrade-cluster-version-policy1 inform NonCompliant 7d23h ztp-upgrade.du-upgrade-cluster-version-policy2 inform Compliant 130m PGTs used: http://registry.kni-qe-0.lab.eng.rdu2.redhat.com:3000/kni-qe/ztp-site-configs/src/0f94253f803fc32a380cd601a4c4fd0322b704e9/policygentemplates/upgrade.yaml#L24-L45 Also, since we now added code to handle status field, we can use only one source-cr. This source-cr should have default spec.channel and spec.upstream set, and have spec.desiredUpdate and status fields commented out (commenting out so user can still see them as example if they check source-crs).
updated here: https://github.com/openshift-kni/cnf-features-deploy/pull/995 per the discussion on the PR the sourceCRs are consolidated into 1.
Set to verified by reviewing the code. end to end test will be done with 4.10 ztp container.