Comments (7)
@liborfuka: With the provided input I am unable to reproduce the issue.
More specifically I used the spring-boot-on-kubernetes-example
and added the dekorate and spring boms:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.dekorate</groupId>
<artifactId>dekorate-bom</artifactId>
<version>3.6.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>3.1.4</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
from dekorate.
The error message itself most probably means that https://github.com/fabric8io/kubernetes-client/blob/main/httpclient-okhttp/pom.xml is not present in your class path.
The dependency should be brought in by io.fabric8:kubernetes-client:6.6.2
which is used by dekorate-core
.
Check that a bom is not somehow forcing different version or add the dependency explicitly to your project if it does.
from dekorate.
I have parent BOM which brings org.springframework.cloud.spring-cloud-starter-kubernetes-fabric8 3.0.4 and it brings fabric8.kubernetes-client 6.2.0 but this should be ok.
from dekorate.
I tested the same application with dekorate-spring-bom 2.11.5.redhat-00017 and it does not raise the exception Provider io.fabric8.kubernetes.client.okhttp.OkHttpClientFactory not found.
It raises the exception with dekorate-spring-bom 3.6.1.
from dekorate.
They changed it in kubernetes-client pom: https://github.com/fabric8io/kubernetes-client/blob/v6.6.2/kubernetes-client/pom.xml.
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-httpclient-okhttp</artifactId>
<scope>runtime</scope>
</dependency>
It is scope runtime now.
from dekorate.
Fixed in 3.7.6
from dekorate.
This issue is back from 4.0.0 tag.
from dekorate.
Related Issues (20)
- Certmanager annotation config fails missing name HOT 1
- Helm: Generate a README.md file containing the values parameters HOT 1
- Helm: Generate the `values.schema.json` file
- Setting 0 replicas is broken for Deployment, DeploymentConfig and StatefulSet
- Dekorate BOM declares a non-existing dependency HOT 1
- Adding an empty property configuration to the Session has unintended side effects.
- CI: Cover scenario with Pipeline runs for Tekton HOT 1
- Tekton: Use params.XXX instead of inputs.params.XXX
- Dekorate BOM 3.7.0 is missing HOT 6
- Empty ProjectParseResourceFileTest.java in the repo
- settings.gradle.kts failed to parse rootProject variable on windows
- Build step io.quarkus.kubernetes.deployment.KubernetesProcessor#build threw an exception: java.lang.IncompatibleClassChangeError: class io.dekorate.tekton.config.TektonConfigFluent has interface io.dekorate.kubernetes.config.ApplicationConfigurationFluent as super class HOT 5
- Dekorate option output-path doesn't generate the files in the desired location HOT 1
- No tekton yaml resource is populated
- Typo in openshift VCS annotation
- Using dekorate.openshift.deployment-kind=Deployment produces empty {}
- Extract Helm model into separate artifact to make it easier to reuse
- support kubernetes affinity
- kubernetes-spring-starter did not generate k8n manifest files in gradle
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dekorate.