github.com/giantswarm/apiextensions/v6@v6.6.0/pkg/annotation/cluster.go (about)

     1  package annotation
     2  
     3  // ClusterDescription is the cluster annotation used for storing
     4  // a customer's cluster description.
     5  const ClusterDescription = "cluster.giantswarm.io/description"
     6  
     7  // support:
     8  //   - crd: clusters.cluster.x-k8s.io
     9  //     apiversion: v1alpha3
    10  //
    11  // documentation:
    12  //
    13  //	This annotation is used to define the desired target release for a scheduled upgrade of the cluster.
    14  //	The upgrade to the specified version will be applied if the "update-schedule-target-time" annotation has been set
    15  //	and the time defined there has been reached. The value has to be only the desired release version, e.g "15.2.1".
    16  const UpdateScheduleTargetRelease = "alpha.giantswarm.io/update-schedule-target-release"
    17  
    18  // support:
    19  //   - crd: clusters.cluster.x-k8s.io
    20  //     apiversion: v1alpha3
    21  //
    22  // documentation:
    23  //
    24  //	This annotation is used to define the desired target time for a scheduled upgrade of the cluster.
    25  //	The upgrade will be applied at the specified time if the "update-schedule-target-release" annotation has been set
    26  //	to the target release version. The value has to be in RFC822 Format and UTC time zone. e.g. "30 Jan 21 15:04 UTC"
    27  const UpdateScheduleTargetTime = "alpha.giantswarm.io/update-schedule-target-time"