Skip to content

Commit

Permalink
kots install support for custom branding
Browse files Browse the repository at this point in the history
  • Loading branch information
marccampbell committed Sep 8, 2019
1 parent 6281d32 commit a5378ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pkg/kotsadm/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ func waitForAPI(deployOptions *DeployOptions, clientset *kubernetes.Clientset) e
}

func ensureAPI(deployOptions *DeployOptions, clientset *kubernetes.Clientset) error {
if err := ensureApplicationMetadata(*deployOptions, clientset); err != nil {
return errors.Wrap(err, "failed to ensure custom branding")
}
if err := ensureAPIDeployment(*deployOptions, clientset); err != nil {
return errors.Wrap(err, "failed to ensure api deployment")
}
Expand Down
1 change: 0 additions & 1 deletion pkg/kotsadm/kotsadm.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ func Deploy(deployOptions DeployOptions) error {
return errors.Wrap(err, "failed to create namespace")
}
log.FinishChildSpinner()

} else if err != nil {
return errors.Wrap(err, "failed to get namespace")
}
Expand Down

0 comments on commit a5378ba

Please sign in to comment.