I have a Spring project to which I have made two very basic changes:
logger.info("testing changes made");
return new ResponseEntity<>(HttpStatus.NO_CONTENT); //previously HttpStatus.OK
I then:
- git committed the changes (not really necessary)
mvn clean install -P docker-build-image
docker tag my-service:old-tag my-service:new-tag
I then used this image to install the service in a kubernetes pod as follows:
echo "