Package org.cdk8s

Class Helm.Builder

  • All Implemented Interfaces:
    software.amazon.jsii.Builder<Helm>
    Enclosing class:
    Helm

    @Stability(Stable)
    public static final class Helm.Builder
    extends Object
    implements software.amazon.jsii.Builder<Helm>
    A fluent builder for Helm.
    • Method Detail

      • create

        @Stability(Stable)
        public static Helm.Builder create​(software.constructs.Construct scope,
                                          String id)
        Parameters:
        scope - This parameter is required.
        id - This parameter is required.
        Returns:
        a new instance of Helm.Builder.
      • chart

        @Stability(Stable)
        public Helm.Builder chart​(String chart)
        The chart name to use. It can be a chart from a helm repository or a local directory.

        This name is passed to helm template and has all the relevant semantics.

        Example:

         "bitnami/redis"
         

        Parameters:
        chart - The chart name to use. It can be a chart from a helm repository or a local directory. This parameter is required.
        Returns:
        this
      • helmExecutable

        @Stability(Stable)
        public Helm.Builder helmExecutable​(String helmExecutable)
        The local helm executable to use in order to create the manifest the chart.

        Default: "helm"

        Parameters:
        helmExecutable - The local helm executable to use in order to create the manifest the chart. This parameter is required.
        Returns:
        this
      • helmFlags

        @Stability(Stable)
        public Helm.Builder helmFlags​(List<String> helmFlags)
        Additional flags to add to the `helm` execution.

        Default: []

        Parameters:
        helmFlags - Additional flags to add to the `helm` execution. This parameter is required.
        Returns:
        this
      • values

        @Stability(Stable)
        public Helm.Builder values​(Map<String,​? extends Object> values)
        Values to pass to the chart.

        Default: - If no values are specified, chart will use the defaults.

        Parameters:
        values - Values to pass to the chart. This parameter is required.
        Returns:
        this
      • build

        @Stability(Stable)
        public Helm build()
        Specified by:
        build in interface software.amazon.jsii.Builder<Helm>