Skip to content

Commit

Permalink
refactor: move JKubeKit Helm module to a top-level directory
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Nuri <marc@marcnuri.com>
  • Loading branch information
manusa committed Jan 30, 2024
1 parent aa41f75 commit 2ed5a8d
Show file tree
Hide file tree
Showing 61 changed files with 5 additions and 7 deletions.
6 changes: 3 additions & 3 deletions jkube-kit/resource/helm/pom.xml → jkube-kit/helm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
<groupId>org.eclipse.jkube</groupId>
<artifactId>jkube-kit-parent</artifactId>
<version>1.16-SNAPSHOT</version>
<relativePath>../../parent/pom.xml</relativePath>
<relativePath>../parent/pom.xml</relativePath>
</parent>

<artifactId>jkube-kit-resource-helm</artifactId>
<artifactId>jkube-kit-helm</artifactId>

<name>JKube Kit :: Resource :: Helm</name>
<name>JKube Kit :: Helm</name>

<dependencies>

Expand Down
2 changes: 1 addition & 1 deletion jkube-kit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
<module>enricher/generic</module>
<module>enricher/specific</module>
<module>profile</module>
<module>helm</module>
<module>resource/service</module>
<module>resource/helm</module>
<module>watcher/api</module>
<module>watcher/standard</module>
<module>remote-dev</module>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,15 +181,13 @@ public void executeInternal() throws MojoExecutionException {
isOpenShift ? "oc" : "kubectl");
} catch (KubernetesClientException e) {
KubernetesResourceUtil.handleKubernetesClientException(e, this.log);
} catch(InterruptedException ex) {
Thread.currentThread().interrupt();
} catch (Exception e) {
throw new MojoExecutionException(e.getMessage(), e);
}

}

protected void applyEntities(final KubernetesClient kubernetes, String fileName, final Collection<HasMetadata> entities) throws InterruptedException {
protected void applyEntities(final KubernetesClient kubernetes, String fileName, final Collection<HasMetadata> entities) {
applyService.applyEntities(fileName, entities);
}

Expand Down

0 comments on commit 2ed5a8d

Please sign in to comment.