Skip to content

Instantly share code, notes, and snippets.

View lmilleri's full-sized avatar

Leonardo Milleri lmilleri

  • Red Hat
  • Bristol
View GitHub Profile
@lmilleri
lmilleri / README.MD
Last active January 28, 2026 14:05
Trustee in enclave

Trustee in enclave

Setup

  • kubernetes running in a trusted environment (in my case minikube on laptop) (1)
    • trustee-operator deployed
  • Openshift in public cloud or bare metal (in my case snp baremetal on virtlab801) (2)
    • OSC deployed

Created sealed secret in (2)

@lmilleri
lmilleri / plan.md
Last active January 19, 2026 13:48
Backward compatibility trustee-operator

Multi-Release Backward Compatibility Implementation Plan

Overview

Add support for managing multiple trustee releases through versioned configuration templates. Each TrusteeConfig can select a specific trustee release version, which determines both the configuration templates used and the container image tags deployed.

Design Decisions (Based on User Input)

  • ✅ Single TrusteeConfig can select release version via spec.version field
  • ✅ Templates organized by trustee release (e.g., config/templates/v0.10.0/)
  • ✅ Automatic image selection based on version
@lmilleri
lmilleri / plan.md
Last active January 12, 2026 10:05
Multi-tenancy in trustee-operator

Multi-Tenancy Implementation Plan for trustee-operator

Overview

Enable multi-tenancy in the trustee-operator so each tenant can create a TrusteeConfig in their namespace and get a separate, isolated trustee instance.

Current Architecture

Controllers

  • KbsConfigReconciler: Watches KbsConfig CRs, creates Deployments/Services for trustee
@lmilleri
lmilleri / README.MD
Last active October 14, 2025 12:21
Trustee in enclave (dev environment)

Coco Trustee

Kind setup with trustee-operator

git clone https://github.com/confidential-containers/trustee-operator.git
cd trustee
gh pr checkout https://github.com/confidential-containers/trustee-operator/pull/103 (if not merged yet)
./tests/scripts/kind-with-registry.sh
./tests/scripts/install-operator.sh quay.io/rh_ee_lmilleri/trustee:v0.15.0 quay.io/rh_ee_lmilleri/kbs-client:v0.15.0
@lmilleri
lmilleri / README.MD
Last active February 27, 2025 08:18
Trustee: sticky sessions in k8s

Install trustee-operator

git clone https://github.com/confidential-containers/trustee-operator.git
cd trustee-operator
./tests/scripts/kind-with-registry.sh
./tests/scripts/install-operator.sh quay.io/confidential-containers/trustee:latest quay.io/confidential-containers/kbs-client:latest

Configure trustee-operator

@lmilleri
lmilleri / README.md
Last active September 27, 2023 08:52
vDPA on ovn-k secondary network

vDPA on ovn-k secondary network

Getting Started

These instructions will let you to create pods consuming accelerated vDPA interfaces on ovn-k secondary network

Prerequisites

  • OCP cluster running (latest 4.14)
  • SRIOV network operator is installed (latest upstream)
  • kubernetes-nmstate operator is installed (latest downstream)
  • ovn-kubernetes running image is quay.io/rh_ee_lmilleri/ovn-daemonset-f:vhost-vdpa-0906-3