Files
truecharts/charts/system/spegel/values.yaml
T
Boemeltrein 1709cc4786 fix(spegel): Probe changes (#39579)
**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.
-->
Last version of Spegel changed the probes:
https://github.com/spegel-org/spegel/pull/962
Liveness probe was added and also spartup/readiness probes where
changed.

⚒️ 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
-->
At own cluster.

**📃 Notes:**
<!-- Please enter any other relevant information here -->
**This change only work when uninstall spegel.
And re-deploy completely fresh.**


**✔️ 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
- [x] ⬆️ 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._

---------

Signed-off-by: Boemeltrein <130394941+Boemeltrein@users.noreply.github.com>
2025-09-16 11:21:13 +02:00

167 lines
4.2 KiB
YAML

image:
repository: ghcr.io/spegel-org/spegel
pullPolicy: IfNotPresent
tag: v0.4.0
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 latest tags will be resolved to digests.
resolveLatestTag: 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