Skip to content

Commit

Permalink
feat: bump k8s-inventory to 1.6.0
Browse files Browse the repository at this point in the history
Signed-off-by: Bradley Jones <[email protected]>
  • Loading branch information
bradleyjones committed Jun 10, 2024
1 parent fd967bd commit a3b2628
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 3 deletions.
4 changes: 2 additions & 2 deletions stable/k8s-inventory/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: k8s-inventory
version: 0.3.0
appVersion: "1.5.1"
version: 0.4.0
appVersion: "1.6.0"
description: A Helm chart for Kubernetes Automated Inventory, which describes which images are in use in a given Kubernetes Cluster
keywords:
- analysis
Expand Down
15 changes: 15 additions & 0 deletions stable/k8s-inventory/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,21 @@ data:
key: {{ .Values.k8sInventory.accountRouteByNamespaceLabel.key }}
default-account: {{ .Values.k8sInventory.accountRouteByNamespaceLabel.defaultAccount }}
ignore-namespace-missing-label: {{ .Values.k8sInventory.accountRouteByNamespaceLabel.ignoreNamespaceMissingLabel }}
inventory-report-limits:
namespaces: {{ .Values.k8sInventory.inventoryReportLimits.namespaces }}
metadata-collection:
nodes:
annotations: {{ .Values.k8sInventory.metadataCollection.nodes.annotations }}
labels: {{ .Values.k8sInventory.metadataCollection.nodes.labels }}
disable: {{ .Values.k8sInventory.metadataCollection.nodes.disable }}
namespaces:
annotations: {{ .Values.k8sInventory.metadataCollection.namespaces.annotations }}
labels: {{ .Values.k8sInventory.metadataCollection.namespaces.labels }}
disable: {{ .Values.k8sInventory.metadataCollection.namespaces.disable }}
pods:
annotations: {{ .Values.k8sInventory.metadataCollection.pods.annotations }}
labels: {{ .Values.k8sInventory.metadataCollection.pods.labels }}
disable: {{ .Values.k8sInventory.metadataCollection.pods.disable }}
anchore:
url: {{ .Values.k8sInventory.anchore.url }}
user: {{ .Values.k8sInventory.anchore.user }}
Expand Down
21 changes: 20 additions & 1 deletion stable/k8s-inventory/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ replicaCount: 1
image:
pullPolicy: "IfNotPresent"
repository: "anchore/k8s-inventory"
tag: "v1.5.1"
tag: "v1.6.0"

## @param imagePullSecrets secrets where Kubernetes should get the credentials for pulling private images
##
Expand Down Expand Up @@ -208,6 +208,25 @@ k8sInventory:
defaultAccount: "admin"
ignoreNamespaceMissingLabel: false

## k8sInventory.metadataCollection Configure/disable metadata collection within a report
metadataCollection:
nodes:
annotations: [] ## List of annotations to include (explicit or regex)
labels: [] ## List of labels to include (explicit or regex)
disable: false ## Remove all optional node metadata from the inventory report
namespaces:
annotations: [] ## List of annotations to include (explicit or regex)
labels: [] ## List of labels to include (explicit or regex)
disable: false ## Remove all optional namespace metadata from the inventory report
pods:
annotations: [] ## List of annotations to include (explicit or regex)
labels: [] ## List of labels to include (explicit or regex)
disable: false ## Remove all optional pod metadata from the inventory report

## k8sInventory.inventoryReportLimits Specify size limits of individual reports. If report size exceeds limits it will be broken into multiple batches up to the specified size.
inventoryReportLimits:
namespaces: 0 ## default of 0 means no limit

Check failure on line 228 in stable/k8s-inventory/values.yaml

View workflow job for this annotation

GitHub Actions / lint

228:19 [comments] too few spaces before comment

Check failure on line 228 in stable/k8s-inventory/values.yaml

View workflow job for this annotation

GitHub Actions / test (v1.24.17)

228:19 [comments] too few spaces before comment

Check failure on line 228 in stable/k8s-inventory/values.yaml

View workflow job for this annotation

GitHub Actions / test (v1.25.16)

228:19 [comments] too few spaces before comment

Check failure on line 228 in stable/k8s-inventory/values.yaml

View workflow job for this annotation

GitHub Actions / test (v1.26.14)

228:19 [comments] too few spaces before comment

Check failure on line 228 in stable/k8s-inventory/values.yaml

View workflow job for this annotation

GitHub Actions / test (v1.27.11)

228:19 [comments] too few spaces before comment

Check failure on line 228 in stable/k8s-inventory/values.yaml

View workflow job for this annotation

GitHub Actions / test (v1.28.7)

228:19 [comments] too few spaces before comment

Check failure on line 228 in stable/k8s-inventory/values.yaml

View workflow job for this annotation

GitHub Actions / test (v1.29.2)

228:19 [comments] too few spaces before comment

## @param k8sInventory.anchore.url the url of the anchore platform
## @param k8sInventory.anchore.user the username of the anchore platform. The user specified must be an admin user or have full-control, or read-write RBAC permissions
## @param k8sInventory.anchore.password the password of the anchore platform
Expand Down

0 comments on commit a3b2628

Please sign in to comment.