Skip to content

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

@rohanKanojia

Description

@rohanKanojia

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions