Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm: NFR add support to execute helm commands #2392

Closed
3 tasks done
manusa opened this issue Sep 25, 2023 · 1 comment · Fixed by #2608
Closed
3 tasks done

Helm: NFR add support to execute helm commands #2392

manusa opened this issue Sep 25, 2023 · 1 comment · Fixed by #2608
Assignees
Milestone

Comments

@manusa
Copy link
Member

manusa commented Sep 25, 2023

Description

The main aim of JKube is to support most Helm operations without the need to download or use the helm CLI tool.

However, there are some operations that are only available through the usage of the client.

Provide the required architecture to be able to execute arbitrary helm commands.
We should also download the helm executable for the current platform so we make sure we're running a compatible CLI binary.

Note

We should download a specific CLI binary that we are sure works with JKube.
We should not rely on the user's PATH binary, or at most rely on this as a fallback.

2024-02-01 Update

After successful initial tests with https://github.com/manusa/helm-java, we can leverage this tool for the initial preview phase of the new Helm-related goals and tasks.

Required GitLab issues:

Once the IP due diligence is ready, we can add the dependency to the project:

/jkube-kit/parent/pom.xml

      <dependency>
        <groupId>com.marcnuri.helm-java</groupId>
        <artifactId>helm-java</artifactId>
        <version>${version.helm-java}</version>
      </dependency>

/pom.xml

    <version.helm-java>0.0.3</version.helm-java>
@manusa
Copy link
Member Author

manusa commented Jan 30, 2024

See current work on https://github.com/manusa/helm-java.

This provides native access to the Helm CLI library without the need for a Helm CLI.
By using this API we should be able to comply with this NFR and be able to provide any missing functionality for our Helm feature-set.

@manusa manusa moved this to Planned in Eclipse JKube Feb 1, 2024
@manusa manusa self-assigned this Feb 2, 2024
@manusa manusa moved this from Planned to In Progress in Eclipse JKube Feb 2, 2024
@manusa manusa moved this from In Progress to Review in Eclipse JKube Feb 2, 2024
@github-project-automation github-project-automation bot moved this from Review to Done in Eclipse JKube Feb 2, 2024
@manusa manusa added this to the 1.16.0 milestone Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant