From 2d27d3eaa88d792e7e7e12cd4b85106f65811e56 Mon Sep 17 00:00:00 2001 From: Tom Wieczorek Date: Thu, 10 Oct 2024 15:43:35 +0200 Subject: [PATCH] Show how to use OCI registries via plain HTTP OCI registries use HTTPS by default. Use a custom URL scheme to turn this off and fall back to plain HTTP. Signed-off-by: Tom Wieczorek --- .../adr-001-autopilot-oci-basic-auth-support.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/architecture/adr-001-autopilot-oci-basic-auth-support.md b/docs/architecture/adr-001-autopilot-oci-basic-auth-support.md index a8c3b58bb103..e030c0652ae9 100644 --- a/docs/architecture/adr-001-autopilot-oci-basic-auth-support.md +++ b/docs/architecture/adr-001-autopilot-oci-basic-auth-support.md @@ -81,6 +81,16 @@ secretRef: name: artifacts-registry ``` +Example configuration for OCI using plain HTTP transport: + +```yaml +url: oci+http://my.registry/binaries/k0s:v1.30.1+k0s.0 +sha256: e95603f167cce6e3cffef5594ef06785b3c1c00d3e27d8e4fc33824fe6c38a99 +secretRef: + namespace: kube-system + name: artifacts-registry +``` + Example configuration for HTTPS: ```yaml