Environment Configuration
Last updated
Last updated
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 Garden Enterprise settings.
The fully qualified domain name for Garden Enterprise. This should point to the load balancer / ingress controller that exposes the Garden Enterprise cluster.
Type | Required | Default |
---|---|---|
The Kubernetes version of the cluster where Garden Enterprise is deployed.
Type | Required | Default | Options |
---|---|---|---|
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.
Type | Required | Default |
---|---|---|
The log level for the Garden Enterprise system loggers.
Number of replicas for the API service.
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).
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.
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.
This field is only required if Automatically Install Ingress Controller is 0
.
The value for the 'kubernetes.io/ingress.class' Pod annotation.
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'.
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'.
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.
Configuration for the workflows runner.
The namespace in which workflow pods run on VCS events. Must be different from the namespace the other Garden Enterprise services run in.
The CLI log level used when running triggered workflows.
Configuration for the Hashicorp Vault secrets backend.
The name of your KMS provider. This and the values below are used for auto-unsealing Vault during the installation process.
This field is only required if KMS Provider is azure
.
This field is only required if KMS Provider is azure
.
This field is only required if KMS Provider is azure
.
This field is only required if KMS Provider is azure
.
This field is only required if KMS Provider is azure
.
This field is only required if KMS Provider is aws
.
The region where the KMS key was created.
This field is only required if KMS Provider is aws
.
The Access Key ID of the principal attached to the KMS Key.
This field is only required if KMS Provider is aws
.
The Secret Access Key of the principal attached to the KMS Key.
This field is only required if KMS Provider is aws
.
The ID of KMS key.
This field is only required if KMS Provider is gcp
.
This field is only required if KMS Provider is gcp
.
This field is only required if KMS Provider is gcp
.
This field is only required if KMS Provider is gcp
.
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 retrieve this.
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 retrieve this value.
Configuration for SSO using the SAML protocol.
Check this box if you want to enable SSO.
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.
This field is only required if Enable SSO is 1
.
The full URL to your identity provider's authentication endpoint.
Configuration for the VCS integration
Your VCS provider. Used for authentication, importing projects, and optionally for running workflows on VCS events
This field is only required if VCS Provider is github
.
The GitHub Distribution currently in use
This field is only required if VCS Provider is github
.
The GitHub instance hostname: e.g. "github.your-domain.com". Defaults to "github.com".
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.
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.
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.
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.
This field is only required if VCS Provider is github
.
Turn on debug logs for the GitHub Api client.
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.
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.
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.
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.
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.
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.
Configuration for the PostgreSQL database.
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.
The port the PostgreSQL database listens on.
The PostgreSQL user name.
The PostgreSQL database name.
The PostgreSQL password.
Select "Require" if your database connection is over SSL, otherwise "Disable".
Required database seed data
The name of the first admin user that gets created on initialization
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.
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.
Configuration for the Grafana dashboard.
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 Enterprise install Prometheus below or alternatively install your own Grafana datasource.
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.
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.
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.
Configuration for the Kibana logs dashboard.
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.
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.
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 |
Configuration for Prometheus Server.
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.
Configuration for 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'
Configuration for 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.
Keys used to sign and verify JSON Web Tokens.
The private key used to sign JSON Web Tokens.
The public key used to verify JSON Web Tokens.
Settings for maintenance and automatic environment cleanup CRON jobs.
A random, user-generated token that's used for authenticating maintenance and cleanup CronJobs against the API service.
Use the checkboxes below to enable certain experimental features.
Type | Required | Default | Options |
---|---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default | Options |
---|---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default | Options |
---|---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default | Options |
---|---|---|---|
Type | Required | Default | Options |
---|---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default | Options |
---|---|---|---|
Type | Required | Default | Options |
---|---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default | Options |
---|---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Type | Required | Default |
---|---|---|
Text
Yes
Select One
No
<1.22
<1.22
>=1.22
Text
No
Select One
No
warn
Error
Warn
Info
HTTP
Verbose
Debug
Silly
Text
No
1
Boolean
No
0
Select One
No
install_ingress_controller_daemonset
Install Ingress Controller with a Load Balancer Service
Install Ingress Controller as a DaemonSet listening on HostPorts.
Text
No
nginx
Text
No
No
No
Select One
No
docker
Containerd
Docker
Text
No
garden-workflows
Select One
No
debug
Error
Warn
Info
Verbose
Debug
Silly
Select One
No
gcp
Azure
AWS
GCP
Text
Yes
Password
Yes
Text
Yes
Text
Yes
Text
Yes
Text
Yes
Text
Yes
Password
Yes
Text
Yes
Text
Yes
Text
Yes
Text
Yes
Text
Yes
Password
No
Password
No
Boolean
No
0
Password
Yes
Text
Yes
Select One
No
github
GitHub
Gitlab
Select One
No
github-com
GitHub.com
GitHub Enterprise Server
GitHub Enterprise Cloud
Text
Yes
github.com
Text
Yes
Text
Yes
Text
No
Password
Yes
Boolean
No
0
File
Yes
Text
Yes
Text
Yes
Text
Yes
Text
Yes
Password
Yes
Text
Yes
Text
Yes
5432
Text
Yes
Text
Yes
Password
Yes
Select One
No
disable
Disable
Require
Text
Yes
Text
Yes
Text
Yes
Boolean
No
0
Boolean
No
0
Text
No
Password
No
Boolean
No
0
Boolean
No
0
Boolean
No
0
Boolean
No
0
Boolean
No
0
File
Yes
File
Yes
Password
Yes