# surenderky/ossm architecture

> Architecture diagram of the GitHub repository surenderky/ossm, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/surenderky/ossm
- Repository: https://github.com/surenderky/ossm

## Overview

This repository is a collection of shell scripts for managing OpenShift clusters and configuring Istio/service-mesh environments, with test and reporting utilities. The tree identifies distinct operational capabilities, but no README content or source excerpts were provided. Accordingly, the graph groups the scripts by apparent purpose and omits call, data-flow, and external-service edges rather than infer relationships from filenames alone.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_cluster["Cluster lifecycle"]
  node_create_cluster["Create cluster"]
  node_cluster_setup["Cluster setup"]
  node_cluster_destroy["Destroy cluster<br/>[destroy_cluster.sh]"]
  node_cluster_details["Cluster details<br/>[cluster_details.sh]"]
  node_cluster_login["Cluster login<br/>[login_cluster.sh]"]
  node_haproxy["HAProxy config<br/>[haproxy_cfg.sh]"]
  node_metallb_setup["MetalLB setup<br/>[metallb_setup.sh]"]
  node_metallb_setup_5["MetalLB 5 setup"]
  node_metallb_remove["Remove MetalLB<br/>[remove_metallb.sh]"]
end

subgraph group_mesh["Mesh configuration"]
  node_ambient_setup["Ambient setup"]
  node_ambient_remove["Remove ambient"]
  node_sidecar_setup["Sidecar setup"]
  node_sidecar_remove["Remove sidecar"]
  node_servicemesh_setup["Service Mesh 3"]
  node_servicemesh_remove["Remove Service Mesh"]
  node_vm_remove["Remove VM<br/>[remove_vm.sh]"]
end

subgraph group_registry["Registry configuration"]
  node_istio_repo["Istio repository"]
  node_custom_catalog["Custom catalog"]
  node_gie_config["GIE config<br/>[config_gie.sh]"]
  node_istio_registry_setup["Istio registry setup"]
  node_sail_registry_setup["Sail registry setup"]
  node_stage_registry_setup["Stage registry setup"]
  node_istio_registry_remove["Remove Istio registries"]
  node_sail_registry_remove["Remove Sail registries"]
  node_stage_registry_remove["Remove stage registries"]
end

subgraph group_testing["Test workflows"]
  node_integration_tests["Integration tests"]
  node_legacy_tests["Legacy integration tests"]
  node_e2e_tests["End-to-end tests<br/>[e2e_tests.sh]"]
  node_test_runner["Test runner<br/>[test.sh]"]
  node_test_report["Test report"]
  node_fail_list["Failure list"]
  node_istio_build_127["Istio 1.27 build"]
  node_istio_build_130["Istio 1.30 build"]
end

subgraph group_maintenance["Operations utilities"]
  node_force_pod_delete["Force pod delete"]
end

