Fix helm values naming for additionalMirrorTargets and mirroredRegistries. (#801)

This commit is contained in:
Philip Laine 2025-03-22 10:23:18 +01:00 committed by GitHub
commit fd425321ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 4 deletions

View File

@ -39,6 +39,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [#785](https://github.com/spegel-org/spegel/pull/785) Fix verification of digests when parsing distribution path.
- [#798](https://github.com/spegel-org/spegel/pull/798) Restart Spegel if Containerd event subscription is disconnected.
- [#800](https://github.com/spegel-org/spegel/pull/800) Fix so that host is closed even when a bootstrap error occurs.
- [#801](https://github.com/spegel-org/spegel/pull/801) Fix helm values naming for additionalMirrorTargets and mirroredRegistries.
### Security

View File

@ -46,7 +46,7 @@ Read the [getting started](https://spegel.dev/docs/getting-started/) guide to de
| serviceMonitor.metricRelabelings | list | `[]` | List of relabeling rules to apply to the samples before ingestion. |
| serviceMonitor.relabelings | list | `[]` | List of relabeling rules to apply the targets metadata labels. |
| serviceMonitor.scrapeTimeout | string | `"30s"` | Prometheus scrape interval timeout. |
| spegel.additionalMirrorRegistries | list | `[]` | Additional target mirror registries other than Spegel. |
| spegel.additionalMirrorTargets | list | `[]` | Additional target mirror registries other than Spegel. |
| spegel.containerdContentPath | string | `"/var/lib/containerd/io.containerd.content.v1.content"` | Path to Containerd content store.. |
| spegel.containerdMirrorAdd | bool | `true` | If true Spegel will add mirror configuration to the node. |
| spegel.containerdNamespace | string | `"k8s.io"` | Containerd namespace where images are stored. |

View File

@ -52,7 +52,7 @@ spec:
- --mirror-targets
- http://$(NODE_IP):{{ .Values.service.registry.hostPort }}
- http://$(NODE_IP):{{ .Values.service.registry.nodePort }}
{{- with .Values.spegel.additionalMirrorRegistries }}
{{- with .Values.spegel.additionalMirrorTargets }}
{{- range . }}
- {{ . | quote }}
{{- end }}
@ -87,7 +87,7 @@ spec:
- --registry-addr=:{{ .Values.service.registry.port }}
- --router-addr=:{{ .Values.service.router.port }}
- --metrics-addr=:{{ .Values.service.metrics.port }}
{{- with .Values.spegel.registries }}
{{- with .Values.spegel.mirroredRegistries }}
- --mirrored-registries
{{- range . }}
- {{ . | quote }}

View File

@ -138,7 +138,7 @@ spegel:
# - https://docker.io
# - https://ghcr.io
# -- Additional target mirror registries other than Spegel.
additionalMirrorRegistries: []
additionalMirrorTargets: []
# -- Max amount of mirrors to attempt.
mirrorResolveRetries: 3
# -- Max duration spent finding a mirror.