Repman Helm Chart

Repman
Analyzed version: 1.1.3

By Szpadel

Repman - PHP Repository Manager: packagist proxy and host for private packages

Prometheus, a CNCF project, is a systems and service monitoring system. It collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts if some condition is observed to be true.

This chart bootstraps a Prometheus deployment on a Kubernetes cluster using the Helm package manager.

Latest version: 15.5.3
View GitHub

How to Install the Repman Helm Chart

Add Chart Repository to Helm

helm repo add szpadel-charts https://szpadel.github.io/public-charts/

Install Chart

helm install my-repman szpadel-charts/repman --version 1.1.3

Does the Repman chart contain security gaps?

The chart meets the best practices recommended by the industry.

The chart contains 11 misconfigurations.

The chart meets the best practices recommended by the industry. Find the full list of best practices here.

❌ Prevent ConfigMap security vulnerability (CVE-2021-25742)

3 occurrences:

  • metadata.name: release-name-minio (kind: ConfigMap)
  • metadata.name: release-name-repman-files (kind: ConfigMap)
  • metadata.name: release-name-repman-general (kind: ConfigMap)

💡 Missing property object `allow-snippet-annotations` - set it to "false" to override default behaviour

Learn how to fix the issue here

❌ Ensure each container has a configured liveness probe

10 occurrences:

  • metadata.name: release-name-minio (kind: Deployment)
  • metadata.name: release-name-repman (kind: Deployment)
  • metadata.name: release-name-repman-consumer (kind: Deployment)
  • metadata.name: release-name-repman-proxy-sync-releases (kind: CronJob)
  • metadata.name: release-name-repman-proxy-sync-metadata (kind: CronJob)
  • metadata.name: release-name-repman-security-update-db (kind: CronJob)
  • metadata.name: release-name-repman-telemetry-send (kind: CronJob)
  • metadata.name: release-name-repman-package-clear-old-dists (kind: CronJob)
  • metadata.name: release-name-repman-test-connection (kind: Pod)
  • metadata.name: release-name-minio-make-bucket-job (kind: Job)

💡 Missing property object `livenessProbe` - add a properly configured livenessProbe to catch possible deadlocks

Learn how to fix the issue here

❌ Ensure each container has a configured readiness probe

10 occurrences:

  • metadata.name: release-name-minio (kind: Deployment)
  • metadata.name: release-name-repman (kind: Deployment)
  • metadata.name: release-name-repman-consumer (kind: Deployment)
  • metadata.name: release-name-repman-proxy-sync-releases (kind: CronJob)
  • metadata.name: release-name-repman-proxy-sync-metadata (kind: CronJob)
  • metadata.name: release-name-repman-security-update-db (kind: CronJob)
  • metadata.name: release-name-repman-telemetry-send (kind: CronJob)
  • metadata.name: release-name-repman-package-clear-old-dists (kind: CronJob)
  • metadata.name: release-name-repman-test-connection (kind: Pod)
  • metadata.name: release-name-minio-make-bucket-job (kind: Job)

💡 Missing property object `readinessProbe` - add a properly configured readinessProbe to notify kubelet your Pods are ready for traffic

Learn how to fix the issue here

❌ Ensure each container has a configured memory request

9 occurrences:

  • metadata.name: release-name-repman (kind: Deployment)
  • metadata.name: release-name-repman-consumer (kind: Deployment)
  • metadata.name: release-name-repman-proxy-sync-releases (kind: CronJob)
  • metadata.name: release-name-repman-proxy-sync-metadata (kind: CronJob)
  • metadata.name: release-name-repman-security-update-db (kind: CronJob)
  • metadata.name: release-name-repman-telemetry-send (kind: CronJob)
  • metadata.name: release-name-repman-package-clear-old-dists (kind: CronJob)
  • metadata.name: release-name-repman-test-connection (kind: Pod)

💡 Missing property object `requests.memory` - value should be within the accepted boundaries recommended by the organization

Learn how to fix the issue here

❌ Prevent container security vulnerability (CVE-2021-25741)

18 occurrences:

  • metadata.name: release-name-repman (kind: Deployment)
  • metadata.name: release-name-repman-consumer (kind: Deployment)
  • metadata.name: release-name-postgresql (kind: StatefulSet)
  • metadata.name: release-name-repman-proxy-sync-releases (kind: CronJob)
  • metadata.name: release-name-repman-proxy-sync-metadata (kind: CronJob)
  • metadata.name: release-name-repman-security-update-db (kind: CronJob)
  • metadata.name: release-name-repman-telemetry-send (kind: CronJob)
  • metadata.name: release-name-repman-package-clear-old-dists (kind: CronJob)