click node_create_cluster "https://github.com/surenderky/ossm/blob/v3.0/scripts/create_ocp_cluster.sh"
click node_cluster_setup "https://github.com/surenderky/ossm/blob/v3.0/scripts/ocp_cluster_setup.sh"
click node_cluster_destroy "https://github.com/surenderky/ossm/blob/v3.0/scripts/destroy_cluster.sh"
click node_cluster_details "https://github.com/surenderky/ossm/blob/v3.0/scripts/cluster_details.sh"
click node_cluster_login "https://github.com/surenderky/ossm/blob/v3.0/scripts/login_cluster.sh"
click node_haproxy "https://github.com/surenderky/ossm/blob/v3.0/scripts/haproxy_cfg.sh"
click node_metallb_setup "https://github.com/surenderky/ossm/blob/v3.0/scripts/metallb_setup.sh"
click node_metallb_setup_5 "https://github.com/surenderky/ossm/blob/v3.0/scripts/metallb_setup_5.0.sh"
click node_metallb_remove "https://github.com/surenderky/ossm/blob/v3.0/scripts/remove_metallb.sh"
click node_ambient_setup "https://github.com/surenderky/ossm/blob/v3.0/scripts/ambient_mode_setup.sh"
click node_ambient_remove "https://github.com/surenderky/ossm/blob/v3.0/scripts/remove_ambient_mode.sh"
click node_sidecar_setup "https://github.com/surenderky/ossm/blob/v3.0/scripts/sidecar_mode_setup.sh"
click node_sidecar_remove "https://github.com/surenderky/ossm/blob/v3.0/scripts/remove_sidecar_mode.sh"
click node_servicemesh_setup "https://github.com/surenderky/ossm/blob/v3.0/scripts/servicemesh3_setup.sh"
click node_servicemesh_remove "https://github.com/surenderky/ossm/blob/v3.0/scripts/remove_servicemesh3.sh"
click node_vm_remove "https://github.com/surenderky/ossm/blob/v3.0/scripts/remove_vm.sh"
click node_istio_repo "https://github.com/surenderky/ossm/blob/v3.0/scripts/config_istio_repo.sh"
click node_custom_catalog "https://github.com/surenderky/ossm/blob/v3.0/scripts/config_custom_istio_catalog.sh"
click node_gie_config "https://github.com/surenderky/ossm/blob/v3.0/scripts/config_gie.sh"
click node_istio_registry_setup "https://github.com/surenderky/ossm/blob/v3.0/scripts/setup_istio_itms_idms.sh"
click node_sail_registry_setup "https://github.com/surenderky/ossm/blob/v3.0/scripts/setup_sail_itms_idms.sh"
click node_stage_registry_setup "https://github.com/surenderky/ossm/blob/v3.0/scripts/setup_stage_itms_idms.sh"
click node_istio_registry_remove "https://github.com/surenderky/ossm/blob/v3.0/scripts/remove_istio_itms_idms.sh"
click node_sail_registry_remove "https://github.com/surenderky/ossm/blob/v3.0/scripts/remove_sail_itms_idms.sh"
click node_stage_registry_remove "https://github.com/surenderky/ossm/blob/v3.0/scripts/remove_stage-itms-idms.sh"
click node_integration_tests "https://github.com/surenderky/ossm/blob/v3.0/scripts/integration_tests.sh"
click node_legacy_tests "https://github.com/surenderky/ossm/blob/v3.0/scripts/legacy_integration_tests.sh"
click node_e2e_tests "https://github.com/surenderky/ossm/blob/v3.0/scripts/e2e_tests.sh"
click node_test_runner "https://github.com/surenderky/ossm/blob/v3.0/scripts/test.sh"
click node_test_report "https://github.com/surenderky/ossm/blob/v3.0/scripts/generate_test_report.sh"
click node_fail_list "https://github.com/surenderky/ossm/blob/v3.0/scripts/extract_fail_list.sh"
click node_istio_build_127 "https://github.com/surenderky/ossm/blob/v3.0/scripts/build_istio_app_1.27.sh"
click node_istio_build_130 "https://github.com/surenderky/ossm/blob/v3.0/scripts/build_istio_app_1.30.sh"
click node_force_pod_delete "https://github.com/surenderky/ossm/blob/v3.0/scripts/delete_pod_force.sh"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_create_cluster,node_cluster_setup,node_cluster_destroy,node_cluster_details,node_cluster_login,node_haproxy,node_metallb_setup,node_metallb_setup_5,node_metallb_remove toneBlue
class node_ambient_setup,node_ambient_remove,node_sidecar_setup,node_sidecar_remove,node_servicemesh_setup,node_servicemesh_remove,node_vm_remove toneAmber
class node_istio_repo,node_custom_catalog,node_gie_config,node_istio_registry_setup,node_sail_registry_setup,node_stage_registry_setup,node_istio_registry_remove,node_sail_registry_remove,node_stage_registry_remove toneMint
class node_integration_tests,node_legacy_tests,node_e2e_tests,node_test_runner,node_test_report,node_fail_list,node_istio_build_127,node_istio_build_130 toneRose
class node_force_pod_delete toneIndigo
```

## Components

### Cluster lifecycle

- [Create cluster](https://github.com/surenderky/ossm/blob/v3.0/scripts/create_ocp_cluster.sh): `scripts/create_ocp_cluster.sh`
- [Cluster setup](https://github.com/surenderky/ossm/blob/v3.0/scripts/ocp_cluster_setup.sh): `scripts/ocp_cluster_setup.sh`
- [Destroy cluster](https://github.com/surenderky/ossm/blob/v3.0/scripts/destroy_cluster.sh): `scripts/destroy_cluster.sh`
- [Cluster details](https://github.com/surenderky/ossm/blob/v3.0/scripts/cluster_details.sh): `scripts/cluster_details.sh`
- [Cluster login](https://github.com/surenderky/ossm/blob/v3.0/scripts/login_cluster.sh): `scripts/login_cluster.sh`
- [HAProxy config](https://github.com/surenderky/ossm/blob/v3.0/scripts/haproxy_cfg.sh): `scripts/haproxy_cfg.sh`
- [MetalLB setup](https://github.com/surenderky/ossm/blob/v3.0/scripts/metallb_setup.sh): `scripts/metallb_setup.sh`
- [MetalLB 5 setup](https://github.com/surenderky/ossm/blob/v3.0/scripts/metallb_setup_5.0.sh): `scripts/metallb_setup_5.0.sh`
- [Remove MetalLB](https://github.com/surenderky/ossm/blob/v3.0/scripts/remove_metallb.sh): `scripts/remove_metallb.sh`

### Mesh configuration

- [Ambient setup](https://github.com/surenderky/ossm/blob/v3.0/scripts/ambient_mode_setup.sh): `scripts/ambient_mode_setup.sh`
- [Remove ambient](https://github.com/surenderky/ossm/blob/v3.0/scripts/remove_ambient_mode.sh): `scripts/remove_ambient_mode.sh`
- [Sidecar setup](https://github.com/surenderky/ossm/blob/v3.0/scripts/sidecar_mode_setup.sh): `scripts/sidecar_mode_setup.sh`
- [Remove sidecar](https://github.com/surenderky/ossm/blob/v3.0/scripts/remove_sidecar_mode.sh): `scripts/remove_sidecar_mode.sh`
- [Service Mesh 3](https://github.com/surenderky/ossm/blob/v3.0/scripts/servicemesh3_setup.sh): `scripts/servicemesh3_setup.sh`
- [Remove Service Mesh](https://github.com/surenderky/ossm/blob/v3.0/scripts/remove_servicemesh3.sh): `scripts/remove_servicemesh3.sh`
- [Remove VM](https://github.com/surenderky/ossm/blob/v3.0/scripts/remove_vm.sh): `scripts/remove_vm.sh`

### Registry configuration

- [Istio repository](https://github.com/surenderky/ossm/blob/v3.0/scripts/config_istio_repo.sh): `scripts/config_istio_repo.sh`
- [Custom catalog](https://github.com/surenderky/ossm/blob/v3.0/scripts/config_custom_istio_catalog.sh): `scripts/config_custom_istio_catalog.sh`
- [GIE config](https://github.com/surenderky/ossm/blob/v3.0/scripts/config_gie.sh): `scripts/config_gie.sh`
- [Istio registry setup](https://github.com/surenderky/ossm/blob/v3.0/scripts/setup_istio_itms_idms.sh): `scripts/setup_istio_itms_idms.sh`
- [Sail registry setup](https://github.com/surenderky/ossm/blob/v3.0/scripts/setup_sail_itms_idms.sh): `scripts/setup_sail_itms_idms.sh`
- [Stage registry setup](https://github.com/surenderky/ossm/blob/v3.0/scripts/setup_stage_itms_idms.sh): `scripts/setup_stage_itms_idms.sh`
- [Remove Istio registries](https://github.com/surenderky/ossm/blob/v3.0/scripts/remove_istio_itms_idms.sh): `scripts/remove_istio_itms_idms.sh`
- [Remove Sail registries](https://github.com/surenderky/ossm/blob/v3.0/scripts/remove_sail_itms_idms.sh): `scripts/remove_sail_itms_idms.sh`
- [Remove stage registries](https://github.com/surenderky/ossm/blob/v3.0/scripts/remove_stage-itms-idms.sh): `scripts/remove_stage-itms-idms.sh`

### Test workflows

- [Integration tests](https://github.com/surenderky/ossm/blob/v3.0/scripts/integration_tests.sh): `scripts/integration_tests.sh`
- [Legacy integration tests](https://github.com/surenderky/ossm/blob/v3.0/scripts/legacy_integration_tests.sh): `scripts/legacy_integration_tests.sh`
- [End-to-end tests](https://github.com/surenderky/ossm/blob/v3.0/scripts/e2e_tests.sh): `scripts/e2e_tests.sh`
- [Test runner](https://github.com/surenderky/ossm/blob/v3.0/scripts/test.sh): `scripts/test.sh`
- [Test report](https://github.com/surenderky/ossm/blob/v3.0/scripts/generate_test_report.sh): `scripts/generate_test_report.sh`
- [Failure list](https://github.com/surenderky/ossm/blob/v3.0/scripts/extract_fail_list.sh): `scripts/extract_fail_list.sh`
- [Istio 1.27 build](https://github.com/surenderky/ossm/blob/v3.0/scripts/build_istio_app_1.27.sh): `scripts/build_istio_app_1.27.sh`
- [Istio 1.30 build](https://github.com/surenderky/ossm/blob/v3.0/scripts/build_istio_app_1.30.sh): `scripts/build_istio_app_1.30.sh`

### Operations utilities

- [Force pod delete](https://github.com/surenderky/ossm/blob/v3.0/scripts/delete_pod_force.sh): `scripts/delete_pod_force.sh`
