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

     1  package annotation
     2  
     3  // ConfigVersion is the annotation put on App CRs and consumed by
     4  // config-controller. This indicates what major version of the configuration
     5  // should be used for this application. Versions are configured in a
     6  // <major>.x.x format (e.g. 3.x.x), which means the latest v3.<minor>.<patch>
     7  // tag should be used to generate ConfigMap and Secret for this App CR. When
     8  // given version does not match the <major>.x.x format, config-controller
     9  // assumes given version is a branch reference (e.g. "master") and the matching
    10  // branch will be used to generate configuration instead.
    11  const ConfigVersion = "config.giantswarm.io/version"
    12  
    13  // LastDeployedReleaseVersion is the version annotation put into Cluster CR to
    14  // define which workload cluster release was last successfully deployed
    15  // during cluster creation or upgrade. Versions are defined as semver version
    16  // without the "v" prefix, e.g. 14.1.0, which means that cluster was created
    17  // with or upgraded to workload cluster release v14.1.0.
    18  const LastDeployedReleaseVersion = "release.giantswarm.io/last-deployed-version"