bottlerocket-os / bottlerocket-os/bottlerocket

Requesting ability to set headers and sources in container-registry settings API

Open
#4,437 1 comment 4 reactions 0 assignees View on GitHub
status/needs-triage type/enhancement
Dominant language
Rust
Stars
9.7k
Forks
586
Avg merge
1d 11h
Merged PRs (30d)
11

Description

**What I'd like:**

We are attempting to use [Dragonfly](https://d7y.io/) with Bottlerocket nodes our EKS environment

We'd like to be able to create the files required by Dragonfly in `/etc/containerd/certs.d/.toml`

For example:
1. Addition to containerd configuration toml
```toml
[plugins."io.containerd.grpc.v1.cri".registry]
config_path = "/etc/containerd/certs.d"
```

2. For each registry added:

File `/etc/containerd/certs.d/.toml`
```toml
server = "https://"

[host."http://127.0.0.1:4001"]
capabilities = ["pull", "resolve"]

[host."http://127.0.0.1:4001".header]
X-Dragonfly-Registry = "https://"
```

Is this a possibility? Or are we thinking about these settings the correct way?

**Any alternatives you've considered:**

I didn't see any directly related issues or PRs. We're investigating using bootstrap containers to add / modify these files.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.