remove profile dependency
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
# 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 — the regulated-estate shape. Multi-node so taints, affinity and
|
||||
# topology are real; apiserver audit on; images through a pull-through cache of
|
||||
# the corporate registry.
|
||||
@@ -1,10 +1,10 @@
|
||||
# data — a cluster with the cabinets an environment asks for.
|
||||
# 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 data.env in this
|
||||
# directory and name it — PROFILE=data in ctrl/.env, or on the command line. It
|
||||
# then overlays the defaults; anything it does not set, they still supply.
|
||||
#
|
||||
# A cabinet is a public service dropped in as-is — the upstream image,
|
||||
# unmodified, reachable at a known address. It is declared once and installs on
|
||||
# either target: a `service.yml` composes it for a laptop, and the addons below
|
||||
# install the same one here. The names match deliberately — each cabinet.json
|
||||
# carries a `rig_addon` field pointing at ctrl/addons/<name>.sh.
|
||||
# data — databases and a scheduler for an environment that needs them: postgres,
|
||||
# redis and airflow, each an upstream image run unmodified.
|
||||
#
|
||||
# Everything lands in the `data` namespace (DATA_NAMESPACE to move it), so
|
||||
# `make cluster reset` on the app namespace leaves the databases alone.
|
||||
@@ -18,7 +18,7 @@ KIND_CONFIG=kind-config.yaml.tpl
|
||||
# Order matters: addons.sh installs in the order listed, and airflow refuses to
|
||||
# start without a metadata database, so postgres comes first.
|
||||
ADDONS="metallb postgres redis airflow"
|
||||
# local, not none — see minimal.env: `none` has no outward-push guard.
|
||||
# local, not none — see the defaults in lib/config.sh: `none` has no outward-push guard.
|
||||
REGISTRY_MODE=local
|
||||
INGRESS_MODE=hostport
|
||||
DNS_MODE=hosts
|
||||
@@ -1,21 +0,0 @@
|
||||
# minimal — the default. One node, no addons, no registry.
|
||||
# Assumes nothing and boots fast. Start here; move to client.env when you need
|
||||
# the regulated behaviours.
|
||||
#
|
||||
|
||||
PROFILE_NAME=minimal
|
||||
K8S_VERSION=v1_36
|
||||
KIND_CONFIG=kind-config.yaml.tpl
|
||||
ADDONS=""
|
||||
# local, not none: `none` leaves the cluster with no registry to push to, and an
|
||||
# unqualified image name then means docker.io/library/<name>. In a regulated
|
||||
# estate that is a disclosure risk, not a convenience trade — so the default
|
||||
# carries the guard even though it costs one container.
|
||||
REGISTRY_MODE=local
|
||||
INGRESS_MODE=hostport
|
||||
DNS_MODE=hosts
|
||||
|
||||
# Ports are deliberately NOT set here. They derive from the directory name so
|
||||
# several environments coexist — see ctrl/ports.sh, and `make ports` to see the
|
||||
# block this one gets. A fixed default here would collide with whatever else the
|
||||
# machine happens to be running; 8080 in particular is rarely free.
|
||||
@@ -1,3 +1,8 @@
|
||||
# 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 offline.env in this
|
||||
# directory and name it — PROFILE=offline in ctrl/.env, or on the command line. It
|
||||
# then overlays the defaults; anything it does not set, they still supply.
|
||||
#
|
||||
# offline — air-gapped. Everything comes from a local registry that was loaded
|
||||
# ahead of time; nothing reaches the internet. Pair with the deps-full image
|
||||
# (DEPS_SOURCE=baked) so the toolchain install is offline too.
|
||||
Reference in New Issue
Block a user