Files
truecharts/charts/stable/spegel/values.yaml
T
BoemeltreinandGitHub 1203ba764e fix(spegel): Remove deprecated resolve latest (#42994)
…ption

**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
error: unknown argument --resolve-latest-tag=true

https://github.com/spegel-org/spegel/commit/2edb2456ca403b8951ecfd9215833c86b58d1671

⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [x] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code
- [ ] 📜 Documentation Changes

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made changes to the documentation
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning
- [x] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or
`fix(docs):`

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
2025-12-20 20:02:47 +01:00

165 lines
4.2 KiB
YAML

image:
repository: ghcr.io/spegel-org/spegel
pullPolicy: IfNotPresent
tag: v0.6.0@sha256:82f5dd969ed74e3a9cfd6284045099a161778a0d85f9e01a234a62f15eb9d696
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