openshift

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StripDefaultRBACFlag        = "strip-default-rbac"
	StripDefaultCABundleFlag    = "strip-default-cabundle"
	StripDefaultPullSecretsFlag = "strip-default-pull-secrets"
	PullSecretReplacementFlag   = "pull-secret-replacement"
	PVCRenameMapFlag            = "pvc-rename-map"
	RegistryReplacementFlag     = "registry-replacement"
)
View Source
const PluginVersion = "v0.1.0"

Variables

This section is empty.

Functions

func UpdateBuildConfig

func UpdateBuildConfig(u unstructured.Unstructured, fields openshiftOptionalFields) (jsonpatch.Patch, error)

func UpdateDefaultPullSecrets

func UpdateDefaultPullSecrets(u unstructured.Unstructured, fields openshiftOptionalFields) (jsonpatch.Patch, error)

func UpdateDeploymentConfig

func UpdateDeploymentConfig(u unstructured.Unstructured, fields openshiftOptionalFields) (jsonpatch.Patch, error)

func UpdateRoleBinding

func UpdateRoleBinding(u unstructured.Unstructured) (jsonpatch.Patch, error)

func UpdateServiceAccount

func UpdateServiceAccount(u unstructured.Unstructured) (jsonpatch.Patch, error)

Types

type OpenShiftTransformPlugin

type OpenShiftTransformPlugin struct {
	Log logrus.FieldLogger
}

OpenShiftTransformPlugin implements transform.Plugin for OpenShift-specific transformations.

func (*OpenShiftTransformPlugin) Metadata

func (*OpenShiftTransformPlugin) Run

Jump to

Keyboard shortcuts

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