patch

command module
v0.0.0-...-fffe389 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2022 License: Apache-2.0 Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Patch Operator

Kubernetes patch operator, fork from redhat-cop/patch-operator.

Install

cert-manager
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.9.1/cert-manager.yaml
patch-operator
make deploy IMG=registry.cn-hangzhou.aliyuncs.com/hb-chen/patch-operator:latest@sha256:3ff7d9b62b6f8a9a9ef12ce49ebbb2050236bd71d214f7efc8d33ae6eb9d44c0
samples
# apply inject webhook
kubectl apply -n patch-system -f config/samples/01_webhook_inject.yaml

kubectl apply -n patch-system -k config/samples
source-object-name-0=patch-controller-manager
source-object-name-1=patch-system
source-object-name-2=patch-controller-manager

Kubebuilder

kubebuilder init --domain hbchen.com --repo github.com/hb-chen/patch --plugins=go/v4-alpha
kubebuilder create api --group patch --version v1alpha1 --kind Patch
kubebuilder create webhook --group patch --version v1alpha1 --kind Patch  --conversion --defaulting --programmatic-validation
make manifests

make install 

make run
make docker-build docker-push IMG=registry.cn-hangzhou.aliyuncs.com/hb-chen/patch-operator:latest

make deploy IMG=registry.cn-hangzhou.aliyuncs.com/hb-chen/patch-operator:latest

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the patch v1alpha1 API group +kubebuilder:object:generate=true +groupName=patch.hbchen.com
Package v1alpha1 contains API Schema definitions for the patch v1alpha1 API group +kubebuilder:object:generate=true +groupName=patch.hbchen.com

Jump to

Keyboard shortcuts

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