d2d8b46aec
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/spegel-org/spegel](https://redirect.github.com/spegel-org/spegel) | minor | `82f5dd9` → `1109b33` | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/18710) for more information. Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies. --- ### Release Notes <details> <summary>spegel-org/spegel (ghcr.io/spegel-org/spegel)</summary> ### [`v0.7.0`](https://redirect.github.com/spegel-org/spegel/releases/tag/v0.7.0) [Compare Source](https://redirect.github.com/spegel-org/spegel/compare/v0.6.0...v0.7.0) <!-- Release notes generated using configuration in .github/release.yaml at v0.7.0 --> #### What's Changed ##### Added - Enable quic in p2p router by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1174](https://redirect.github.com/spegel-org/spegel/pull/1174) - Add debug metadata endpoint to expose LibP2P peer ID by [@​artem-tkachuk](https://redirect.github.com/artem-tkachuk) in [#​1197](https://redirect.github.com/spegel-org/spegel/pull/1197) - Update contributing guidelines and add AI policy by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1215](https://redirect.github.com/spegel-org/spegel/pull/1215) - Add version detection and output by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1102](https://redirect.github.com/spegel-org/spegel/pull/1102) - Persist Peer ID between restarts when running in Kubernetes by [@​artem-tkachuk](https://redirect.github.com/artem-tkachuk) in [#​1196](https://redirect.github.com/spegel-org/spegel/pull/1196) - Allow for extra init containers and volumes in Helm chart by [@​zoomoid](https://redirect.github.com/zoomoid) in [#​1171](https://redirect.github.com/spegel-org/spegel/pull/1171) ##### Changed - Update to Go v1.25.6 by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1170](https://redirect.github.com/spegel-org/spegel/pull/1170) - Change to using retry for mirror requests by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1181](https://redirect.github.com/spegel-org/spegel/pull/1181) - Disable address discovery in p2p router by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1199](https://redirect.github.com/spegel-org/spegel/pull/1199) - Update to Go v1.26.0 by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1214](https://redirect.github.com/spegel-org/spegel/pull/1214) - Refactor balancer peers to support multiple addresses by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1226](https://redirect.github.com/spegel-org/spegel/pull/1226) - Split registry port into peer metadata by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1228](https://redirect.github.com/spegel-org/spegel/pull/1228) - Replace go-retry with resilient package by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1243](https://redirect.github.com/spegel-org/spegel/pull/1243) - Refactor range header handling by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1269](https://redirect.github.com/spegel-org/spegel/pull/1269) - Refactor distribution to include more request parameters by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1271](https://redirect.github.com/spegel-org/spegel/pull/1271) - Refactor debug measure to use specific function by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1274](https://redirect.github.com/spegel-org/spegel/pull/1274) - Refactor balancer to become iterator whith better waiting logic by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1277](https://redirect.github.com/spegel-org/spegel/pull/1277) - Fix so copy failure does not remove peer from iterator by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1278](https://redirect.github.com/spegel-org/spegel/pull/1278) - Update Go to 1.26.2 by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1299](https://redirect.github.com/spegel-org/spegel/pull/1299) ##### Fixed - Test upgrading from latest release to dev build of Spegel by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1167](https://redirect.github.com/spegel-org/spegel/pull/1167) - Fix Kubernetes test timing and cleanup Helm action configuration by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1173](https://redirect.github.com/spegel-org/spegel/pull/1173) - Fix scope for anonymous auth with GHCR by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1175](https://redirect.github.com/spegel-org/spegel/pull/1175) - Fix image parse error messages by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1203](https://redirect.github.com/spegel-org/spegel/pull/1203) - Fix registry check for single label domain with port by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1212](https://redirect.github.com/spegel-org/spegel/pull/1212) - Race dials when making mirror requests by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1227](https://redirect.github.com/spegel-org/spegel/pull/1227) - Fix record TTL and add tests for record validty by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1205](https://redirect.github.com/spegel-org/spegel/pull/1205) - Change range to retry for token fetching by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1270](https://redirect.github.com/spegel-org/spegel/pull/1270) - Fix debug web template errors and implement tests for rendring templates by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1273](https://redirect.github.com/spegel-org/spegel/pull/1273) - Hedge requests to peers to protect against tail latency by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1258](https://redirect.github.com/spegel-org/spegel/pull/1258) - Update grafana dashboard for 0.6 by [@​jfroy](https://redirect.github.com/jfroy) in [#​1150](https://redirect.github.com/spegel-org/spegel/pull/1150) - Fix issues in Kubernetes integration tests by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1287](https://redirect.github.com/spegel-org/spegel/pull/1287) - Fix p2p ready race and refactor connectivity gate by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1289](https://redirect.github.com/spegel-org/spegel/pull/1289) - Fix err image pull check in Kubernetes integration tests by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1290](https://redirect.github.com/spegel-org/spegel/pull/1290) - Release peer when happy eyeballs errors due to context being cancelled by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1291](https://redirect.github.com/spegel-org/spegel/pull/1291) - Fix range modification so it doesnt create side effects by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1292](https://redirect.github.com/spegel-org/spegel/pull/1292) ##### Removed - Remove k8s 1.32 and add 1.35 in integration tests by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1165](https://redirect.github.com/spegel-org/spegel/pull/1165) - Replace IPVS with NFTables in Kubernetes integration test by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1166](https://redirect.github.com/spegel-org/spegel/pull/1166) - Remove testing and support for Containerd 1.7 and 2.0 by [@​phillebaba](https://redirect.github.com/phillebaba) in [#​1168](https://redirect.github.com/spegel-org/spegel/pull/1168) ##### Dependencies - Bump github.com/libp2p/go-libp2p-kad-dht from 0.36.0 to 0.37.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1163](https://redirect.github.com/spegel-org/spegel/pull/1163) - Bump helm.sh/helm/v4 from 4.0.4 to 4.0.5 in /test/integration/kubernetes by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1164](https://redirect.github.com/spegel-org/spegel/pull/1164) - Bump sigs.k8s.io/kind from 0.30.0 to 0.31.0 in /test/integration/kubernetes by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1148](https://redirect.github.com/spegel-org/spegel/pull/1148) - Bump github.com/alexflint/go-arg from 1.6.0 to 1.6.1 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1156](https://redirect.github.com/spegel-org/spegel/pull/1156) - Bump github.com/fluxcd/cli-utils from 0.36.0-flux.15 to 0.37.0-flux.1 in /test/integration/kubernetes by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1157](https://redirect.github.com/spegel-org/spegel/pull/1157) - Bump github.com/moby/go-archive from 0.1.0 to 0.2.0 in /test/integration/containerd by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1153](https://redirect.github.com/spegel-org/spegel/pull/1153) - Bump github.com/fluxcd/pkg/runtime from 0.92.0 to 0.94.0 in /test/integration/kubernetes by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1160](https://redirect.github.com/spegel-org/spegel/pull/1160) - Bump google.golang.org/grpc from 1.77.0 to 1.78.0 in /test/integration/containerd by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1155](https://redirect.github.com/spegel-org/spegel/pull/1155) - Bump github.com/containerd/containerd/v2 from 2.2.0 to 2.2.1 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1152](https://redirect.github.com/spegel-org/spegel/pull/1152) - Bump k8s.io/cri-api from 0.34.3 to 0.35.0 in /test/integration/containerd in the k8s group across 1 directory by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1169](https://redirect.github.com/spegel-org/spegel/pull/1169) - Bump github.com/miekg/dns from 1.1.69 to 1.1.70 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1161](https://redirect.github.com/spegel-org/spegel/pull/1161) - Bump github.com/fluxcd/pkg/runtime from 0.94.0 to 0.95.0 in /test/integration/kubernetes by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1172](https://redirect.github.com/spegel-org/spegel/pull/1172) - Bump helm.sh/helm/v4 from 4.0.5 to 4.1.0 in /test/integration/kubernetes by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1179](https://redirect.github.com/spegel-org/spegel/pull/1179) - Bump github.com/fluxcd/cli-utils from 0.37.0-flux.1 to 0.37.1-flux.1 in /test/integration/kubernetes by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1177](https://redirect.github.com/spegel-org/spegel/pull/1177) - Bump github.com/miekg/dns from 1.1.70 to 1.1.72 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1176](https://redirect.github.com/spegel-org/spegel/pull/1176) - Bump github.com/fluxcd/pkg/runtime from 0.95.0 to 0.96.0 in /test/integration/kubernetes by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1178](https://redirect.github.com/spegel-org/spegel/pull/1178) - Bump github.com/libp2p/go-libp2p from 0.46.0 to 0.47.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1185](https://redirect.github.com/spegel-org/spegel/pull/1185) - Bump github.com/moby/moby/client from 0.2.1 to 0.2.2 in /test/integration/kubernetes by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1188](https://redirect.github.com/spegel-org/spegel/pull/1188) - Bump github.com/moby/moby/api from 1.52.0 to 1.53.0 in /test/integration/containerd by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1187](https://redirect.github.com/spegel-org/spegel/pull/1187) - Bump github.com/fluxcd/pkg/runtime from 0.96.0 to 0.97.0 in /test/integration/kubernetes by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1192](https://redirect.github.com/spegel-org/spegel/pull/1192) - Bump github.com/moby/moby/client from 0.2.1 to 0.2.2 in /test/integration/containerd by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1186](https://redirect.github.com/spegel-org/spegel/pull/1186) - Bump github.com/fluxcd/pkg/runtime from 0.97.0 to 0.98.0 in /test/integration/kubernetes by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1200](https://redirect.github.com/spegel-org/spegel/pull/1200) - Bump github.com/fluxcd/pkg/runtime from 0.98.0 to 0.99.0 in /test/integration/kubernetes by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1206](https://redirect.github.com/spegel-org/spegel/pull/1206) - Bump helm.sh/helm/v4 from 4.1.0 to 4.1.1 in /test/integration/kubernetes by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1207](https://redirect.github.com/spegel-org/spegel/pull/1207) - Bump github.com/fluxcd/pkg/runtime from 0.100.0 to 0.102.0 in /test/integration/kubernetes by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1220](https://redirect.github.com/spegel-org/spegel/pull/1220) - Bump github.com/fluxcd/cli-utils from 0.37.1-flux.1 to 0.37.2-flux.1 in /test/integration/kubernetes by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1225](https://redirect.github.com/spegel-org/spegel/pull/1225) - Bump the k8s group across 2 directories with 6 updates by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1224](https://redirect.github.com/spegel-org/spegel/pull/1224) - Bump github.com/libp2p/go-libp2p-kad-dht from 0.37.0 to 0.38.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1218](https://redirect.github.com/spegel-org/spegel/pull/1218) - Bump github.com/containerd/containerd/v2 from 2.2.1 to 2.2.2 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1240](https://redirect.github.com/spegel-org/spegel/pull/1240) - Bump golang.org/x/sync from 0.19.0 to 0.20.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1237](https://redirect.github.com/spegel-org/spegel/pull/1237) - Bump github.com/moby/moby/client from 0.2.2 to 0.3.0 in /test/integration/kubernetes by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1236](https://redirect.github.com/spegel-org/spegel/pull/1236) - Bump github.com/ipfs/go-cid from 0.6.0 to 0.6.1 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1276](https://redirect.github.com/spegel-org/spegel/pull/1276) - Bump github.com/containerd/platforms from 1.0.0-rc.2 to 1.0.0-rc.4 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1259](https://redirect.github.com/spegel-org/spegel/pull/1259) - Bump github.com/pelletier/go-toml/v2 from 2.2.4 to 2.3.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1253](https://redirect.github.com/spegel-org/spegel/pull/1253) - Bump google.golang.org/grpc from 1.78.0 to 1.79.3 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1284](https://redirect.github.com/spegel-org/spegel/pull/1284) - Bump helm.sh/helm/v3 from 3.18.5 to 3.20.2 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1285](https://redirect.github.com/spegel-org/spegel/pull/1285) - Bump github.com/containerd/containerd/v2 from 2.2.2 to 2.2.3 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1300](https://redirect.github.com/spegel-org/spegel/pull/1300) #### New Contributors - [@​zoomoid](https://redirect.github.com/zoomoid) made their first contribution in [#​1171](https://redirect.github.com/spegel-org/spegel/pull/1171) **Full Changelog**: <https://github.com/spegel-org/spegel/compare/v0.6.0...v0.7.0> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMzAuMSIsInVwZGF0ZWRJblZlciI6IjQzLjEzMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImFwcC9zcGVnZWwiLCJhdXRvbWVyZ2UiLCJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21pbm9yIl19-->
166 lines
4.2 KiB
YAML
166 lines
4.2 KiB
YAML
# yaml-language-server: $schema=./values.schema.json
|
|
image:
|
|
repository: ghcr.io/spegel-org/spegel
|
|
pullPolicy: IfNotPresent
|
|
tag: v0.7.0@sha256:1109b33fabac86809b06f831eef7359b12232f5708554aef39efd036dce40748
|
|
|
|
securityContext:
|
|
container:
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
readOnlyRootFilesystem: false
|
|
pod:
|
|
fsGroup: 0
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 5000
|
|
targetPort: 5000
|
|
hostPort: 30020
|
|
nodePort: 30021
|
|
router:
|
|
enabled: true
|
|
clusterIP: None
|
|
publishNotReadyAddresses: true
|
|
ports:
|
|
router:
|
|
enabled: true
|
|
port: 5001
|
|
targetPort: 5001
|
|
metrics:
|
|
enabled: true
|
|
ports:
|
|
metrics:
|
|
enabled: true
|
|
port: 9090
|
|
targetPort: 9090
|
|
|
|
workload:
|
|
main:
|
|
type: DaemonSet
|
|
podSpec:
|
|
initContainers:
|
|
configuration:
|
|
enabled: true
|
|
type: init
|
|
args: []
|
|
env:
|
|
NODE_IP:
|
|
fieldRef:
|
|
fieldPath: status.hostIP
|
|
containers:
|
|
main:
|
|
args: []
|
|
env:
|
|
NODE_IP:
|
|
fieldRef:
|
|
fieldPath: status.hostIP
|
|
probes:
|
|
liveness:
|
|
path: /livez
|
|
readiness:
|
|
path: /readyz
|
|
startup:
|
|
path: /readyz
|
|
|
|
configmap:
|
|
dashboard:
|
|
enabled: true
|
|
labels:
|
|
grafana_dashboard: "1"
|
|
data:
|
|
spegel.json: >-
|
|
{{ .Files.Get "dashboard.json" | indent 8 }}
|
|
|
|
podOptions:
|
|
automountServiceAccountToken: true
|
|
priorityClassName: "system-node-critical"
|
|
nodeSelector:
|
|
kubernetes.io/arch: ""
|
|
tolerations:
|
|
- key: CriticalAddonsOnly
|
|
operator: Exists
|
|
- effect: NoExecute
|
|
operator: Exists
|
|
- effect: NoSchedule
|
|
operator: Exists
|
|
|
|
metrics:
|
|
main:
|
|
enabled: true
|
|
type: servicemonitor
|
|
endpoints:
|
|
- port: metrics
|
|
targetSelector: metrics
|
|
|
|
persistence:
|
|
containerd-sock:
|
|
enabled: true
|
|
type: hostPath
|
|
mountPath: "{{ .Values.spegel.containerdSock }}"
|
|
hostPath: "{{ .Values.spegel.containerdSock }}"
|
|
hostPathType: Socket
|
|
containerd-content:
|
|
enabled: true
|
|
type: hostPath
|
|
mountPath: "{{ .Values.spegel.containerdContentPath }}"
|
|
hostPath: "{{ .Values.spegel.containerdContentPath }}"
|
|
hostPathType: Directory
|
|
readOnly: true
|
|
containerd-config:
|
|
enabled: true
|
|
type: hostPath
|
|
hostPath: "{{ .Values.spegel.containerdRegistryConfigPath }}"
|
|
hostPathType: DirectoryOrCreate
|
|
targetSelector:
|
|
main:
|
|
configuration:
|
|
mountPath: "{{ .Values.spegel.containerdRegistryConfigPath }}"
|
|
|
|
spegel:
|
|
# -- Minimum log level to output. Value should be DEBUG, INFO, WARN, or ERROR.
|
|
logLevel: "INFO"
|
|
# -- Registries for which mirror configuration will be created.
|
|
## NOTE: If using Talos, Talos does NOT fall-back to the main url for talos containers
|
|
## Include main url in mirror list in that case!
|
|
mirroredRegistries:
|
|
- https://cgr.dev
|
|
- https://docker.io
|
|
- https://ghcr.io
|
|
- https://quay.io
|
|
- https://mcr.microsoft.com
|
|
- https://public.ecr.aws
|
|
- https://gcr.io
|
|
- https://registry.k8s.io
|
|
- https://k8s.gcr.io
|
|
- https://oci.trueforge.org
|
|
- https://factory.talos.dev
|
|
# -- Additional target mirror registries other than Spegel.
|
|
additionalMirrorTargets: []
|
|
# -- Max ammount of mirrors to attempt.
|
|
mirrorResolveRetries: 3
|
|
# -- Max duration spent finding a mirror.
|
|
mirrorResolveTimeout: "20ms"
|
|
# -- Path to Containerd socket.
|
|
containerdSock: "/run/containerd/containerd.sock"
|
|
# -- Containerd namespace where images are stored.
|
|
containerdNamespace: "k8s.io"
|
|
# -- Path to Containerd mirror configuration.
|
|
containerdRegistryConfigPath: "/etc/cri/conf.d/hosts"
|
|
# -- Path to Containerd content store..
|
|
containerdContentPath: "/var/lib/containerd/io.containerd.content.v1.content"
|
|
# -- If true Spegel will add mirror configuration to the node.
|
|
containerdMirrorAdd: true
|
|
# -- When true Spegel will resolve tags to digests.
|
|
resolveTags: true
|
|
# -- When true existing mirror configuration will be appended to instead of replaced.
|
|
prependExisting: true
|
|
|
|
# -- The service account the pods will use to interact with the Kubernetes API
|
|
serviceAccount:
|
|
main:
|
|
enabled: true
|
|
primary: true
|