Redundant warning about using k8sCluster
slawekjaranowski opened this issue · comments
IMPROVEMENT REPORT
Environment (plugin version, maven version, OS, ...):
- plugin version:
6.4.0
- Maven version:
3.6.8
What happened:
I don't use k8sCluster
parameter in my configuration.
When execute in project eg, mvn helm:init
- for other goal is the same
The warning is
[WARNING] NOTE: <k8sCluster> option will be removed in future major release.
[WARNING] As per current implementation - <k8sCluster><*></k8sCluster> options win.
NOTE: <k8sCluster> option will be removed in future major release.
What you expected to happen:
No warning if k8sCluster
is not used in configuration.
How to reproduce it (as minimally and precisely as possible):
any project with simple configuration without k8sCluster
Anything else we need to know:
When use use @Parameter
with property
empty object for parameter will be always created, in debug mode we see:
[DEBUG] (s) k8sCluster = K8SCluster(apiUrl=null, namespace=null, asUser=null, asGroup=null)
Fixed with 6.4.1
@sschnabe thanks