You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Persist the workload configuration rendered for a successful MiniService Helm update so subsequent status reconciles use the configuration associated with the newly applied workload revision.
Current behavior
The initial-install path decodes the nvcf-workload-config control ConfigMap and calls saveWorkloadConfig with the decoded value.
The Helm-update path does not propagate that value:
prepareUpdateWorkload discards the third return value, and doUpdateWorkload never persists an updated workload config. As a result, a successful Helm revision can apply new workload objects while MiniService.spec.workloadConfig continues to describe the prior revision.
Impact
Enabling StatusByWorkerReadiness in a later Helm revision does not enable worker-readiness status behavior.
Disabling the flag or removing nvcf-workload-config can leave the prior behavior active indefinitely.
The applied workload and the configuration used by MiniService status reconciliation can diverge.
Required behavior
Carry the decoded WorkloadConfig through the workload-update preparation path.
After the workload revision is applied successfully, persist the corresponding config through saveWorkloadConfig before completing the update.
Treat an absent control ConfigMap as an absent workload config, clearing the previously controller-owned field.
If rendering, validation, or workload application fails, retain the workload config for the previously active revision so status behavior remains aligned with the workload that is still serving.
Task
Persist the workload configuration rendered for a successful MiniService Helm update so subsequent status reconciles use the configuration associated with the newly applied workload revision.
Current behavior
The initial-install path decodes the
nvcf-workload-configcontrol ConfigMap and callssaveWorkloadConfigwith the decoded value.The Helm-update path does not propagate that value:
prepareUpdateWorkloaddiscards the third return value, anddoUpdateWorkloadnever persists an updated workload config. As a result, a successful Helm revision can apply new workload objects whileMiniService.spec.workloadConfigcontinues to describe the prior revision.Impact
StatusByWorkerReadinessin a later Helm revision does not enable worker-readiness status behavior.nvcf-workload-configcan leave the prior behavior active indefinitely.Required behavior
WorkloadConfigthrough the workload-update preparation path.saveWorkloadConfigbefore completing the update.miniservice-controllerowns onlyspec.workloadConfig, and unrelated MiniService spec fields remain untouched.Acceptance criteria
StatusByWorkerReadiness: truepersists the enabled flag.false.nvcf-workload-configclearsspec.workloadConfig.Relationships
spec.workloadConfig.