Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 1.85 KB

ARCHITECTURE.md

File metadata and controls

15 lines (10 loc) · 1.85 KB

Architecture

This file is a navigation index. For detailed documentation, follow the links below.

Documentation Index

  • Operator Architecture — The kiali-operator is an Ansible Operator that watches Kiali and OSSMConsole CRs, dispatches to versioned Ansible roles, and handles the full install/upgrade/remove lifecycle for Kiali and the OpenShift Service Mesh Console plugin.
  • CRD & API Surface — Two CRDs (kialis.kiali.io and ossmconsoles.kiali.io) define the operator's API surface; their golden copies live in crd-docs/crd/ and are propagated to manifests via make sync-crds, with HTML docs generated by a Docker-based crd-docs-generator.
  • OLM Bundle & Manifests — The manifests/ directory contains Operator Lifecycle Manager bundles for two distribution channels — kiali-upstream (OperatorHub community) and kiali-ossm (Red Hat OSSM product) — with versioned ClusterServiceVersion files and shared CRDs propagated from crd-docs/ golden copies.
  • Molecule Test Suite — The molecule/ directory holds integration test scenarios that run against a live Kubernetes/OpenShift cluster; each scenario installs the operator, applies a Kiali CR, asserts on resulting cluster state, and tears down — with shared common/ tasks and asserts/ playbooks for reuse.
  • Build & CI — The operator image is built from build/Dockerfile on top of the ansible-operator base image; make build / make push handle single-arch builds while make container-multi-arch-push-kiali-operator-quay uses docker buildx for multi-arch (amd64/arm64/s390x/ppc64le) publishing to Quay.io.

Quick Reference

See AGENTS.md for commands, build instructions, and a directory overview.