Environment Configuration

This page contains a list of environment variables that you'll configure during the installation process. Some of these are required and must be at hand when you install Garden Enterprise.

These values are provided via the Replicated admin console. You can edit the configuration at any time. If you modify the configuration, Garden Enterprise will be re-deployed with the new values.

The values are grouped into categories for convenience.

General Settings

General Garden Enterprise settings.

Main Garden Enterprise Hostname

The fully qualified domain name for Garden Enterprise. This should point to the load balancer / ingress controller that exposes the Garden Enterprise cluster.

TypeRequiredDefault

Text

Yes

Kubernetes Version

The Kubernetes version of the cluster where Garden Enterprise is deployed.

TypeRequiredDefaultOptions

Select One

No

<1.22

<1.22 >=1.22

TLS Secret

Optionally specify the name of the Kubernetes Secret to use as your TLS certificate. Only required if you're doing SSL termination at the ingress controller level. Note that the secret must be in the same namespace as the Garden Enterprise services (defaults to 'garden-enterprise') and that you must manage it yourself. If you use this field, we recommend creating the namespace and the secret prior to installing Garden Enterprise.

TypeRequiredDefault

Text

No

Log Level

The log level for the Garden Enterprise system loggers.

TypeRequiredDefaultOptions

Select One

No

warn

Error Warn Info HTTP Verbose Debug Silly

API Replica Count

Number of replicas for the API service.

TypeRequiredDefault

Text

No

1

Automatically Install Ingress Controller

Check this box if you want Garden Enterprise to automatically install an Nginx ingress controller for the cluster. The ingress controller is installed either as a DaemonSet or a Deployment with a Load Balancer service in the main Garden Enterprise namespace. Leave this unchecked if you want to manage your own ingress controller(s).

TypeRequiredDefault

Boolean

No

0

Install Ingress Controller with a Load Balancer service or as a DaemonSet with HostPorts.

This field is only required if Automatically Install Ingress Controller is 1.

If you want to manage your own load balancer on your cloud provider choose the daemonset option. This option does not create a load balancer, but opens port 80 on each node. If you want a load balancer created and managed for you by the nginx ingress controller, choose the load balancer service option.

TypeRequiredDefaultOptions

Select One

No

install_ingress_controller_daemonset

Install Ingress Controller with a Load Balancer Service Install Ingress Controller as a DaemonSet listening on HostPorts.

IngressClass Pod Annotation

This field is only required if Automatically Install Ingress Controller is 1.

The value for the 'kubernetes.io/ingress.class' Pod annotation. You only need to specify a different value than the default if you have multiple instances of the nginx ingress controller and the default value conflicts with existing annotations.

TypeRequiredDefault

Text

No

nginx

IngressClass Pod Annotation

This field is only required if Automatically Install Ingress Controller is 0.

The value for the 'kubernetes.io/ingress.class' Pod annotation.

TypeRequiredDefault

Text

No

Additional Ingress Annotations

Here you can add optional additional Ingress annotations for the Ingress resource. Add one annotation per line. For example: 'appgw.ingress.kubernetes.io/appgw-ssl-certificate: mysslcert'.

TypeRequiredDefault

No

Node Selectors

Optionally specify node selectors for the Garden Enterprise services. The value provided must be a string of key-value pairs where the pairs are separated by a ';' and the key and value by a '='. For example: 'app=garden-enterprise;disktype=ssd'.

TypeRequiredDefault

No

Container Runtime

