Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ var applyCmd = &cobra.Command{

func init() {
rootCmd.AddCommand(applyCmd)
applyCmd.Flags().BoolVarP(&Dev, "dev", "", false, "Sets conditions to allow development testing.")
applyCmd.Flags().BoolVarP(&Dev, "latest", "", false, "Sets conditions to allow development/latest testing.")
}

func getPodInfo(podName string, podNamespace string) (res string, errMessage string, err error) {
Expand Down
4 changes: 2 additions & 2 deletions cmd/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ func GenerateKustomizeResult(config opConfig.Config, kustomizeTemplate template.
coreUiImageTag := opConfig.CoreUIImageTag
coreUiImagePullPolicy := "IfNotPresent"
if Dev {
coreImageTag = "dev"
coreImageTag = "latest"
coreImagePullPolicy = "Always"
coreUiImageTag = "dev"
coreUiImageTag = "latest"
coreUiImagePullPolicy = "Always"
}
yamlFile.PutWithSeparator("applicationCoreImageTag", coreImageTag, ".")
Expand Down