controllers

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GLOBAL_CONFIG_MAP_NAME        = "sosreport-global-configuration"       // name of the global ConfigMap with overrides
	UPLOAD_CONFIG_MAP_NAME        = "sosreport-upload-configuration"       // name of the upload ConfigMap
	UPLOAD_SECRET_NAME            = "sosreport-upload-secret"              // name of the Secret for upload authentication
	DEFAULT_IMAGE_NAME            = "quay.io/akaris/sosreport-centos:main" // to point to final version of sosreport IMAGE
	DEFAULT_SOSREPORT_COMMAND     = "bash /scripts/entrypoint.sh"          // to point to the entrypoint
	DEFAULT_SOSREPORT_CONCURRENCY = 1
	DEFAULT_LOGLEVEL              = 1
	DEFAULT_PVC_SIZE              = "10Gi"
	DEFAULT_IMAGE_PULL_POLICY     = "" // Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SosreportReconciler

type SosreportReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

SosreportReconciler reconciles a Sosreport object

func (*SosreportReconciler) Reconcile

func (r *SosreportReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*SosreportReconciler) SetupWithManager

func (r *SosreportReconciler) SetupWithManager(mgr ctrl.Manager) error

Trigger reconcile loop whenever the CRD is updated or associated Record events for CRD "Sosreport"

Jump to

Keyboard shortcuts

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