diff --git a/stable/k8s-inventory/Chart.yaml b/stable/k8s-inventory/Chart.yaml index 73192690..dbaa61c3 100644 --- a/stable/k8s-inventory/Chart.yaml +++ b/stable/k8s-inventory/Chart.yaml @@ -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 diff --git a/stable/k8s-inventory/templates/configmap.yaml b/stable/k8s-inventory/templates/configmap.yaml index 468aa181..e31e00f9 100644 --- a/stable/k8s-inventory/templates/configmap.yaml +++ b/stable/k8s-inventory/templates/configmap.yaml @@ -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 }} diff --git a/stable/k8s-inventory/values.yaml b/stable/k8s-inventory/values.yaml index 79f4470a..0188ba38 100644 --- a/stable/k8s-inventory/values.yaml +++ b/stable/k8s-inventory/values.yaml @@ -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 ## @@ -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