Skip to content

Commit

Permalink
Skip TLS certificate validation when pushing model to a registry (#280)
Browse files Browse the repository at this point in the history
Signed-off-by: zhangwei <zhangwei24@apache.org>

Signed-off-by: zhangwei <zhangwei24@apache.org>
  • Loading branch information
arugal committed Nov 28, 2022
1 parent 61b7014 commit b326ea1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/model/modelversion_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ func createImgBuildPod(model *modelv1alpha1.ModelVersion, pvc *v1.PersistentVolu
Name: imgBuildPodName,
Image: options.CtrlConfig.ModelImageBuilder,
Args: []string{
"--skip-tls-verify=true",
"--dockerfile=/workspace/dockerfile",
"--context=dir:///workspace/",
fmt.Sprintf("--destination=%s", newImage)},
Expand Down

0 comments on commit b326ea1

Please sign in to comment.