-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use created namespace name during
run --wait
(#930)
When using a manifest from a file and the `--wait` flag with `run`, a segfault would happen because the value is retrieved from the `config.Config` which is part of the `GenConfig` within the `RunConfig`. When using a file, this config is nil, so an attempt to retrieve the namespace value resulted in a segfault. Instead, we can capture the namespace from the objects within the manifest file when they are being created by the Kubernetes client. Signed-off-by: Bridget McErlean <[email protected]>
- Loading branch information
1 parent
15ab7f3
commit 7218d76
Showing
3 changed files
with
51 additions
and
1 deletion.
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