Skip to content

Commit

Permalink
Merge pull request #281 from derailed/popeye/release_v0.20.1
Browse files Browse the repository at this point in the history
Release v0.20.1
  • Loading branch information
derailed authored Feb 19, 2024
2 parents 9de473d + c04795a commit 136c03e
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
NAME := popeye
PACKAGE := github.com/derailed/$(NAME)
VERSION := v0.20.0
VERSION := v0.20.1
GIT := $(shell git rev-parse --short HEAD)
DATE := $(shell date +%FT%T%Z)
IMG_NAME := derailed/popeye
Expand Down
19 changes: 19 additions & 0 deletions change_logs/release_v0.20.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<img src="https://raw.githubusercontent.com/derailed/popeye/master/assets/popeye_logo.png" align="right" width="200" height="auto"/>

# Release v0.20.1

## Notes

Thank you to all that contributed with flushing out issues and enhancements for Popeye! I'll try to mark some of these issues as fixed. But if you don't mind grab the latest rev and see if we're happier with some of the fixes! If you've filed an issue please help me verify and close. Your support, kindness and awesome suggestions to make Popeye better is as ever very much noticed and appreciated!

This project offers a GitHub Sponsor button (over here 👆). As you well know this is not pimped out by big corps with deep pockets. If you feel `Popeye` is saving you cycles diagnosing potential cluster issues please consider sponsoring this project!! It does go a long way in keeping our servers lights on and beers in our fridge.

Also if you dig this tool, please make some noise on social! [@kitesurfer](https://twitter.com/kitesurfer)

---

## Patch Release

---

<img src="https://raw.githubusercontent.com/derailed/popeye/master/assets/imhotep_logo.png" width="32" height="auto"/>&nbsp; © 2024 Imhotep Software LLC. All materials licensed under [Apache v2.0](http://www.apache.org/licenses/LICENSE-2.0)
1 change: 0 additions & 1 deletion internal/dag/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ func ListVersion(ctx context.Context) (*semver.Version, error) {
if err != nil {
return nil, err
}

rev, err := semver.NewVersion(info.Major + "." + info.Minor)
if err != nil {
return nil, err
Expand Down
3 changes: 2 additions & 1 deletion internal/scrub/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"github.com/derailed/popeye/internal/lint"
"github.com/derailed/popeye/pkg/config"
"github.com/derailed/popeye/types"
"github.com/rs/zerolog/log"
)

// Cluster represents a Cluster scruber.
Expand All @@ -33,7 +34,7 @@ func NewCluster(ctx context.Context, c *Cache, codes *issues.Codes) Linter {
var err error
cl.Cluster, err = c.cluster(ctx)
if err != nil {
cl.AddErr(ctx, err)
log.Error().Err(err).Msgf("Unable to gather cluster info")
}

return &cl
Expand Down
5 changes: 1 addition & 4 deletions pkg/popeye.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func (p *Popeye) initFactory() error {
}
ok, err := clt.CanI(client.AllNamespaces, gvr, types.ReadAllAccess...)
if !ok || err != nil {
return fmt.Errorf("Current user does not have read access for resource %q -- %w", gvr, err)
return fmt.Errorf("current user does not have read access for resource %q -- %w", gvr, err)
}
if _, err := f.ForResource(client.AllNamespaces, gvr); err != nil {
return err
Expand Down Expand Up @@ -187,9 +187,6 @@ func (p *Popeye) Lint() (int, int, error) {
}
log.Debug().Msgf("Score [%d]", score)

if config.IsStrSet(p.flags.S3.Bucket) {
}

return errCount, score, p.dump(true, p.flags.Exhaust())
}

Expand Down

0 comments on commit 136c03e

Please sign in to comment.