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 ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildOverrides ¶ added in v1.4.0
type BuildOverrides struct {
// contains filtered or unexported fields
}
func NewBuildOverrides ¶
func NewBuildOverrides(pluginConfig map[string]configapi.AdmissionPluginConfig) (BuildOverrides, error)
NewBuildOverrides creates a new BuildOverrides that will apply the overrides specified in the plugin config
func (BuildOverrides) ApplyOverrides ¶ added in v1.4.0
func (b BuildOverrides) ApplyOverrides(pod *kapi.Pod) error
ApplyOverrides applies configured overrides to a build in a build pod
Directories ¶
Path | Synopsis |
---|---|
Package api is the internal version of the API.
|
Package api is the internal version of the API. |
Click to show internal directories.
Click to hide internal directories.