Skip to content

Commit

Permalink
?>
Browse files Browse the repository at this point in the history
  • Loading branch information
laverya committed Oct 16, 2024
1 parent 15c0219 commit 6005b79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions operator/deploy/melange.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ environment:
- go
environment:
GOMODCACHE: /var/cache/melange
VERSION: ${PACKAGE_VERSION}

pipeline:
- runs: |
Expand Down
3 changes: 1 addition & 2 deletions operator/pkg/cli/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ func RootCmd() *cobra.Command {
Run: func(cmd *cobra.Command, args []string) {
zaplog := zap.New(zap.UseDevMode(true))
ctrl.SetLogger(zaplog)
setupLog.Info("Starting manager", "version", versions.Version, "k0sversion", versions.K0sVersion)

mgr, err := ctrl.NewManager(ctrl.GetConfigOrDie(), ctrl.Options{
Scheme: k8sutil.Scheme(),
Expand Down Expand Up @@ -83,7 +82,7 @@ func RootCmd() *cobra.Command {
os.Exit(1)
}

setupLog.Info("Starting manager")
setupLog.Info("Starting manager", "version", versions.Version, "k0sversion", versions.K0sVersion)
if err := mgr.Start(ctrl.SetupSignalHandler()); err != nil {
setupLog.Error(err, "problem running manager")
os.Exit(1)
Expand Down

0 comments on commit 6005b79

Please sign in to comment.