-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix edgebox appinst bringup from private registry (#1454)
- Loading branch information
Showing
3 changed files
with
42 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,7 +88,7 @@ func CreateDockerRegistrySecret(ctx context.Context, client ssh.Client, kconf st | |
// may put multiple apps in the same ClusterInst and they may come | ||
// from different registries. | ||
cmd := fmt.Sprintf("kubectl create secret docker-registry %s "+ | ||
"--docker-server=%s --docker-username=%s --docker-password=%s "+ | ||
"--docker-server=%s --docker-username='%s' --docker-password='%s' "+ | ||
"[email protected] --kubeconfig=%s", | ||
secretName, dockerServer, auth.Username, auth.Password, | ||
kconf) | ||
|