@ -104,6 +104,7 @@ var createHelmReleaseCmd = &cobra.Command{
typehelmReleaseFlagsstruct{
namestring
sourceflags.HelmChartSource
sourceNamespacestring
dependsOn[]string
chartstring
chartVersionstring
@ -118,6 +119,7 @@ var helmReleaseArgs helmReleaseFlags
funcinit(){
createHelmReleaseCmd.Flags().StringVar(&helmReleaseArgs.name,"release-name","","name used for the Helm release, defaults to a composition of '[<target-namespace>-]<HelmRelease-name>'")
createHelmReleaseCmd.Flags().StringVar(&helmReleaseArgs.sourceNamespace,"source-namespace","","the namespace of the source, defaults to the HelmRelease namespace")
createHelmReleaseCmd.Flags().StringVar(&helmReleaseArgs.chart,"chart","","Helm chart name or path")
createHelmReleaseCmd.Flags().StringVar(&helmReleaseArgs.chartVersion,"chart-version","","Helm chart version, accepts a semver range (ignored for charts from GitRepository sources)")
createHelmReleaseCmd.Flags().StringArrayVar(&helmReleaseArgs.dependsOn,"depends-on",nil,"HelmReleases that must be ready before this release can be installed, supported formats '<name>' and '<namespace>/<name>'")
createKsCmd.Flags().StringVar(&kustomizationArgs.sourceNamespace,"source-namespace","","the namespace of the source, defaults to the Kustomization namespace")
createKsCmd.Flags().Var(&kustomizationArgs.path,"path","path to the directory containing a kustomization.yaml file")
createKsCmd.Flags().StringArrayVar(&kustomizationArgs.healthCheck,"health-check",nil,"workload to be included in the health assessment, in the format '<kind>/<name>.<namespace>'")
--release-name string name used for the Helm release, defaults to a composition of '[<target-namespace>-]<HelmRelease-name>'
--service-account string the name of the service account to impersonate when reconciling this HelmRelease
--source helmChartSource source that contains the chart in the format '<kind>/<name>', where kind must be one of: (HelmRepository, GitRepository, Bucket)
--source-namespace string the namespace of the source, defaults to the HelmRelease namespace
--target-namespace string namespace to install this release, defaults to the HelmRelease namespace
--values stringArray local path to values.yaml files
--values-from helmReleaseValuesFrom Kubernetes object reference that contains the values.yaml data key in the format '<kind>/<name>', where kind must be one of: (Secret, ConfigMap)
--service-account string the name of the service account to impersonate when reconciling this Kustomization
--source kustomizationSource source that contains the Kubernetes manifests in the format '[<kind>/]<name>', where kind must be one of: (GitRepository, Bucket), if kind is not specified it defaults to GitRepository
--source-namespace string the namespace of the source, defaults to the Kustomization namespace
--target-namespace string overrides the namespace of all Kustomization objects reconciled by this Kustomization
--validation string validate the manifests before applying them on the cluster, can be 'client' or 'server'