Skip to content

Failed to validate plan: spec.window is invalid #342

@laurenz-glueck

Description

@laurenz-glueck

Version
v0.15.0-rc1

Describe the bug
I have updated the system-update-controller in my cluster to v0.15.0-rc1 by applying the system-upgrade-controller.yaml and crd.yaml of version v0.15.0-rc1.

After that I have added this in the spec: section of my Plan (as mentioned by @brandond here #335 ):

    window:
        days:
            - "saturday"
        startTime: "00:15"
        endTime: "06:15"
        timeZone: "Europe/Berlin"

But when I apply the plan I get this warning in the system-update-controller pod logs:

"Event occurred" object="system-upgrade/k3s-agent" fieldPath="" kind="Plan" apiVersion="upgrade.cattle.io/v1" 
type="Warning" reason="ValidateFailed" message="Failed to validate plan: spec.window is invalid"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions