fairwinds-insights

by Fairwinds

Helm chartv11.8.2App 19.0.19Verified publisher

A Helm chart to run the Fairwinds Insights server

About this chart

Fairwinds Insights

Fairwinds Insights - Software to automate, monitor, and enforce Kubernetes best practices.

The documentation may be incomplete, and it is subject to breaking changes.

See insights.docs.fairwinds.com for complete documentation.

Values

KeyTypeDefaultDescription
image.tagstringnilDocker image tag, defaults to the Chart appVersion
image.pullSecretstringnilExisting dockerconfigjson Secret name for imagePullSecrets. Empty: none unless externalSecret.create. Invalid together with externalSecret.create.
image.externalSecretobject{"annotations":{},"create":false,"data":[],"name":"pull-secret","refreshInterval":"1h","secretStoreRef":{"kind":"ClusterSecretStore","name":"fairwinds-vault-backend"}}ExternalSecret for the image pull Secret. Cannot be combined with pullSecret.
image.externalSecret.createboolfalseWhen true, create an ExternalSecret (type kubernetes.io/dockerconfigjson) and set imagePullSecrets on Insights workloads.
image.externalSecret.namestring"pull-secret"ExternalSecret CR name and the Secret it creates (default pull-secret).
image.externalSecret.secretStoreRefobject{"kind":"ClusterSecretStore","name":"fairwinds-vault-backend"}SecretStore reference
image.externalSecret.annotationsobject{}Extra annotations on the ExternalSecret resource (e.g. argocd.argoproj.io/sync-wave)
image.externalSecret.datalist[]ExternalSecret spec.data entries (required when create is true). Each needs secretKey and remoteRef.key (property optional). Use secretKey .dockerconfigjson.
installationCodestringnilInstallation code provided by Fairwinds.
installationCodeSecretstringnilName of secret containing INSTALLATION_CODE
deploymentsobject{"additionalLabels":null,"additionalPodLabels":null}Deployments additional labels
polaris.configstringnilConfiguration for Polaris
dashboardImage.repositorystring"us-docker.pkg.dev/fairwinds-ops/insights/insights-dashboard"Docker image repository for the front end
dashboardImage.tagstringnilOverrides tag for the dashboard, defaults to image.tag
apiImage.repositorystring"us-docker.pkg.dev/fairwinds-ops/insights/insights-api"Docker image repository for the API server
apiImage.tagstringnilOverrides tag for the API server, defaults to image.tag
migrationImage.repositorystring"us-docker.pkg.dev/fairwinds-ops/insights/insights-db-migration"Docker image repository for the database migration job
migrationImage.tagstringnilOverrides tag for the migration image, defaults to image.tag
cronjobImage.repositorystring"us-docker.pkg.dev/fairwinds-ops/insights/insights-cronjob"Docker image repository for maintenance CronJobs.
cronjobImage.tagstringnilOverrides tag for the cronjob image, defaults to image.tag
openApiImage.repositorystring"swaggerapi/swagger-ui"Docker image repository for the Open API server
openApiImage.tagstring"v5.35.1"Overrides tag for the Open API server, defaults to image.tag
options.agentChartTargetVersionstring"6.28.0"Which version of the Insights Agent is supported by this version of Fairwinds Insights
options.insightsSAASHoststring"https://insights.fairwinds.com"Do not change, this is the hostname that Fairwinds Insights will reach out to for license verification.
options.allowHTTPCookiesboolfalseAllow cookies to work over HTTP instead of requiring HTTPS. This generally should not be changed.
options.dashboardConfigstring"config.self.js"Configuration file to use for the front-end. This generally should not be changed.
options.adminEmailstringnilAn email address for the first admin user. This account will get created automatically but without a known password. You must initiate a password reset in order to login to this account.
options.organizationNamestringnilThe name of your organization. This will pre-populate Insights with an organization.
options.autogenerateKeysboolfalseAutogenerate keys for session tracking. For testing/demo purposes only. Invalid together with externalSecret.create.
options.migrateHealthScoreboolfalseRun the job to migrate health scores to a new format
options.secretNamestring"fwinsights-secrets"Name of the secret where session keys and other secrets are stored. Also the Secret ESO creates when externalSecret.create is true.
options.externalSecretobject{"annotations":{},"create":false,"data":[],"name":"","refreshInterval":"1h","secretStoreRef":{"kind":"ClusterSecretStore","name":"fairwinds-vault-backend"}}ExternalSecret for secretName. Cannot be combined with autogenerateKeys.
options.externalSecret.createboolfalseWhen true, create an ExternalSecret that syncs into secretName. Invalid together with autogenerateKeys.
options.externalSecret.namestring""Optional ExternalSecret CR name. Empty: same as secretName.
options.externalSecret.secretStoreRefobject{"kind":"ClusterSecretStore","name":"fairwinds-vault-backend"}SecretStore reference
options.externalSecret.annotationsobject{}Extra annotations on the ExternalSecret resource (e.g. argocd.argoproj.io/sync-wave)
options.externalSecret.datalist[]ExternalSecret spec.data entries (required when create is true). Each needs secretKey and remoteRef.key (property optional).
options.overprovisioning.enabledboolfalse
options.overprovisioning.cpustring"1000m"
options.overprovisioning.memorystring"1Gi"
options.ssoRequiredForAdminAPIboolfalseWhether to require SSO for the admin API
githubSecretobject{"externalSecret":{"annotations":{},"create":false,"data":[],"name":"github-secrets","refreshInterval":"1h","secretStoreRef":{"kind":"ClusterSecretStore","name":"fairwinds-vault-backend"}}}GitHub integration Secret. Workloads mount it at /var/run/secrets/github (optional). Set externalSecret.create to provision it via External Secrets Operator.
githubSecret.externalSecret.createboolfalseWhen true, create an ExternalSecret that syncs into this Secret.
githubSecret.externalSecret.namestring"github-secrets"ExternalSecret CR name and the Secret it creates (default github-secrets). Must match api/admissionApi/reportjob/cronjobs.githubSecret.name and temporalDeploymentDefaults.volumes when customized.
githubSecret.externalSecret.secretStoreRefobject{"kind":"ClusterSecretStore","name":"fairwinds-vault-backend"}SecretStore reference
githubSecret.externalSecret.annotationsobject{}Extra annotations on the ExternalSecret resource (e.g. argocd.argoproj.io/sync-wave)
githubSecret.externalSecret.datalist[]ExternalSecret spec.data entries (required when create is true). Each needs secretKey and remoteRef.key (property optional).
cronjobOptions.securityContextobject{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"privileged":false,"readOnlyRootFilesystem":true,"runAsNonRoot":true,"runAsUser":10324}Default security context for cronjobs
cronjobOptions.resourcesobject{"limits":{"cpu":"250m","memory":"512Mi"},"requests":{"cpu":"250m","memory":"512Mi"}}Default resources for cronjobs
cronjobOptions.additionalEnvVarslist[{"name":"POSTGRES_MAX_IDLE_CONNS","value":"1"},{"name":"POSTGRES_MAX_OPEN_CONNS","value":"1"}]Default additional env vars for all cronjobs (overridden per cronjob by cronjobs..additionalEnvVars)
cronjobOptions.successfulJobsHistoryLimitint1Default successful jobs history limit (overridden per cronjob by cronjobs..successfulJobsHistoryLimit)
cronjobOptions.failedJobsHistoryLimitint1Default failed jobs history limit (overridden per cronjob by cronjobs..failedJobsHistoryLimit)
cronjobOptions.nodeSelectorobject{}Default node selector for CronJobs. Replaces nodeSelector when set. Override a single job with cronjobs.<name>.nodeSelector.
cronjobs.action-item-filters-refresh.commandstring"action_items_filters_refresher"
cronjobs.action-item-filters-refresh.schedulestring"0/15 * * * *"
cronjobs.action-item-filters-refresh.useMigrationCredentialsboolfalse
cronjobs.action-items-statisticsobject{"command":"action_items_statistics","schedule":"15 * * * *"}Options for the action item stats job
cronjobs.benchmarkobject{"command":"benchmark","schedule":""}Options for the benchmark job
cronjobs.update-ticketsobject{"command":"update_tickets","includeGitHubSecret":true,"resources":{"limits":{"cpu":"500m","memory":"2Gi"},"requests":{"cpu":"500m","memory":"2Gi"}},"schedule":"0 * * * *"}Options for the update tickets job.
cronjobs.costs-updateobject{"command":"cloud_costs_update","includeGitHubSecret":true,"resources":{"limits":{"cpu":"500m","memory":"2Gi"},"requests":{"cpu":"500m","memory":"2Gi"}},"schedule":"15 */3 * * *"}Options for the cloud costs update job
cronjobs.database-cleanupobject{"command":"database_cleanup","schedule":"0 0 * * *"}Options for the database cleanup job.
cronjobs.partman-maintenance.commandstring"partman_maintenance"
cronjobs.partman-maintenance.schedulestring"30 0 * * *"
cronjobs.partman-maintenance.useMigrationCredentialsboolfalse
cronjobs.emailobject{"command":"email_digest","schedule":""}Options for the email digest job.
cronjobs.resources-recommendationsobject{"command":"resources_recommendations","resources":{"limits":{"cpu":1,"memory":"3Gi"},"requests":{"cpu":1,"memory":"3Gi"}},"schedule":"0 2 * * *"}Options for the resources recommendations job
cronjobs.samlobject{"command":"refresh_saml_metadata","schedule":"0 * * * *"}Options for the SAML sync job
cronjobs.slack-channelsobject{"command":"slack_channels_local_refresher","schedule":"0/15 * * * *"}Options for the slack channels job.
cronjobs.trial-endobject{"command":"trial_end_downgrade","schedule":""}Options for the trial-end job.
cronjobs.move-health-scores-to-tsobject{"command":"move_resource_health_scores_to_ts","schedule":"*/30 * * * *"}Options for the move-health-scores-to-ts job.
cronjobs.image-vulns-refreshobject{"command":"image_vulnerabilities_refresher","schedule":"*/30 * * * *","useMigrationCredentials":false}Options for the image-vulns-refresh job. useMigrationCredentials: same as action-item-filters-refresh (REFRESH matviews as owner).
cronjobs.img-vulns-on-demand-refreshobject{"command":"image_vulnerabilities_on_demand_refresher","schedule":"*/2 * * * *","useMigrationCredentials":false}Options for the image-vulnerabilities-on-demand-refresher
cronjobs.sync-action-items-iac-filesobject{"command":"sync_action_items_iac_files","schedule":"0 * * * *"}Options for the sync-action-items-iac-files cronjob.
cronjobs.app-groups-cves-statisticsobject{"command":"app_groups_cves_statistics","schedule":"0 9,21 * * *"}Options for the app_groups_cves_statistics cronjob.
cronjobs.cve-reports-email-senderobject{"command":"cve_reports_email_sender","schedule":"0 5 1 * *"}Options for the cve_reports_email_sender cronjob.
cronjobs.refresh-jira-webhooksobject{"command":"refresh_jira_webhooks","schedule":"0 0 1,15 * *"}Options for the refresh_jira_webhooks cronjob
selfHostedSecretobject{"externalSecret":{"annotations":{},"create":false,"data":[],"name":"self-hosted-key","refreshInterval":"1h","secretStoreRef":{"kind":"ClusterSecretStore","name":"fairwinds-vault-backend"}}}Self-hosted TLS Secret (current.pem + pubkey). A string name still works. Set externalSecret.create to provision it via External Secrets Operator.
selfHostedSecret.externalSecret.createboolfalseWhen true, create an ExternalSecret that syncs into this Secret and mount it on API / admission / Temporal worker pods.
selfHostedSecret.externalSecret.namestring"self-hosted-key"ExternalSecret CR name and the Secret it creates (default self-hosted-key).
selfHostedSecret.externalSecret.secretStoreRefobject{"kind":"ClusterSecretStore","name":"fairwinds-vault-backend"}SecretStore reference
selfHostedSecret.externalSecret.annotationsobject{}Extra annotations on the ExternalSecret resource (e.g. argocd.argoproj.io/sync-wave)
selfHostedSecret.externalSecret.datalist[]ExternalSecret spec.data entries (required when create is true). Each needs secretKey and remoteRef.key (property optional).
additionalEnvironmentVariablesobject{}Additional Environment Variables to set on the Fairwinds Insights pods.
rbac.serviceAccount.annotationsobject{}Annotations to add to the service account
nodeSelectorobject{}Default nodeSelector for pods that run the dashboard, API, database migration, cronjob, or MCP server images. A component nodeSelector replaces this when set.
dashboard.pdb.enabledboolfalseCreate a pod disruption budget for the front end pods.
dashboard.pdb.minReplicasint1How many replicas should always exist for the front end pods.
dashboard.hpa.enabledboolfalseCreate a horizontal pod autoscaler for the front end pods.
dashboard.hpa.minint2Minimum number of replicas for the

Deploy fairwinds-insights with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has fairwinds-insights on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartfairwinds-insights is pinned at v11.8.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply