Documentation ¶
Overview ¶
Package overrides contains the BuildOverrides admission control plugin.
The plugin allows overriding settings on builds via the build pod.
Configuration ¶
Configuration is done via a BuildOverridesConfig object:
apiVersion: v1 kind: BuildOverridesConfig forcePull: true
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SchemeGroupVersion = unversioned.GroupVersion{Group: "", Version: ""}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Kind ¶
func Kind(kind string) unversioned.GroupKind
Kind takes an unqualified kind and returns back a Group qualified GroupKind
func NewBuildOverrides ¶
func NewBuildOverrides(overridesConfig *BuildOverridesConfig) admission.Interface
NewBuildOverrides returns an admission control for builds that overrides settings on builds
func Resource ¶
func Resource(resource string) unversioned.GroupResource
Resource takes an unqualified resource and returns back a Group qualified GroupResource
Types ¶
type BuildOverridesConfig ¶
type BuildOverridesConfig struct { unversioned.TypeMeta // ForcePull indicates whether the build strategy should always be set to ForcePull=true ForcePull bool }
BuildOverridesConfig controls override settings for builds
func (*BuildOverridesConfig) IsAnAPIObject ¶
func (*BuildOverridesConfig) IsAnAPIObject()
Click to show internal directories.
Click to hide internal directories.