options

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// GitCloneImage is the image used by the init container that clones the code.
	GitCloneImage = "docker.io/library/buildpack-deps:stretch-scm"

	// WordpressRuntimeImage is the base image used to run your code.
	WordpressRuntimeImage = "docker.io/bitpoke/wordpress-runtime:6.2.2-php-7.4"

	// IngressClass is the default ingress class used used for creating WordPress ingresses.
	IngressClass = ""

	// LeaderElection determines whether or not to use leader election when starting the manager.
	LeaderElection = false

	// LeaderElectionNamespace determines the namespace in which the leader election resource will be created.
	LeaderElectionNamespace = namespace()

	// LeaderElectionID determines the name of the resource that leader election will use for holding the leader lock.
	LeaderElectionID = "q7e8p7jr.wordpress-operator.bitpoke.io"

	// MetricsBindAddress is the TCP address that the controller should bind to for serving prometheus metrics.
	// It can be set to "0" to disable the metrics serving.
	MetricsBindAddress = ":8080"

	// HealthProbeBindAddress is the TCP address that the controller should bind to for serving health probes.
	HealthProbeBindAddress = ":8081"

	// WatchNamespace sets the Namespace field, which restricts the manager's cache to watch objects in the desired namespace.
	WatchNamespace = os.Getenv("WATCH_NAMESPACE")
)

Functions

func AddToFlagSet

func AddToFlagSet(flag *pflag.FlagSet)

AddToFlagSet set command line arguments.

Types

This section is empty.

Jump to

Keyboard shortcuts

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