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

type BuildOverrides struct {
	Config *openshiftcontrolplanev1.BuildOverridesConfig
}

func (BuildOverrides) ApplyOverrides

func (b BuildOverrides) ApplyOverrides(pod *corev1.Pod) error

ApplyOverrides applies configured overrides to a build in a build pod