💡 Forbidden property object `subPath` - malicious users can gain access to files & directories outside of the volume

Learn how to fix the issue here

❌ Ensure each container has a configured CPU request

11 occurrences:

  • metadata.name: release-name-minio (kind: Deployment)
  • metadata.name: release-name-repman (kind: Deployment)
  • metadata.name: release-name-repman-consumer (kind: Deployment)
  • metadata.name: release-name-repman-proxy-sync-releases (kind: CronJob)
  • metadata.name: release-name-repman-proxy-sync-metadata (kind: CronJob)
  • metadata.name: release-name-repman-security-update-db (kind: CronJob)
  • metadata.name: release-name-repman-telemetry-send (kind: CronJob)
  • metadata.name: release-name-repman-package-clear-old-dists (kind: CronJob)
  • metadata.name: release-name-repman-test-connection (kind: Pod)
  • metadata.name: release-name-minio-make-bucket-job (kind: Job)

💡 Missing property object `requests.cpu` - value should be within the accepted boundaries recommended by the organization

Learn how to fix the issue here

❌ Ensure each container has a configured CPU limit

12 occurrences:

  • metadata.name: release-name-minio (kind: Deployment)
  • metadata.name: release-name-repman (kind: Deployment)
  • metadata.name: release-name-repman-consumer (kind: Deployment)
  • metadata.name: release-name-postgresql (kind: StatefulSet)
  • metadata.name: release-name-repman-proxy-sync-releases (kind: CronJob)
  • metadata.name: release-name-repman-proxy-sync-metadata (kind: CronJob)
  • metadata.name: release-name-repman-security-update-db (kind: CronJob)
  • metadata.name: release-name-repman-telemetry-send (kind: CronJob)
  • metadata.name: release-name-repman-package-clear-old-dists (kind: CronJob)
  • metadata.name: release-name-repman-test-connection (kind: Pod)
  • metadata.name: release-name-minio-make-bucket-job (kind: Job)

💡 Missing property object `limits.cpu` - value should be within the accepted boundaries recommended by the organization

Learn how to fix the issue here

❌ Ensure CronJob has a configured deadline

5 occurrences:

  • metadata.name: release-name-repman-proxy-sync-releases (kind: CronJob)
  • metadata.name: release-name-repman-proxy-sync-metadata (kind: CronJob)
  • metadata.name: release-name-repman-security-update-db (kind: CronJob)
  • metadata.name: release-name-repman-telemetry-send (kind: CronJob)
  • metadata.name: release-name-repman-package-clear-old-dists (kind: CronJob)

💡 Missing property object `startingDeadlineSeconds` - set a time limit to the cron execution to allow killing it if exceeded

Learn how to fix the issue here

❌ Ensure each container image has a pinned (tag) version

1 occurrences:

  • metadata.name: release-name-repman-test-connection (kind: Pod)

💡 Incorrect value for key `image` - specify an image version to avoid unpleasant "version surprises" in the future

Learn how to fix the issue here

❌ Ensure each container has a configured memory limit

12 occurrences:

  • metadata.name: release-name-minio (kind: Deployment)
  • metadata.name: release-name-repman (kind: Deployment)
  • metadata.name: release-name-repman-consumer (kind: Deployment)
  • metadata.name: release-name-postgresql (kind: StatefulSet)
  • metadata.name: release-name-repman-proxy-sync-releases (kind: CronJob)
  • metadata.name: release-name-repman-proxy-sync-metadata (kind: CronJob)
  • metadata.name: release-name-repman-security-update-db (kind: CronJob)
  • metadata.name: release-name-repman-telemetry-send (kind: CronJob)
  • metadata.name: release-name-repman-package-clear-old-dists (kind: CronJob)
  • metadata.name: release-name-repman-test-connection (kind: Pod)
  • metadata.name: release-name-minio-make-bucket-job (kind: Job)

💡 Missing property object `limits.memory` - value should be within the accepted boundaries recommended by the organization

Learn how to fix the issue here

This is some text inside of a div block.
This is some text inside of a div block.

Reveal misconfigurations within minutes

3 Quick Steps to Get Started