Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ConfigHashAnnotation is the annotation key in PodTemplate for config hash ConfigHashAnnotation = "rekonfig.gitops.in/konfig-hash" // FinalizerString is the finalizer added to deployments to allow rekonfig to // perform advanced deletion logic FinalizerString = "rekonfig.gitops.in/finalizer" // RequiredAnnotation is the annotation key in the Deployment that // we check for before processing the deployment RequiredAnnotation = "rekonfig.gitops.in/update-on-konfig-change" )
Variables ¶
This section is empty.
Functions ¶
func GetNameFromAnnoteKey ¶
GetNameFromAnnoteKey extracts name from Config annotation key
Types ¶
type Handler ¶
Handler performs main controller business logic
func NewHandler ¶
func NewHandler(c client.Client, r record.EventRecorder) *Handler
NewHandler creates a new Handler instance
func (*Handler) HandleDaemonSet ¶
HandleDaemonSet is called by the DaemonSet controller to reconcile DaemonSets
func (*Handler) HandleDeployment ¶
HandleDeployment is called by the deployment controller to reconcile deployments
func (*Handler) HandleStatefulSet ¶
HandleStatefulSet is called by the StatefulSet controller to reconcile StatefulSets
Click to show internal directories.
Click to hide internal directories.