Skip to content

Commit 924bebe

Browse files
committed
kea: remove control agent
kea-dhcp4 now supports native HTTP API
1 parent 5158178 commit 924bebe

File tree

3 files changed

+0
-41
lines changed

3 files changed

+0
-41
lines changed

kea/Dockerfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ RUN bundle install
5252
FROM --platform=$BUILDPLATFORM $BASE as config
5353
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y jsonnet
5454
WORKDIR /app
55-
COPY kea-ctrl-agent.jsonnet /tmp/
56-
RUN jsonnet /tmp/kea-ctrl-agent.jsonnet > /app/kea-ctrl-agent.json
5755

5856
###
5957

@@ -80,7 +78,6 @@ RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib
8078
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
8179
isc-kea-dhcp4-server \
8280
isc-kea-mysql \
83-
isc-kea-ctrl-agent \
8481
isc-kea-admin \
8582
isc-kea-hooks
8683

@@ -100,8 +97,5 @@ RUN ln -s /usr/lib/$(uname -m)-linux-gnu/kea/hooks /app/kea-hooks
10097
COPY run.sh /app/run.sh
10198
COPY db-upgrade.rb /app/db-upgrade.rb
10299
COPY choose_dhcp_server_id.rb /app/choose_dhcp_server_id.rb
103-
COPY --from=config /app/kea-ctrl-agent.json /app/kea-ctrl-agent.json
104-
105-
RUN kea-ctrl-agent -t /app/kea-ctrl-agent.json
106100

107101
CMD /app/run.sh

kea/kea-ctrl-agent.jsonnet

Lines changed: 0 additions & 34 deletions
This file was deleted.

kea/run.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ echo "SERVER_ID=${SERVER_ID}"
2626
/config/kea-dhcp4.json > /work/kea-dhcp4.json
2727
)
2828

29-
kea-ctrl-agent -c /app/kea-ctrl-agent.json &
3029
/app/stork-agent &
3130
/app/healthzd &
3231

0 commit comments

Comments
 (0)