All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.eks.HelmChart.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.eks

import scala.collection.JavaConverters._

@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object HelmChart {

  def apply(
    internalResourceId: String,
    cluster: software.amazon.awscdk.services.eks.ICluster,
    createNamespace: Option[Boolean] = None,
    repository: Option[String] = None,
    chartAsset: Option[software.amazon.awscdk.services.s3.assets.Asset] = None,
    version: Option[String] = None,
    chart: Option[String] = None,
    values: Option[Map[String, _]] = None,
    release: Option[String] = None,
    timeout: Option[software.amazon.awscdk.Duration] = None,
    namespace: Option[String] = None
  )(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.eks.HelmChart =
    software.amazon.awscdk.services.eks.HelmChart.Builder
      .create(stackCtx, internalResourceId)
      .cluster(cluster)
      .createNamespace(createNamespace.map(Boolean.box).orNull)
      .repository(repository.orNull)
      .chartAsset(chartAsset.orNull)
      .version(version.orNull)
      .chart(chart.orNull)
      .values(values.map(_.asJava).orNull)
      .release(release.orNull)
      .timeout(timeout.orNull)
      .namespace(namespace.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy