mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-25 06:04:18 +09:00
Same issue as lineage-controller-webhook: DaemonSet uses hardcoded nodeSelector with empty value, but k3s/kubeadm use value "true". Changes: - Add nodeSelector to cozystack-api values (default: empty for Talos) - Update deployment template to use configurable nodeSelector - Pass nodeSelector for both cozystack-api and lineage-controller-webhook in isp-full-generic bundle variant Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Aleksei Sviridkin <f@lex.la>
11 lines
498 B
YAML
11 lines
498 B
YAML
cozystackAPI:
|
|
image: ghcr.io/cozystack/cozystack/cozystack-api:v1.0.0-alpha.2@sha256:5bde4dd3e8d3a880475c9e872925f841f6131f51f9a5017ec5c2a0f0bd288838
|
|
localK8sAPIEndpoint:
|
|
enabled: true
|
|
replicas: 2
|
|
# nodeSelector for DaemonSet mode (localK8sAPIEndpoint.enabled: true)
|
|
# Talos uses empty value: "node-role.kubernetes.io/control-plane": ""
|
|
# Generic k8s (k3s, kubeadm) uses: "node-role.kubernetes.io/control-plane": "true"
|
|
nodeSelector:
|
|
node-role.kubernetes.io/control-plane: ""
|