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

feat: bump k8s-inventory to 1.6.0 #387

Merged
merged 1 commit into from
Jun 11, 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
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

## @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
Loading