31 lines
1.4 KiB
Plaintext
31 lines
1.4 KiB
Plaintext
# EXAMPLE PROFILE. rig needs none of these: with no profile it runs on its
|
|
# built-in defaults (lib/config.sh). To use this one, copy it to client.env in this
|
|
# directory and name it — PROFILE=client in ctrl/.env, or on the command line. It
|
|
# then overlays the defaults; anything it does not set, they still supply.
|
|
#
|
|
# client — images through a pull-through cache of the corporate registry, with
|
|
# TLS and metrics addons. More nodes or port mappings: edit k8s/kind-config.yaml.tpl.
|
|
|
|
PROFILE_NAME=client
|
|
K8S_VERSION=v1_36
|
|
ADDONS="metallb cert-manager metrics-server"
|
|
REGISTRY_MODE=mirror
|
|
INGRESS_MODE=hostport
|
|
DNS_MODE=hosts
|
|
|
|
# Ports derive from the directory name by default (see ctrl/ports.sh), so
|
|
# several environments run side by side.
|
|
#
|
|
# Opt in to the real ports below only when this is the ONLY environment and
|
|
# nothing else owns :80. They fail to bind otherwise, and docker reports it as an
|
|
# opaque "failed to bind host port 0.0.0.0:80/tcp: address already in use"
|
|
# halfway through cluster creation. `make check` checks before you spend the
|
|
# time. Uncommenting also means only one environment can exist at a time.
|
|
# HTTP_PORT=80
|
|
# HTTPS_PORT=443
|
|
|
|
# Set these in ctrl/.env (gitignored), not here:
|
|
# REGISTRY_REMOTE_URL=https://artifactory.corp.example/artifactory/api/docker/docker-virtual
|
|
# REGISTRY_USER / REGISTRY_PASSWORD
|
|
# REGISTRY_CA_FILE=/path/to/corp-root-ca.crt
|