Documentation ¶
Index ¶
- func ApplyDeploymentOverrides(deployment *appsv1.Deployment, override *v1beta1.DeploymentOverride) error
- func ApplyPodTemplateSpecOverrides(podTemplate *corev1.PodTemplateSpec, override *v1beta1.PodTemplateSpecOverride) error
- func ApplyServiceOverrides(service *corev1.Service, override *v1beta1.ObjectMetaOverride) error
- func PatchPodSpecWithOverride(spec, override *corev1.PodSpec) (*corev1.PodSpec, error)
- type SecretCopier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyDeploymentOverrides ¶ added in v0.13.0
func ApplyDeploymentOverrides(deployment *appsv1.Deployment, override *v1beta1.DeploymentOverride) error
ApplyDeploymentOverrides applies the provided DeploymentOverride to the provided Deployment.
func ApplyPodTemplateSpecOverrides ¶ added in v0.13.0
func ApplyPodTemplateSpecOverrides(podTemplate *corev1.PodTemplateSpec, override *v1beta1.PodTemplateSpecOverride) error
ApplyPodTemplateOverrides applies the provided PodTemplateOverride to the provided PodTemplateSpec.
func ApplyServiceOverrides ¶ added in v0.16.0
func ApplyServiceOverrides(service *corev1.Service, override *v1beta1.ObjectMetaOverride) error
ApplyServiceOverrides applies the provided ServiceOverride to the provided Service.
Types ¶
type SecretCopier ¶ added in v0.11.0
func NewSecretCopier ¶ added in v0.11.0
func NewSecretCopier(c client.Client, scheme *runtime.Scheme) *SecretCopier
Click to show internal directories.
Click to hide internal directories.