Skip to content

Commit

Permalink
Merge pull request #24 from stefanjay/FIX_kafka-runtime-user__UPDATE_…
Browse files Browse the repository at this point in the history
…kafka-v3.6.0

FIX_kafka-runtime-user__UPDATE_kafka-v3.6.0
  • Loading branch information
stefanjay authored Oct 6, 2023
2 parents dc444b7 + b93e8b7 commit b755471
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM openjdk:17-bullseye

ENV KAFKA_VERSION=3.3.2
ENV KAFKA_VERSION=3.6.0
ENV SCALA_VERSION=2.13
ENV KAFKA_HOME=/opt/kafka
ENV PATH=${PATH}:${KAFKA_HOME}/bin
Expand Down
10 changes: 5 additions & 5 deletions deploy-kafka.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ spec:
- name: kafka-container
image: kafkakraft/kafkakraft:latest
imagePullPolicy: Always
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: false
runAsNonRoot: true
runAsUser: 1001
# securityContext: # deactivated - issue can be tracked here: https://github.com/stefanjay/kafka-kraft-on-k8s/issues/23
# allowPrivilegeEscalation: false
# readOnlyRootFilesystem: false
# runAsNonRoot: true
# runAsUser: 1001
ports:
- containerPort: 9092
- containerPort: 9093
Expand Down
5 changes: 5 additions & 0 deletions kafka-connect/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ENV COUNTRY=DE
ENV STATE=B
ENV ORGANIZATION_UNIT=SVA
ENV CITY=Berlin
ENV PASSWORD=kS-G424<63@/9nG-94G&35d+C?VCf\P/
2 changes: 1 addition & 1 deletion kafka-connect/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM openjdk:21-bullseye

ENV KAFKA_VERSION=3.4.0
ENV KAFKA_VERSION=3.6.0
ENV SCALA_VERSION=2.13
ENV KAFKA_HOME=/opt/kafka
ENV PATH=${PATH}:${KAFKA_HOME}/bin
Expand Down
Binary file added kafka-connect/splunk-kafka-connect-v2.1.0.jar
Binary file not shown.

0 comments on commit b755471

Please sign in to comment.