kitargus

by KvalitetsIT

Helm chartv0.4.4App 0.4.4Verified publisher

A Helm chart for deploying KITArgus.

About this chart

kitargus

A Helm chart for deploying KITArgus.

Homepage: https://github.com/KvalitetsIT

Maintainers

NameEmailUrl
KvalitetsIT[email protected]https://github.com/KvalitetsIT/helm-repo

Source Code

Values

Global Configuration

KeyTypeDefaultDescription
nameOverridestring""Default settings for the name override.
fullnameOverridestring""Default settings for the fullname override.
commonAnnotationsobject{}Common annotations to add to all resources

Controller Configuration

KeyTypeDefaultDescription
replicaCountint1Default settings for the controller replica count.
podAnnotationsobject{}Default settings for the controller pod annotations.
podSecurityContextobject{"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}Default settings for the controller pod security context.
securityContextobject{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true}Default settings for the controller security context.
imagePullSecretslist[]Default settings for the controller image pull secrets.
imageobject{"pullPolicy":"IfNotPresent","repository":"kvalitetsit/kitargus","tag":"0.4.4"}Default settings for the controller image.
image.repositorystring"kvalitetsit/kitargus"Default settings for the controller image repository.
image.pullPolicystring"IfNotPresent"Default settings for the controller image pull policy.
image.tagstring"0.4.4"Default settings for the controller image tag.
logLevelstring"info"Default settings for the controller log level (debug, info, error, panic), or any integer over 0 for more verbose logging.
leaderElectionobject{"enabled":false}Default settings for the controller leader election.
leaderElection.enabledboolfalseEnable leader election for the controller
resourcesobject{"limits":{"cpu":"500m","memory":"512Mi"},"requests":{"cpu":"250m","memory":"256Mi"}}Default settings for the controller resources.
resources.limitsobject{"cpu":"500m","memory":"512Mi"}Default settings for the controller resources limits.
resources.requestsobject{"cpu":"250m","memory":"256Mi"}Default settings for the controller resources requests.
extraEnvVarsobject{}Default settings for the controller extra environment variables.
secretReaderobject{"create":true,"serviceAccountName":"kitargus-secret-reader"}Default settings for the secret reader.
secretReader.createbooltrueDefault settings for the secret reader create.
secretReader.serviceAccountNamestring"kitargus-secret-reader"Default settings for the secret reader service account name.

Monitoring Configuration

KeyTypeDefaultDescription
serviceMonitorobject{"enabled":false,"interval":"1m","labels":{},"scrapeTimeout":"30s"}ServiceMonitor configuration for Prometheus Operator
serviceMonitor.enabledboolfalseEnable ServiceMonitor for Prometheus Operator
serviceMonitor.labelsobject{}Additional labels for the ServiceMonitor
serviceMonitor.intervalstring"1m"Scrape interval (e.g., 30s)
serviceMonitor.scrapeTimeoutstring"30s"Scrape timeout (e.g., 10s)
grafanaobject{"dashboard":{"enabled":false,"labels":{"grafana_dashboard":"1"}}}Grafana dashboard configuration
grafana.dashboard.enabledboolfalseDeploy a ConfigMap containing the KITArgus Grafana dashboard
grafana.dashboard.labelsobject{"grafana_dashboard":"1"}Additional labels on the dashboard ConfigMap. The Grafana sidecar picks up ConfigMaps with label grafana_dashboard: "1" by default.

Network Policy Configuration

KeyTypeDefaultDescription
networkPolicyobject{"controller":{"additionalEgressRules":[],"additionalIngressRules":[]},"defaultDenyAll":true,"dns":{"labels":{"k8sApp":"kube-dns"},"namespace":"kube-system"},"enabled":true,"kubeApiServer":{"port":"6443"},"prometheus":{"matchLabels":{"app.kubernetes.io/name":"prometheus"},"namespace":"infrastructure"},"scanjob":{"additionalEgressRules":[]}}Network policy configuration
networkPolicy.prometheusobject{"matchLabels":{"app.kubernetes.io/name":"prometheus"},"namespace":"infrastructure"}Prometheus settings for metrics scraping
networkPolicy.prometheus.namespacestring"infrastructure"Namespace where Prometheus is running
networkPolicy.prometheus.matchLabelsobject{"app.kubernetes.io/name":"prometheus"}Labels to match Prometheus pods

Backend Configuration

KeyTypeDefaultDescription
backendobject{"dtrack":{"apiTokenSecret":{"key":"token","name":"kitargus-dtrack-token"},"baseURL":"","enabled":false,"endpoint":{"matchLabels":{"app.kubernetes.io/component":"backend","app.kubernetes.io/instance":"dtrack","app.kubernetes.io/name":"dtrack-backend"},"namespace":"dtrack","port":"8080"},"overrideBaseURL":""},"multitenancy":{"enabled":false,"groupMappingConfigMap":"tenant-group-mapping","namespaceLabel":"tenant.kitkube.dk/name"},"retention":{"dryRun":true,"enabled":false,"keepPrevious":2,"schedule":"168h"},"syncInterval":"10m","tags":{"global":["container_image:{{image}}"],"managed":"kitargus:managed"},"type":"dtrack"}Backend integration settings
backend.typestring"dtrack"Backend type
backend.syncIntervalstring"10m"Backend synchronization interval (e.g., 10m)
backend.tagsobject{"global":["container_image:{{image}}"],"managed":"kitargus:managed"}Unified tag configuration applied to all backend projects
backend.tags.managedstring"kitargus:managed"Ownership marker tag applied to every project kitargus creates, including collection projects. Retention uses this tag to select prunable projects.
backend.tags.globallist["container_image:{{image}}"]Extra tags applied to kitargus-created projects. The {{image}} expression expands to the full image reference on leaf projects; tags using it are omitted from collection projects.
backend.multitenancyobject{"enabled":false,"groupMappingConfigMap":"tenant-group-mapping","namespaceLabel":"tenant.kitkube.dk/name"}Multitenancy settings. When enabled, kitargus derives a tenant from the workload namespace and scopes backend projects to that tenant's team.
backend.multitenancy.enabledboolfalseEnable tenant derivation and backend access-control mapping
backend.multitenancy.namespaceLabelstring"tenant.kitkube.dk/name"Namespace label carrying the tenant name. The value is lowercased, so "Acme" and "acme" are one tenant. A namespace without the label has no tenant: its projects are still created and scanned, they just get no access-control mapping.
backend.multitenancy.groupMappingConfigMapstring"tenant-group-mapping"Name of the ConfigMap carrying a tenant's role to identity-provider group mapping, one data key per role ("viewer", "developer"). It is found by the tenant label rather than by namespace, so it can live in whichever of the tenant's namespaces provisions it. Roles kitargus does not model are ignored. Each role gets its own backend team, so a viewer can read findings and a developer can also triage them.
backend.retentionobject{"dryRun":true,"enabled":false,"keepPrevious":2,"schedule":"168h"}Backend retention settings
backend.retention.enabledboolfalseBackend retention enabled
backend.retention.keepPreviousint2Backend retention
backend.retention.schedulestring"168h"Backend retention schedule (e.g., 168h for 7 days)
backend.retention.dryRunbooltrueBackend retention dry run (true to log prune candidates only)

Backend DTrack Configuration

KeyTypeDefaultDescription
backend.dtrackobject{"apiTokenSecret":{"key":"token","name":"kitargus-dtrack-token"},"baseURL":"","enabled":false,"endpoint":{"matchLabels":{"app.kubernetes.io/component":"backend","app.kubernetes.io/instance":"dtrack","app.kubernetes.io/name":"dtrack-backend"},"namespace":"dtrack","port":"8080"},"overrideBaseURL":""}Backend integration settings for Dependency Track
backend.dtrack.enabledboolfalseBackend DTrack
backend.dtrack.baseURLstring""Backend DTrack base URL (e.g., https://dtrack-backend.dtrack.svc.cluster.local)
backend.dtrack.overrideBaseURLstring""Backend DTrack override base URL (e.g., https://dtrack-backend.dtrack.svc.cluster.local) - overrides baseURL if set
backend.dtrack.apiTokenSecretobject{"key":"token","name":"kitargus-dtrack-token"}Backend DTrack API token secret reference
backend.dtrack.apiTokenSecret.namestring"kitargus-dtrack-token"Backend DTrack API token secret reference namespace
backend.dtrack.apiTokenSecret.keystring"token"Backend DTrack API token secret reference
backend.dtrack.endpointobject{"matchLabels":{"app.kubernetes.io/component":"backend","app.kubernetes.io/instance":"dtrack","app.kubernetes.io/name":"dtrack-backend"},"namespace":"dtrack","port":"8080"}Connection details for network policy
backend.dtrack.endpoint.namespacestring"dtrack"Namespace for DTrack backend service
backend.dtrack.endpoint.portstring"8080"Port for DTrack backend service
backend.dtrack.endpoint.matchLabelsobject{"app.kubernetes.io/component":"backend","app.kubernetes.io/instance":"dtrack","app.kubernetes.io/name":"dtrack-backend"}Labels to match DTrack backend service

ScanJob Configuration

KeyTypeDefaultDescription
scanjobobject{"image":{"repository":"kvalitetsit/kitargus-scanjob","tag":"0.4.4"},"registries":{"azure":["*.azurecr.io","login.microsoftonline.com","*.blob.core.windows.net","mcr.microsoft.com","*.data.mcr.microsoft.com"],"docker":["index.docker.io","registry-1.docker.io","auth.docker.io","production.cloudflare.docker.com","docker-images-prod.6aa30f8b08e16409b46e0173d6de2f56.r2.cloudflarestorage.com","production.cloudfront.docker.com","cdn.registry.k8s.io","docker-registry-production.d24a988e385e0074d717b6bdaea58f0d.r2.cloudflarestorage.com"],"ecr":["ecr-public.aws.com","public.ecr.aws","*.dkr.ecr.*.amazonaws.com","api.ecr.*.amazonaws.com","s3.*.amazonaws.com","*.s3.*.amazonaws.com","sts.*.amazonaws.com","*.public.ecr.aws","*.cloudfront.net"],"extra":[],"github":["docker.pkg.github.com","docker-proxy.pkg.github.com","containers.pkg.github.com","*.github.com","*.pkg.github.com","*.ghcr.io","*.githubassets.com","*.githubusercontent.com","ghcr.io"],"gitlab":["gitlab.com","registry.gitlab.com","cdn.registry.gitlab-static.net"],"google":["gcr.io","*.gcr.io","dl.google.com","*.pkg.dev"],"misc":["registry.k8s.io","prod-registry-k8s-io-eu-central-1.s3.dualstack.eu-central-1.amazonaws.com","docker-registry1.mariadb.com","docker-registry2.mariadb.com","docker-registry3.mariadb.com","registry.nspop.dk","nvcr.io","layers.nvcr.io"],"quay":["quay.io","cdn*.quay.io"]},"tmpInitImage":"busybox:1.36"}Container registry allowlist for scanjobs
scanjob.tmpInitImagestring"busybox:1.36"Init container image used for per-container tmp setup
scanjob.registriesobject{"azure":["*.azurecr.io","login.microsoftonline.com","*.blob.core.windows.net","mcr.microsoft.com","*.data.mcr.microsoft.com"],"docker":["index.docker.io","registry-1.docker.io","auth.docker.io","production.cloudflare.docker.com","docker-images-prod.6aa30f8b08e16409b46e0173d6de2f56.r2.cloudflarestorage.com","production.cloudfront.docker.com","cdn.registry.k8s.io","docker-registry-production.d24a988e385e0074d717b6bdaea58f0d.r2.cloudflarestorage.com"],"ecr":["ecr-public.aws.com","public.ecr.aws","*.dkr.ecr.*.amazonaws.com","api.ecr.*.amazonaws.com","s3.*.amazonaws.com","*.s3.*.amazonaws.com","sts.*.amazonaws.com","*.public.ecr.aws","*.cloudfront.net"],"extra":[],"github":["docker.pkg.github.com","docker-proxy.pkg.github.com","containers.pkg.github.com","*.github.com","*.pkg.github.com","*.ghcr.io","*.githubassets.com","*.githubusercontent.com","ghcr.io"],"gitlab":["gitlab.com","registry.gitlab.com","cdn.registry.gitlab-static.net"],"google":["gcr.io","*.gcr.io","dl.google.com","*.pkg.dev"],"misc":["registry.k8s.io","prod-registry-k8s-io-eu-central-1.s3.dualstack.eu-central-1.amazonaws.com","docker-registry1.mariadb.com","docker-registry2.mariadb.com","docker-registry3.mariadb.com","registry.nspop.dk","nvcr.io","layers.nvcr.io"],"quay":["quay.io","cdn*.quay.io"]}Registries scanjobs can pull from
scanjob.registries.dockerlist["index.docker.io","registry-1.docker.io","auth.docker.io","production.cloudflare.docker.com","docker-images-prod.6aa30f8b08e16409b46e0173d6de2f56.r2.cloudflarestorage.com","production.cloudfront.docker.com","cdn.registry.k8s.io","docker-registry-production.d24a988e385e0074d717b6bdaea58f0d.r2.cloudflarestorage.com"]Docker Hub registries
scanjob.registries.quaylist["quay.io","cdn*.quay.io"]Quay regist

Deploy kitargus with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kitargus 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 chartkitargus is pinned at v0.4.4 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