versions

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Latest is the version of the ClusterRole that will be used for unversioned KIC
	Latest = "2.5.0"
)

Variables

View Source
var (
	// RoleVersionsForKICVersions is a map that explicitly sets which ClusterRole version to use upon the KIC
	// version. It is used by /hack/generators/kic-role-generator to generate the roles to be used by KIC.
	// The file /internal/utils/kubernetes/resources/zz_generated_clusterrole_helpers.go is generated out of this map.
	// This data follows the semver constraint syntax (see https://github.com/Masterminds/semver#basic-comparisons)
	// to set the range of KIC versions to be associated with a specific role version.
	//
	// e.g., for KIC with a version lower than "2.4", but greater or equal to "2.3", version "2.3" of the role is used.
	//
	// Whenever the KIC ClusterRole is updated and released, that change should be reflected in this map,
	// and the generator should be run again to produce the new ClusterRole files.
	//
	// e.g., when in the future new permissions will be granted to KIC, and that update will be included in
	// the release 5.0, a new entry '">=5.0": "5.0"' should be added to this map, and the previous most
	// updated entry should be limited to "<5.0".
	RoleVersionsForKICVersions = map[string]string{
		">=2.4":      "2.5",
		">=2.3,<2.4": "2.3",
		">=2.2,<2.3": "2.2",
		">=2.1,<2.2": "2.1",
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL