Skip to content
This repository was archived by the owner on Oct 5, 2022. It is now read-only.
This repository was archived by the owner on Oct 5, 2022. It is now read-only.

how does helm goal work? #7082

@jeusdi

Description

@jeusdi

We're using fabric8 maven plugin in order to build and deploy our maven projects into kubernetes.

I don't quite figure out how to use fabric8:helm goal.

I've tried to get some details about what exactly it makes, but I don't quite get it:

$ mvn help:describe -Dgoal=helm -DgroupId=io.fabric8 -DartifactId=fabric8-maven-plugin -Ddetail

And this is the output:

fabric8:helm
  Description: Generates a Helm chart for the kubernetes resources
  Implementation: io.fabric8.maven.plugin.mojo.build.HelmMojo
  Language: java
  Bound to phase: pre-integration-test

  Available parameters:

    helm
      (no description available)

    kubernetesManifest (Default:
    ${basedir}/target/classes/META-INF/fabric8/kubernetes.yml)
      User property: fabric8.kubernetesManifest
      The generated kubernetes YAML file

    kubernetesTemplate (Default:
    ${basedir}/target/classes/META-INF/fabric8/k8s-template.yml)
      User property: fabric8.kubernetesTemplate
      The generated kubernetes YAML file

    skip (Default: false)
      User property: fabric8.skip
      (no description available)

    ...

Inside our projects we have out artifacts inside src/main/fabric8. The content of this folder is:

tree src/main/fabric8
src/main/fabric8
├── forum-configmap.yaml
├── forum-deployment.yaml
├── forum-route.yaml
└── forum-service.yaml

These are files only related with kubernetes.

I've not been able to find any snippet over there about:

  1. Which kind of files do I need to add on my project? helm files?
  2. Which is exactly the output of this goal?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions