jkube icon indicating copy to clipboard operation
jkube copied to clipboard

`k8s:watch`/`k8sWatch` should throw error in `buildpacks` build strategy

Open rohanKanojia opened this issue 1 year ago • 0 comments

Component

JKube Kit

Task description

Description

Related to #439

Currently, in both cases, spring boot and docker watch don't work with buildpacks build strategy. Since by relying on buildpacks we don’t have control over how application container image is being created, it’s better not to support this functionality with buildpacks.

Expected Behavior

As a user, when I run k8s:watch in buildpacks build strategy, I should get a error that k8s:watch goal is not supported in buildpacks build strategy.

Acceptance Criteria

Given:

  • User is using buildpacks build strategy
  • User has built and deployed his application onto Kubernetes using JKube plugins When:
  • User performs k8s:watch goal

Then:

  • User gets an error that this functionality is not supported in buildpacks build strategy

rohanKanojia avatar Nov 21 '23 15:11 rohanKanojia