Closed mpern closed 10 hours ago
on a related note:
Can someone please give clear guidance on when to use helmExecute
and/or kuberentesDeploy
?
both commands have a big overlap in functionality (both support helm3) but don't support the same use caases / behave slightly differently. :(
Thank you for your contribution! This issue is stale because it has been open 60 days with no activity. In order to keep it open, please remove stale label or add a comment within the next 10 days. If you need a Piper team member to remove the stale label make sure to add @SAP/jenkins-library-team
to your comment.
@anilkeshav27 this sound's like a reasonable request and also the ask for guidance is.
I'd even go as far as stating that the Piper team should consider adding a helmBuild
step for the build stage to include instead of relying on the defaults of helmExecute
.
Thank you for your contribution! This issue is stale because it has been open 60 days with no activity. In order to keep it open, please remove stale label or add a comment within the next 10 days. If you need a Piper team member to remove the stale label make sure to add @SAP/jenkins-library-team
to your comment.
@anilkeshav27 I don't think this should be marked stale.
Thank you for your contribution! This issue is stale because it has been open 60 days with no activity. In order to keep it open, please remove stale label or add a comment within the next 10 days. If you need a Piper team member to remove the stale label make sure to add @SAP/jenkins-library-team
to your comment.
Issue got stale and no further activity happened. It has automatically been closed. Please re-open in case you still consider it relevant.
To ensure reproducible deployments with helm chart repositories during CD, you need to run
helm dependencies build
to ensure to use the charts as defined in theChart.lock
file.https://helm.sh/docs/helm/helm_dependency_build/
To use
build
, you need to register the chart repository beforehand, otherwise it is rejected for security reasons (see helm/helm/issues/8036 for details).At the moment
helmExecute
only supports a single chart repository (sourceRepository*
parameters) which is not enough for more complex deployments which can depend on multiple repositories.sourceRepositories
helm repo add
all repositories in the array before executing the configureddependency
command.