Skip to content

Commit

Permalink
Configure TLS communication between registry cache and containerd (#245)
Browse files Browse the repository at this point in the history
* Configure tls communication between registry cache and containerd

* Address PR review feedback

* Adaptation to PoC with two component and two MRs

* Fix tls Secret creation when upstream contains a port (contains `:`)

* Address PR review feedback (2)

* Address PR review feedback (3)

---------

Co-authored-by: Ismail Alidzhikov <[email protected]>
  • Loading branch information
dimitar-kostadinov and ialidzhikov authored Dec 12, 2024
1 parent 52e5997 commit f614b47
Show file tree
Hide file tree
Showing 20 changed files with 1,314 additions and 219 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ rules:
- resources.gardener.cloud
resources:
- managedresources
# TODO(dimitar-kostadinov): Remove managedresources/status after May 2025.
- managedresources/status
verbs:
- get
- list
Expand All @@ -50,6 +52,13 @@ rules:
- update
- patch
- delete
# TODO(dimitar-kostadinov): Remove the below rule for managedresources/status after May 2025.
- apiGroups:
- resources.gardener.cloud
resources:
- managedresources/status
verbs:
- patch
- apiGroups:
- ""
resources:
Expand Down
2 changes: 1 addition & 1 deletion example/controller-registration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: ControllerDeployment
metadata:
name: extension-registry-cache
helm:
rawChart: H4sIAAAAAAAAA+0da3PbNjKf+StwSjttb0LqaTunmdyca7uJp4mtsX2+u+l0PBAJS6hJggeQctQk99tvAfBNSZRkV05S7mQsCQQWC2B3sbtYMBPMHeITbpL3IfEFZb7JyYSKkM9NG9tT0n72YOgAHOztqU+A8qf63u0Pur293v6+LO/u9/b7z9Dew7uuh0iEmCP0jDMWrqpX9/wLhUnt+ltT4np04jNOtuxDLvD+YLB0/WHZi+vf6wx6nWeo86gjXQJ/8vV/jkY4DAn3BQoZ0suM7qfER+OIug71JyjA9h2eEGEZz9HVlAokoiBgPIQvwBoumrhsjDwc2lOo/QJx4uKQzgi0C6e5cuw7gMAnE3jKfPR9wMktfU8cdE+h3l9+sNC5784R81VLSRIKCEcu9YllWMeXN5ch0AYoj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q58qT0MovAjbb6F9HBt1Yh2nzvtCj1KXlp9q2N1zDEYUlYXljLBMdSn4/F/09H69nepBhpooIEGGmiggQYaaOAx4P8+Q4pRAHgAAA==
values:
image:
tag: v0.13.0-dev
Expand Down
13 changes: 12 additions & 1 deletion hack/api-reference/registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ string
</td>
<td>
<p>Endpoint is the registry cache endpoint.
Example: &ldquo;<a href="http://10.4.246.205:5000&quot;">http://10.4.246.205:5000&rdquo;</a></p>
Example: &ldquo;<a href="https://10.4.246.205:5000&quot;">https://10.4.246.205:5000&rdquo;</a></p>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -284,6 +284,17 @@ string
<tbody>
<tr>
<td>
<code>caSecretName</code></br>
<em>
string
</em>
</td>
<td>
<p>CASecretName is the name of the CA bundle secret.</p>
</td>
</tr>
<tr>
<td>
<code>caches</code></br>
<em>
<a href="#registry.extensions.gardener.cloud/v1alpha3.RegistryCacheStatus">
Expand Down
4 changes: 3 additions & 1 deletion pkg/apis/registry/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ var (
type RegistryStatus struct {
metav1.TypeMeta

// CASecretName is the name of the CA bundle secret.
CASecretName string
// Caches is a slice of deployed registry caches.
Caches []RegistryCacheStatus
}
Expand All @@ -88,7 +90,7 @@ type RegistryCacheStatus struct {
// Upstream is the remote registry host (and optionally port).
Upstream string
// Endpoint is the registry cache endpoint.
// Example: "http://10.4.246.205:5000"
// Example: "https://10.4.246.205:5000"
Endpoint string
// RemoteURL is the remote registry URL.
RemoteURL string
Expand Down
4 changes: 3 additions & 1 deletion pkg/apis/registry/v1alpha3/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ var (
type RegistryStatus struct {
metav1.TypeMeta `json:",inline"`

// CASecretName is the name of the CA bundle secret.
CASecretName string `json:"caSecretName"`
// Caches is a slice of deployed registry caches.
Caches []RegistryCacheStatus `json:"caches"`
}
Expand All @@ -99,7 +101,7 @@ type RegistryCacheStatus struct {
// Upstream is the remote registry host (and optionally port).
Upstream string `json:"upstream"`
// Endpoint is the registry cache endpoint.
// Example: "http://10.4.246.205:5000"
// Example: "https://10.4.246.205:5000"
Endpoint string `json:"endpoint"`
// RemoteURL is the remote registry URL.
RemoteURL string `json:"remoteURL"`
Expand Down
2 changes: 2 additions & 0 deletions pkg/apis/registry/v1alpha3/zz_generated.conversion.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions pkg/component/registrycaches/export_test.go

This file was deleted.

Loading

0 comments on commit f614b47

Please sign in to comment.