🧭 Updated Flow Overview

Here’s a refined breakdown of your architecture:

1. 🔧 Vault Provisioning

2. 🔐 Vault ↔ MicroK8s Integration

3. 🔁 Secrets Encryption via Vault Transit

4. 🚀 Secrets Consumption by Microservices

flowchart TD
    A[Ansible Playbooks]
    V[Vault Server]
    K[MicroK8s Cluster]
    T[Vault Transit Engine]
    S[Encrypted Secrets in MicroK8s]
    M[Microservices]

    A --> V
    A --> K
    V --> K
    K --> T
    T --> S
    S --> M

In vault.md

Vault is provisioned via Ansible and integrated with MicroK8s for Kubernetes-based authentication. See microk8s.md for cluster setup and secretmanager.md for secrets templating and consumption.

In microk8s.md

This role configures MicroK8s to authenticate with Vault and enables secrets encryption via Vault Transit. See vault.md for Vault provisioning and secretmanager.md for secrets usage patterns.

In secretmanager.md

Secrets are encrypted using Vault Transit and consumed by microservices deployed in MicroK8s. See vault.md for encryption setup and microk8s.md for cluster integration.