Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update derailed/popeye docker tag to v0.20.0 #1072

Merged
merged 2 commits into from
Feb 19, 2024
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
6 changes: 3 additions & 3 deletions charts/popeye/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: popeye
description: Popeye - A Kubernetes Cluster Sanitizer
type: application
version: 1.4.6
appVersion: "v0.11.3"
version: 2.0.0
appVersion: "v0.20.0"
home: https://github.com/christianknell/helm-charts
icon: https://raw.githubusercontent.com/derailed/popeye/master/assets/popeye_logo.png
maintainers:
Expand All @@ -15,7 +15,7 @@ annotations:
artifacthub.io/category: security
artifacthub.io/changes: |
- kind: changed
description: bumped image version to v0.11.3
description: bumped image version to v0.20.0
artifacthub.io/screenshots: |
- title: Popeye is a utility that scans live Kubernetes cluster and reports potential issues with deployed resources and configurations.
url: https://popeyecli.io/assets/d_score.png
10 changes: 8 additions & 2 deletions charts/popeye/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ The command removes all the Kubernetes components associated with the chart and
| cronJob.s3.endpoint | string | `""` | example endpoint: "https://s3.us-east-1.amazonaws.com" |
| cronJob.s3.region | string | `""` | example region: "us-east-1" |
| cronJob.schedule | string | `"* */1 * * *"` | |
| cronJob.spinachConfiguration | string | `nil` | |
| cronJob.spinachConfiguration | string | `""` | |
| fullnameOverride | string | `""` | String to fully override `"popeye.fullname"` |
| image.pullPolicy | string | `"Always"` | image pull policy |
| image.repository | string | `"derailed/popeye"` | image repository |
| image.tag | string | `"v0.11.3"` | Overrides the image tag |
| image.tag | string | `"v0.20.0"` | Overrides the image tag |
| imagePullSecrets | list | `[]` | If defined, uses a Secret to pull an image from a private Docker registry or repository. |
| nameOverride | string | `""` | Provide a name in place of `popeye` |
| nodeSelector | object | `{}` | Node labels for pod assignment |
Expand All @@ -84,3 +84,9 @@ Alternatively, a YAML file that specifies the values for the parameters can be p
```console
helm install my-release -f values.yaml christianknell/popeye
```

## Upgrading the Chart

### To 2.0.0

This major upgrades the Docker Image to v0.20.0. This new version contains breaking changes in the SpinachYAML configuration. See [here](SpinachYAML configuration ) for more information.
6 changes: 6 additions & 0 deletions charts/popeye/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,9 @@ Alternatively, a YAML file that specifies the values for the parameters can be p
```console
helm install my-release -f values.yaml christianknell/popeye
```

## Upgrading the Chart

### To 2.0.0

This major upgrades the Docker Image to v0.20.0. This new version contains breaking changes in the SpinachYAML configuration. See [here](SpinachYAML configuration ) for more information.
2 changes: 1 addition & 1 deletion charts/popeye/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"type": "string"
},
"spinachConfiguration": {
"type": "null"
"type": "object"
}
}
},
Expand Down
79 changes: 52 additions & 27 deletions charts/popeye/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ image:
# -- image pull policy
pullPolicy: Always
# -- Overrides the image tag
tag: "v0.11.3"
tag: "v0.20.0"

# -- If defined, uses a Secret to pull an image from a private Docker registry or repository.
imagePullSecrets: []
Expand Down Expand Up @@ -80,34 +80,59 @@ cronJob:
# -- example region: "us-east-1"
region: ""
schedule: "* */1 * * *"
spinachConfiguration:
spinachConfiguration: {}
# # A Popeye sample configuration file
# popeye:
# # Checks resources against reported metrics usage.
# # If over/under these thresholds a sanitization warning will be issued.
# # Your cluster must run a metrics-server for these to take place!
# allocations:
# cpu:
# underPercUtilization: 200 # Checks if cpu is under allocated by more than 200% at current load.
# overPercUtilization: 50 # Checks if cpu is over allocated by more than 50% at current load.
# underPercUtilization: 200
# overPercUtilization: 50
# memory:
# underPercUtilization: 200 # Checks if mem is under allocated by more than 200% at current load.
# overPercUtilization: 50 # Checks if mem is over allocated by more than 50% usage at current load.
# # Configure node resources.
# node:
# # Limits set a cpu/mem threshold in % ie if cpu|mem > limit a lint warning is triggered.
# limits:
# # CPU checks if current CPU utilization on a node is greater than 90%.
# cpu: 90
# # Memory checks if current Memory utilization on a node is greater than 80%.
# memory: 80
# # Configure pod resources
# pod:
# # Restarts check the restarts count and triggers a lint warning if above threshold.
# restarts:
# 3
# # Check container resource utilization in percent.
# # Issues a lint warning if about these threshold.
# limits:
# cpu: 80
# memory: 75
# underPercUtilization: 200
# overPercUtilization: 50
# # [!!NEW!!] Specify global exclusions for fqn, codes, labels, annotations
# excludes:
# global:
# # Exclude kube-system ns for all linters.
# fqns: [rx:^kube-system]
# # Exclude these workload labels for all linters.
# labels:
# app: [blee, bozo]
# # [!!NEW!!] Linters exclude section
# linters:
# # [!!NEW!!] use the R from GVR resource specification to name the linter
# statefulsets:
# # [!!NEW!!] Exclude codes via regexp ie skip 101, 1000,...
# codes: ["rx:^10"]
# instances:
# # Skip scan for a particular FQN aka namespace/res-name
# - fqns: [default/prom-alertmanager]
# codes: [106]
# pods:
# codes: ["306", "rx:^11"]
# instances:
# - fqns: [rx:^default/prom]
# - fqns: [rx:^default/graf]
# # [!!NEW!!] Skip using either labels or annotations and/or specific codes
# - labels:
# app: [blee, blah, zorg]
# codes: [300]
# - fqns: [rx:^default/pappi]
# codes: [300, 102, 306]
# containers: [c1]
# resources:
# node:
# limits:
# cpu: 90
# memory: 80
# pod:
# limits:
# cpu: 80
# memory: 75
# restarts: 3
# overrides:
# - code: 1502
# severity: 3
# registries:
# - quay2.io
# - docker1.io
Loading