fix kubernetes-maven-plugin upgrade

This commit is contained in:
2026-03-24 10:56:00 -04:00
parent 958f42d84c
commit c09f0b8093
2 changed files with 8 additions and 6 deletions
+4 -2
View File
@@ -56,15 +56,17 @@
<plugin>
<groupId>org.eclipse.jkube</groupId>
<artifactId>kubernetes-maven-plugin</artifactId>
<version>1.19.0</version> <!-- investigate why newer versions don't work -->
<version>1.19.0</version>
<configuration>
<images>
<image>
<name>${image.name}:${image.tag}</name>
<registry>${image.registry}</registry>
<build>
<contextDir>${project.build.directory}/resources</contextDir>
</build>
</image>
</images>
<contextDir>${project.build.directory}/resources</contextDir>
<buildStrategy>docker</buildStrategy>
<verbose>true</verbose>
</configuration>
+4 -4
View File
@@ -28,14 +28,14 @@ RUN cd /var/lib/tomcat/dev && \
mkdir web web-extra1 web-extra2 web-extra3 web-extra4 web-extra5 web-extra6 web-extra7
# Add our Docker container initialization script
ADD maven/target/resources/setenv.sh /usr/local/bin/${namespace.prefix}-setenv.sh
COPY maven/target/resources/docker-entrypoint.sh /usr/local/bin
ADD maven/setenv.sh /usr/local/bin/${namespace.prefix}-setenv.sh
COPY maven/docker-entrypoint.sh /usr/local/bin
RUN chmod 755 /usr/local/bin/docker-entrypoint.sh
# Add our Apache Tomcat configuration
# This gives us dynamic injection points into the running webapps
COPY maven/target/resources/tomcat-context.xml /var/lib/tomcat/conf/context.xml
ADD maven/target/resources/hotswap-agent.properties /var/lib/tomcat/lib
COPY maven/tomcat-context.xml /var/lib/tomcat/conf/context.xml
ADD maven/hotswap-agent.properties /var/lib/tomcat/lib
# Listening for HTTP (not HTTPS) traffic
EXPOSE 8080