Skip to content

Commit

Permalink
CSS-6390 - fix: leave cacert to verify OAuth certs and update jmx path (
Browse files Browse the repository at this point in the history
  • Loading branch information
gtato authored Mar 6, 2024
1 parent d0af5aa commit fa17e79
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
group: kafka
environment:
JAVA_HOME: /usr/lib/jvm/java-17-openjdk-amd64
KAFKA_OPTS: "-javaagent:/opt/kafka/jmx_prometheus_javaagent.jar=\n
KAFKA_OPTS: "-javaagent:/opt/kafka/libs/jmx_prometheus_javaagent.jar=\n
9101:/etc/kafka/jmx_prometheus.yaml\n
-Djava.security.auth.login.config=\n
/etc/kafka/kafka-jaas.cfg"
Expand Down Expand Up @@ -54,9 +54,6 @@ parts:
mkdir -p $CRAFT_PART_INSTALL/var/log/kafka/
mkdir -p $CRAFT_PART_INSTALL/opt/kafka/
mkdir -p $CRAFT_PART_INSTALL/etc/kafka/
override-prime: |
craftctl default
rm -vf usr/lib/jvm/java-17-openjdk-amd64/lib/security/cacerts
organize:
bin: opt/kafka/bin/
libs: opt/kafka/libs/
Expand Down

0 comments on commit fa17e79

Please sign in to comment.