Skip to content

Commit c716fe5

Browse files
authored
chore(kafka): Remove kubectl (#884)
chore(kafka)!: Remove kubectl
1 parent 15acf1e commit c716fe5

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ All notable changes to this project will be documented in this file.
99
- nifi: Add NiFi hadoop Azure and GCP libraries ([#943]).
1010
- base: Add containerdebug tool ([#928]).
1111

12+
### Removed
13+
14+
- kafka: Remove `kubectl`, as we are now using listener-op ([#884]).
15+
16+
[#884]: https://github.com/stackabletech/docker-images/pull/884
1217
[#928]: https://github.com/stackabletech/docker-images/pull/928
1318
[#943]: https://github.com/stackabletech/docker-images/pull/943
1419

kafka/Dockerfile

+1-5
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ LABEL name="Apache Kafka" \
6868
summary="The Stackable image for Apache Kafka." \
6969
description="This image is deployed by the Stackable Operator for Apache Kafka."
7070

71-
# This is needed for kubectl
72-
COPY kafka/kubernetes.repo /etc/yum.repos.d/kubernetes.repo
7371
COPY --chown=${STACKABLE_USER_UID}:0 kafka/licenses /licenses
7472
COPY --chown=${STACKABLE_USER_UID}:0 --from=kafka-builder /stackable/kafka_${SCALA}-${PRODUCT} /stackable/kafka_${SCALA}-${PRODUCT}
7573
COPY --chown=${STACKABLE_USER_UID}:0 --from=kafka-builder /stackable/kafka_${SCALA}-${PRODUCT}.cdx.json /stackable/kafka_${SCALA}-${PRODUCT}/kafka_${SCALA}-${PRODUCT}.cdx.json
@@ -82,10 +80,8 @@ WORKDIR /stackable
8280
RUN <<EOF
8381
microdnf update
8482
# cyrus-sasl-gssapi: needed by kcat for kerberos
85-
# kubectl: Can be removed once listener-operator integration is used
8683
microdnf install \
87-
cyrus-sasl-gssapi \
88-
kubectl
84+
cyrus-sasl-gssapi
8985

9086
microdnf clean all
9187
rpm -qa --qf "%{NAME}-%{VERSION}-%{RELEASE}\n" | sort > /stackable/package_manifest.txt

kafka/kubernetes.repo

-7
This file was deleted.

0 commit comments

Comments
 (0)