ad985a5a13
kea-0/kea-1 crash-looped after the dhcp-system deploy. Two causes: 1) kea-dhcp4 rejected the ntp-servers option (code 42) because DHCP option 42 carries IPv4 addresses only, but the CR supplied rotating pool.ntp.org hostnames. 2) kea-ctrl-agent/dhcp4 rejected the /run/kea unix socket path (kea 2.6.5 permits only /var/run/kea) -- fixed in kea-operator v0.1.1. - Remove ntpServers from the KeaCluster (not representable via DHCP option 42). - Bump kea-operator, kea, and kea-api images to v0.1.1 (socket-path fix). Claude-Session: https://claude.ai/code/session_01JUoARVdmhxKQHyyyp1pxeT
26 lines
638 B
YAML
26 lines
638 B
YAML
---
|
|
# Terraform-friendly REST API for KeaSubnet/KeaClientClass CRUD. The bearer
|
|
# token Secret is generated by the operator when absent (no plain Secret is
|
|
# committed here); it can later be pre-seeded from Vault under the same name.
|
|
apiVersion: kea.unkin.net/v1alpha1
|
|
kind: KeaAPI
|
|
metadata:
|
|
name: kea-api
|
|
namespace: dhcp-system
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "1"
|
|
spec:
|
|
replicas: 1
|
|
image: git.unkin.net/unkin/kea-api:v0.1.1
|
|
tokenSecretName: kea-api-token
|
|
service:
|
|
type: ClusterIP
|
|
port: 8080
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 64Mi
|
|
limits:
|
|
cpu: "1"
|
|
memory: 256Mi
|