Skip to content

Commit

Permalink
chore(kafka): Remove kubectl (#884)
Browse files Browse the repository at this point in the history
chore(kafka)!: Remove kubectl
  • Loading branch information
sbernauer authored Dec 11, 2024
1 parent 15acf1e commit c716fe5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ All notable changes to this project will be documented in this file.
- nifi: Add NiFi hadoop Azure and GCP libraries ([#943]).
- base: Add containerdebug tool ([#928]).

### Removed

- kafka: Remove `kubectl`, as we are now using listener-op ([#884]).

[#884]: https://github.com/stackabletech/docker-images/pull/884
[#928]: https://github.com/stackabletech/docker-images/pull/928
[#943]: https://github.com/stackabletech/docker-images/pull/943

Expand Down
6 changes: 1 addition & 5 deletions kafka/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ LABEL name="Apache Kafka" \
summary="The Stackable image for Apache Kafka." \
description="This image is deployed by the Stackable Operator for Apache Kafka."

# This is needed for kubectl
COPY kafka/kubernetes.repo /etc/yum.repos.d/kubernetes.repo
COPY --chown=${STACKABLE_USER_UID}:0 kafka/licenses /licenses
COPY --chown=${STACKABLE_USER_UID}:0 --from=kafka-builder /stackable/kafka_${SCALA}-${PRODUCT} /stackable/kafka_${SCALA}-${PRODUCT}
COPY --chown=${STACKABLE_USER_UID}:0 --from=kafka-builder /stackable/kafka_${SCALA}-${PRODUCT}.cdx.json /stackable/kafka_${SCALA}-${PRODUCT}/kafka_${SCALA}-${PRODUCT}.cdx.json
Expand All @@ -82,10 +80,8 @@ WORKDIR /stackable
RUN <<EOF
microdnf update
# cyrus-sasl-gssapi: needed by kcat for kerberos
# kubectl: Can be removed once listener-operator integration is used
microdnf install \
cyrus-sasl-gssapi \
kubectl
cyrus-sasl-gssapi

microdnf clean all
rpm -qa --qf "%{NAME}-%{VERSION}-%{RELEASE}\n" | sort > /stackable/package_manifest.txt
Expand Down
7 changes: 0 additions & 7 deletions kafka/kubernetes.repo

This file was deleted.

0 comments on commit c716fe5

Please sign in to comment.