Skip to content

Customization

Frank Jogeleit edited this page Mar 19, 2021 · 2 revisions

All configurations are available under the monitoring SubChart Prefix.

PolicyReport Overview Dashboard

Value Default
policyReportOverview.failingSummaryRow.height 8
policyReportOverview.failingTimeline.height 10
policyReportOverview.failingPolicyRuleTable.height 10
policyReportOverview.failingClusterPolicyRuleTable.height 10

PolicyReport Details Dashboard

Value Default
policyReportDetails.firstStatusRow.height 6
policyReportDetails.secondStatusRow.enabled true
policyReportDetails.secondStatusRow.height 2
policyReportDetails.statusTimeline.enabled true
policyReportDetails.statusTimeline.height 8
policyReportDetails.passTable.enabled true
policyReportDetails.passTable.height 8
policyReportDetails.failTable.enabled true
policyReportDetails.failTable.height 8
policyReportDetails.warningTable.enabled true
policyReportDetails.warningTable.height 4
policyReportDetails.errorTable.enabled true
policyReportDetails.errorTable.height 4

ClusterPolicyReport Details Dashboard

Value Default
clusterPolicyReportDetails.statusRow.height 6
clusterPolicyReportDetails.statusTimeline.enabled true
clusterPolicyReportDetails.statusTimeline.height 8
clusterPolicyReportDetails.passTable.enabled true
clusterPolicyReportDetails.passTable.height 8
clusterPolicyReportDetails.failTable.enabled true
clusterPolicyReportDetails.failTable.height 8
clusterPolicyReportDetails.warningTable.enabled true
clusterPolicyReportDetails.warningTable.height 4
clusterPolicyReportDetails.errorTable.enabled true
clusterPolicyReportDetails.errorTable.height 4

Example Configuration

This example configuration removes the error, warning tables and charts as well es increase the default height values. Because Kyverno only supports fail and pass validation at this point in time.

# values.yaml

monitoring:
  enabled: true

  policyReportDetails:
    firstStatusRow:
      height: 6
    secondStatusRow:
      enabled: false
      height: 2
    statusTimeline:
      enabled: true
      height: 8
    passTable:
      enabled: true
      height: 8
    failTable:
      enabled: true
      height: 8
    warningTable:
      enabled: false
      height: 4
    errorTable:
      enabled: false
      height: 4

  clusterPolicyReportDetails:
    statusRow:
      height: 6
    statusTimeline:
      enabled: true
      height: 8
    passTable:
      enabled: true
      height: 8
    failTable:
      enabled: true
      height: 8
    warningTable:
      enabled: false
      height: 4
    errorTable:
      enabled: false
      height: 4

  policyReportOverview:
    failingSummaryRow:
      height: 8
    failingTimeline:
      height: 10
    failingPolicyRuleTable:
      height: 10
    failingClusterPolicyRuleTable:
      height: 10