Files
argocd-apps/apps/base/dhcp-system/deployment.yaml
T
unkin-agent 13e8d3f7df Run bind and kea operators from GitHub releases (#618)
bind-operator and kea-operator now publish releases to GitHub, so their images and CRDs come from ghcr.io and the IUCLabs repos instead of the internal docker registry and Gitea raw URLs.

- bind-operator runs ghcr.io/iuclabs/bind-operator:v0.4.1, tsig-api ghcr.io/iuclabs/bind-tsig-api:v0.4.1
- kea-operator runs ghcr.io/iuclabs/kea-operator:v0.1.8, with kea and kea-api from ghcr.io/iuclabs at v0.1.8
- bind and kea CRDs load from the IUCLabs repos at those tags via the artifactapi github remote

Requires IUCLabs/terraform-artifactapi #11 applied first.

Reviewed-on: #618
Co-authored-by: unkin-agent <unkin-agent@unkin.net>
Co-committed-by: unkin-agent <unkin-agent@unkin.net>
2026-11-28 16:07:56 +11:00

57 lines
1.4 KiB
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: kea-operator
namespace: dhcp-system
labels:
app.kubernetes.io/name: kea-operator
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: kea-operator
template:
metadata:
labels:
app.kubernetes.io/name: kea-operator
spec:
serviceAccountName: kea-operator
securityContext:
runAsNonRoot: true
containers:
- name: operator
image: ghcr.io/iuclabs/kea-operator:v0.1.8
args:
- --metrics-bind-address=:8080
- --health-probe-bind-address=:8081
ports:
- containerPort: 8080
name: metrics
- containerPort: 8081
name: health
readinessProbe:
httpGet:
path: /readyz
port: 8081
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 15
periodSeconds: 20
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 500m
memory: 256Mi