Please select the container runtime in use in your cluster. If your Kubernetes cluster is managed by GCP, AWS, or Azure, and your Kubernete version is less than 1.19, this is typically docker (unless you've configured things otherwise). For versions 1.19 or greater, this will be containerd or another CRI compatible container runtime.

TypeRequiredDefaultOptions

Select One

No

docker

Containerd Docker

Workflow Runner Config

Configuration for the workflows runner.

Workflow Namespace

The namespace in which workflow pods run on VCS events. Must be different from the namespace the other Garden Enterprise services run in.

TypeRequiredDefault

Text

No

garden-workflows

Workflow Runner Log Level

The CLI log level used when running triggered workflows.

TypeRequiredDefaultOptions

Select One

No

debug

Error Warn Info Verbose Debug Silly

Vault Config

Configuration for the Hashicop Vault secrets backend.

KMS Provider

The name of your KMS provider. This and the values below are used for auto-unsealing Vault during the installation process.

TypeRequiredDefaultOptions

Select One

No

gcp

Azure AWS GCP

Azure Application Client Id

This field is only required if KMS Provider is azure.

TypeRequiredDefault

Text

Yes

Azure Application Client Secret

This field is only required if KMS Provider is azure.

TypeRequiredDefault

Password

Yes

Azure Account Tenant Id

This field is only required if KMS Provider is azure.

TypeRequiredDefault

Text

Yes

Azure Vault Name

This field is only required if KMS Provider is azure.

TypeRequiredDefault

Text

Yes

Azure Key Name

This field is only required if KMS Provider is azure.

TypeRequiredDefault

Text

Yes

AWS Region

This field is only required if KMS Provider is aws.

The region where the KMS key was created.

TypeRequiredDefault

Text

Yes

AWS Access Key ID

This field is only required if KMS Provider is aws.

The Access Key ID of the principal attached to the KMS Key.

TypeRequiredDefault

Text

Yes

AWS Secret Access Key

This field is only required if KMS Provider is aws.

The Secret Access Key of the principal attached to the KMS Key.

TypeRequiredDefault

Password

Yes

AWS KMS ID

This field is only required if KMS Provider is aws.

The ID of KMS key.

TypeRequiredDefault

Text

Yes

GCP Region

This field is only required if KMS Provider is gcp.

TypeRequiredDefault

Text

Yes

GCP Project

This field is only required if KMS Provider is gcp.

TypeRequiredDefault

Text

Yes

GCP Key Ring

This field is only required if KMS Provider is gcp.

TypeRequiredDefault

Text

Yes

GCP Crypto Key

This field is only required if KMS Provider is gcp.

TypeRequiredDefault

Text

Yes

Vault AppRole RoleID

The ID of the Vault AppRole configured for the Vault server/cluster. If you're using the Vault instance that's bundled with Garden Enterprise, you will need to initialize Vault to retreive this.

TypeRequiredDefault

Password

No

Vault App Role Secret ID

The ID of the secret issued against the Vault AppRole. If you're using the Vault instance that's bundled with Garden Enterprise, you will need to initialize Vault to retreive this value.

TypeRequiredDefault

Password

No

SSO via SAML

Configuration for SSO using the SAML protocol.

Enable SSO

Check this box if you want to enable SSO.

TypeRequiredDefault

Boolean

No

0

SSO certificate.

This field is only required if Enable SSO is 1.

Your SSO certificate. Metadata must be stripped out and it must be in one line.

TypeRequiredDefault

Password

Yes

SSO Entry Point.

This field is only required if Enable SSO is 1.

The full URL to your identity provider's authentication endpoint.

TypeRequiredDefault

Text

Yes

VCS Config

Configuration for the VCS integration

VCS Provider

Your VCS provider. Used for authentication, importing projects, and optionally for running workflows on VCS events

TypeRequiredDefaultOptions

Select One

No

github

GitHub Gitlab

GitHub Distribution

This field is only required if VCS Provider is github.

The GitHub Distribution currently in use

TypeRequiredDefaultOptions

Select One

No

github-com

GitHub.com GitHub Enterprise Server GitHub Enterprise Cloud

GitHub Instance Hostname

This field is only required if VCS Provider is github.

The GitHub instance hostname: e.g. "github.your-domain.com". Defaults to "github.com".

TypeRequiredDefault

Text

Yes

github.com

GitHub App ID

This field is only required if VCS Provider is github.

The GitHub App's App ID. You'll find this on the GitHub App's settings page.

TypeRequiredDefault

Text

Yes

GitHub App Client ID

This field is only required if VCS Provider is github.

The GitHub App's client ID. You'll find this on the GitHub App's settings page.

TypeRequiredDefault

Text

Yes

GitHub App Client Secret

This field is only required if VCS Provider is github.

The GitHub App's client secret. You'll find this on the GitHub App's settings page.

TypeRequiredDefault

Text

No

GitHub App Webhook Secret

This field is only required if VCS Provider is github.

The webhook secret for the GitHub App. You can set this on the GitHub App's settings page.

TypeRequiredDefault

Password

Yes

Turn debugging on for GitHub Api client

This field is only required if VCS Provider is github.

Turn on debug logs for the GitHub Api client.

TypeRequiredDefault

Boolean

No

0

GitHub Private Key

This field is only required if VCS Provider is github.

The GitHub App's private key. You generate a private from the GitHub App's settings page.

TypeRequiredDefault

File

Yes

Gitlab Instance Hostname

This field is only required if VCS Provider is gitlab.

The hostname of your GitLab instance. If you're using hosted GitLab, this is simply gitlab.com.

TypeRequiredDefault

Text

Yes

Gitlab App ID

This field is only required if VCS Provider is gitlab.

The Application ID for the GitLab OAuth App that's used for authenticating users with Garden Enterprise.

TypeRequiredDefault

Text

Yes

Gitlab App Secret

This field is only required if VCS Provider is gitlab.

The Application Secret for the GitLab OAuth App that's used for authenticating users with Garden Enterprise.

TypeRequiredDefault

Text

Yes

Gitlab Access Token

This field is only required if VCS Provider is gitlab.

The access token for the GitLab user account that is used to interact with the GitLab API.

TypeRequiredDefault

Text

Yes

Gitlab Webhooks Secret

This field is only required if VCS Provider is gitlab.

A user generated secret value that is used when creating and validating webhooks from GitLab.

TypeRequiredDefault

Password

Yes

Database Config

Configuration for the PostgreSQL database.

Database Hostname

The hostname of the PostgreSQL database. This and the other database values below are used to connect to the PostgreSQL instance from the API service.

TypeRequiredDefault

Text

Yes

Database Port

The port the PostgreSQL database listens on.

TypeRequiredDefault

Text

Yes

5432

Database user name

The PostgreSQL user name.

TypeRequiredDefault

Text

Yes

Database name

The PostgreSQL database name.

TypeRequiredDefault

Text

Yes

Database Password

The PostgreSQL password.

TypeRequiredDefault

Password

Yes

SSL Mode

Select "Require" if your database connection is over SSL, otherwise "Disable".

TypeRequiredDefaultOptions

Select One

No

disable

Disable Require

Seed data

Required database seed data

Username

The name of the first admin user that gets created on initialization

TypeRequiredDefault

Text

Yes

GitHub / GitLab username

The GitHub/GitLab username of the first admin user that gets created on initialization, depending on which VCS provider you're using. For GitHub, this is generally a username, not an email address, and is displayed when you click the profile image in the top right corner of the GitHb web UI. You can also find this one the admin users's GitHub profile page. For GitLab, this is the email address you use to log into GitLab.

TypeRequiredDefault

Text

Yes

Organization name

The name of the organization. Must be a valid RFC1035/RFC1123 (DNS) label (may contain lowercase letters, numbers and dashes, must start with a letter, and cannot end with a dash) and must not be longer than 63 characters.

TypeRequiredDefault

Text

Yes

Grafana Config

Configuration for the Grafana dashboard.

Install Grafana

Check this box if you want Garden Enterprise to automatically install a Grafana metrics dashboard. The Grafana dashboard will be installed in the main Garden Enterprise namespace. Note that Grafana requires a datasource such as Prometheus. You can choose to let Garden Entprise install Prometheus below or alternatively install your own Grafana datasource.

TypeRequiredDefault

Boolean

No

0

Enable Ingress for Grafana

This field is only required if Install Grafana is 1.

Check this box if you want to enable access to the Grafana metrics dashboard from outside the cluster. An ingress will be created with the public hostname you enter below.

TypeRequiredDefault

Boolean

No

0

Public Hostname for Grafana

This field is only required if Enable Ingress for Grafana is 1.

Public hostname for the Grafana metrics dashboard. If you don't want to publicly expose Grafana, uncheck the "Enable Ingress for Grafana" checkbox above.

TypeRequiredDefault

Text

No

Grafana Admin Password

This field is only required if Install Grafana is 1.

The admin password to the Grafana dashboard. You'll need this when first logging in.

TypeRequiredDefault

Password

No

Kibana Config

Configuration for the Kibana logs dashboard.

Install Kibana

Check this box if you want Garden Enterprise to automatically install a Kibana logs dashboard. The Kibana dashboard will be installed in the main Garden Enterprise namespace.

TypeRequiredDefault

Boolean

No

0

Enable Ingress for Kibana

This field is only required if Install Kibana is 1.

Check this box if you want to enable access to the Kibana logs dashboard from outside the cluster. An ingress will be created with the public hostname you enter below.

TypeRequiredDefault

Boolean

No

0

Public Hostname for Kibana

This field is only required if Enable Ingress for Kibana is 1.

Public URL for the Kibana logs dashboard. If you don't want to publicly expose Kibana, uncheck the "Enable Ingress for Kibana" checkbox above. | Type | Required | Default | | -------- | -------- | ----------- | | Text | No |

Prometheus Config

Configuration for Prometheus Server.

Install Prometheus

Check this box if you want Garden Enterprise to automatically install a Prometheus metrics server. The Prometheus server will be installed in the main Garden Enterprise namespace.

TypeRequiredDefault

Boolean

No

0

Fluentd Config

Configuration for Fluentd.

Install Fluentd

Check this box if you want Garden Enterprise to automatically install the Fluentd logs collector. Fluentd will be installed in the main Garden Enterprise namespace. Note that Fluentd expects to find an Elasticsearch host at 'elasticsearch-master.garden-enterprise'

TypeRequiredDefault

Boolean

No

0

Elasticsearch Config

Configuration for Elasticsearch.

Install Elasticsearch

Check this box if you want Garden Enterprise to automatically install an Elasticsearch search engine for logs. Elasticsearch will be installed in the main Garden Enterprise namespace.

TypeRequiredDefault

Boolean

No

0

JWT Certificates

Keys used to sign and verify JSON Web Tokens.

JWT Private Key

The private key used to sign JSON Web Tokens.

TypeRequiredDefault

File

Yes

JWT Public Key

The public key used to verify JSON Web Tokens.

TypeRequiredDefault

File

Yes

CRON Job Settings

Settings for maintenance and automatic environment cleanup CRON jobs.

In-Cluster Auth Token

A random, user-generated token that's used for authenticating maintenance and cleanup CronJobs against the API service.

TypeRequiredDefault

Password

Yes

Experimental Features

Use the checkboxes below to enable certain experimental features.

Last updated