greenhouse

command
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: Apache-2.0 Imports: 43 Imported by: 0

README

Running Greenhouse Operator Locally

An extensive guide is available in the localenv documentation.

This is a quick note on running the operator with Dex storage backend configuration

Using kubernetes as the Dex storage backend

When running the operator locally the kubernetes mode is automatically detected:

  1. KUBECONFIG environment variable - example - export KUBECONFIG=/path/to/config (Priority 1)
  2. kube config from the recommended dir and file - example - $HOME/.kube/config (Priority 2)
  3. Running inside a kubernetes cluster, in-cluster mode is used. (Priority 3)

Using postgres as the Dex storage backend

If you are using postgres as the dex storage backend, you need to set the following environment variables:

  • PG_DATABASE=<postgres-database> ex: postgres (defaults to postgres if not set)
  • PG_PORT=<postgres-port> ex: 5432 (defaults to 5432 if not set)
  • PG_USER=<postgres-user> ex: postgres (defaults to postgres if not set)
  • PG_HOST=<postgres-host> ex: localhost (required)
  • PG_PASSWORD=<postgres-password> ex: password (required)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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