cincinnati

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2020 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// NameContainerGraphBuilder is the Name property of the graph builder container
	NameContainerGraphBuilder string = "graph-builder"
	// NameContainerPolicyEngine is the Name property of the policy engine container
	NameContainerPolicyEngine string = "policy-engine"
	// NameInitContainerGraphData is the Name property of the graph data container
	NameInitContainerGraphData string = "graph-data"

	// NameTrustedCAVolume is the name of the Volume used in Cincinnati's deployment containing the CA Cert
	NameTrustedCAVolume = "trusted-ca"
	// NameCertConfigMapKey is the ConfigMap key name where the operator expects the external registry CA Cert
	NameCertConfigMapKey = "cincinnati-registry"
)
View Source
const (
	// GraphBuilderConfigHashAnnotation is the key for an annotation storing a
	// hash of the graph builder config on the operand Pod. Storing the
	// annotation ensures that the Pod will be replaced whenever the content of
	// the ConfigMap changes.
	GraphBuilderConfigHashAnnotation string = "cincinnati.openshift.io/graph-builder-config-hash"

	// EnvConfigHashAnnotation is the key for an annotation storing a hash of
	// the env config on the operand Pod. Storing the annotation ensures that
	// the Pod will be replaced whenever the content of the ConfigMap changes.
	EnvConfigHashAnnotation string = "cincinnati.openshift.io/env-config-hash"
)

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager, options Options) error

Add creates a new Cincinnati Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type Options

type Options struct {
	// OperandImage is the full reference to a container image for the operand.
	OperandImage string
}

Options holds settings for the reconciler

type ReconcileCincinnati

type ReconcileCincinnati struct {
	// contains filtered or unexported fields
}

ReconcileCincinnati reconciles a Cincinnati object

func (*ReconcileCincinnati) Reconcile

func (r *ReconcileCincinnati) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a Cincinnati object and makes changes based on the state read and what is in the Cincinnati.Spec

Jump to

Keyboard shortcuts

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