GitOps schema reference
Every field of every GitOps object kind with its type and default, the template functions, selector operators, limits, myrctl exit codes and the table of issue codes.
The reference pages list facts: fields, defaults, flags, codes and limits. They describe the system and do not explain or instruct. For explanations see the concepts, for instructions the how-to guides.
| Page | Content |
|---|---|
| GitOps schema | Every field of Fleet, Blueprint, RolloutPolicy, Executor and Inventory, the sample agent format, the template functions, selector operators, limits, the myrctl exit codes and JSON output, and the table of issue codes. |
| Command line reference | One page per command of myriarchd, myrctl, myriarch-updater and myriarch-sim, generated from the commands themselves. |
| REST API | The management API under /api/v1, generated from the OpenAPI 3.1 contract api/openapi.yaml: authentication, roles, error format, one page per tag with every operation and its permission, and the data types. |
| Helm chart and values | Installation, profiles, network policy, storage and the configuration values of the chart myriarch. |
| Collector chart and values | Modes, Pod Security, OpenShift, container mode and the values of the chart myriarch-collector. |
| Server configuration | Every key of the myriarchd configuration file with its type, default and effect, generated from the configuration struct and its doc comments. |
| Environment variables | The MYRIARCH_* overrides of the configuration keys, the other variables the programs read and the variables of the deployment templates. |
| Metrics | The Prometheus metrics of myriarchd and myriarch-sim with type, labels and help text, and how to reach the endpoint. |
| Design contracts | The normative descriptions of version selection, the updater protocol, container mode and the OpAMP server. |
The references are not written twice. Each one is generated from, or tested against, the source it describes, so that it cannot drift:
make docs-gen. A test and the docs gate fail
when the committed pages differ from the generated output.api/openapi.yaml with make docs-gen. A test and the docs gate fail when the
committed pages differ from the generated output. The types of the web UI are generated from the same file and checked for
drift.make docs-gen from the configuration struct and its doc comments, the
defaults and the loader. A test and the docs gate fail when the committed page differs from the generated output.make docs-gen from the environment overrides of the loader, the
documented environment reads of the programs and the deployment templates. A test and the docs gate fail on drift, and a
test fails when the code reads an environment variable that the page does not list.make docs-gen from the metric definitions in the sources. A test and the docs gate
fail on drift, and a server test compares the metrics that the running server exposes with the reference.deploy/helm/myriarch/values.schema.json, which make docs-gen
assembles from a hand-written source and the configuration struct. A test and the docs gate fail on drift, and the tests of the
chart fail when values.yaml or a template uses a value that the schema lacks.make docs-gen from
values.schema.json and values.yaml.myriarchd config print shows the effective configuration of a file with all defaults, and myriarchd config validate checks
it, see myriarchd config validate.
Every field of every GitOps object kind with its type and default, the template functions, selector operators, limits, myrctl exit codes and the table of issue codes.
Reference of every command and option of the myriarch binaries, generated from the command line definitions.
The OpenAPI 3.1 contract of the management API under /api/v1: authentication, roles, error format and every operation with its permission.
Installation, profiles, network policy, storage and the configuration values of the myriarch Helm chart.
Modes, Pod Security, OpenShift, container mode and the configuration values of the myriarch-collector Helm chart.
Every key of the myriarchd configuration file, with its type, default and effect.
The environment variables that the server, the updater and the tools read.
The Prometheus metrics of the server and the simulator, with type, labels and help text.