Skip to content

Commit

Permalink
Show how to use OCI registries via plain HTTP
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
twz123 committed Oct 10, 2024
1 parent 0030d86 commit 2d27d3e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/architecture/adr-001-autopilot-oci-basic-auth-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2d27d3e

Please sign in to comment.