Ecopoeisis
Deploying ApplicationsThe name is unusual — it roughly means "ecosystem-genesis" — but what it does is concrete and useful: Ecopoeisis is Mastermind's tool catalog for supporting cluster software that isn't your actual application. Things like cert-manager's OCI Let's Encrypt webhook, ExternalDNS, an internal certificate rotation tool, or a vulnerability scanner like Trivy Operator (see Vulnerability Reports, which reads Trivy Operator's results once it's installed) all fit this plugin's job: track which clusters have which tool installed, and one-click install/upgrade/uninstall whatever's missing via a Helm chart, launched through Ansible Tower.
Two pages
- Tooling Status — for each cluster, which catalog tools are detected as installed, and quick install/uninstall actions.
- Tool Catalog — the admin-managed list of tools Ecopoeisis knows about, and how to detect/install each one. Adding a new tool to the catalog never requires a code change or a deploy — it's fully configured through this page.
Adding a new tool to the catalog
A catalog entry needs two things: how to detect whether it's already installed on a given cluster, and where to get its Helm chart from.
Detection — one of four kinds:
- CRD — checks whether a specific Custom Resource Definition exists on the cluster (for example, a tool that installs its own CRDs is "installed" once that CRD type exists, whether or not a specific instance of it has been created yet).
- Helm release — checks for a Helm release with a given name in a given namespace.
- Deployment / DaemonSet — checks for a workload with a given name in a given namespace.
Chart source — either a traditional Helm chart repository URL plus chart name, or a chart hosted in a tracked OCI Container Registry (see Metadata) — never both for the same tool. Once a chart source is set, the catalog entry can also fetch and show the chart's README and default values, so you can see what a chart actually configures before installing it.
Installing a tool on a cluster
- Go to Tooling Status for the cluster you want to install onto.
- Find the tool in the list and click "Deploy." The first time, you'll provide the Helm values to use; later installs/upgrades reuse the values captured the first time (editable from the same page) rather than asking again every time.
- This launches an Ansible Tower job that runs the actual Helm install/upgrade against the cluster's admin kubeconfig.
Permissions
read (view the catalog and per-cluster status), manage (edit
the catalog itself), and deploy (actually install/upgrade/uninstall a tool
on a cluster — kept separate from manage, since editing catalog metadata and
actually changing a live cluster are very different risk levels).