Skip to content

Commit

Permalink
Merge pull request #231 from cpanato/pin-helm
Browse files Browse the repository at this point in the history
pin helm chart to a specific version
  • Loading branch information
k8s-ci-robot authored Apr 7, 2023
2 parents bcb59a1 + 73bce17 commit 8faafbc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/third_party_integration/helm/helm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ func TestHelmChartRepoWorkflow(t *testing.T) {
if err != nil {
t.Fatal("failed to upgrade helm repo")
}
err = manager.RunInstall(helm.WithName("nginx"), helm.WithNamespace(namespace), helm.WithReleaseName("nginx-stable/nginx-ingress"))
err = manager.RunInstall(helm.WithName("nginx"), helm.WithNamespace(namespace),
helm.WithReleaseName("nginx-stable/nginx-ingress"),
// pinning to a specific verision to make sure we will have reproducible executions
helm.WithVersion("0.17.0"),
)
if err != nil {
t.Fatal("failed to install nginx Helm chart")
}
Expand Down

0 comments on commit 8faafbc

Please sign in to comment.