dependabot-gitlab

by andrcuns

Helm chartv0.0.106App 0.10.8Verified publisher

DEPRECATED Deployment chart for dependabot-gitlab app

About this chart

dependabot-gitlab

dependabot-gitlab is application providing automated dependency management for gitlab projects

Introduction

This chart bootstraps dependabot-gitlab deployment on a Kubernetes cluster using the Helm package manager.

Add Helm repo

helm repo add andrcuns https://andrcuns.github.io/charts

Installing the Chart

Install this chart using:

helm install dependabot andrcuns/dependabot-gitlab --values values.yaml

The command deploys dependabot-gitlab on the Kubernetes cluster in the default configuration. The values section lists the parameters that can be configured during installation.

By default chart installs instance of redis. To disable this behavior, pass redis.enabled: false.

Requirements

RepositoryNameVersion
https://charts.bitnami.com/bitnamimongodb~10.23.0
https://charts.bitnami.com/bitnamiredis~14.7.0

Values

KeyTypeDefaultDescription
createProjectsJob.activeDeadlineSecondsint240Job Active Deadline
createProjectsJob.backoffLimitint1Job Back off limit
createProjectsJob.resourcesobject{}Create projects job resource definitions
credentials.github_access_tokenstring""Github access token
credentials.gitlab_access_tokenstring"test"Gitlab access token, required
credentials.gitlab_auth_tokenstring""Gitlab auth token for webhook authentication
env.appConfigPathstring"kube/config"Configuration path
env.appRootPathstring"/home/dependabot/app"App root
env.commandsPrefixstring""Dependabot comment command prefix
env.dependabotUrlstring""Optional app url, used for automated webhook creation
env.gitlabUrlstring"https://gitlab.com"Gitlab instance URL
env.http_proxystring""Enable upstream http proxy
env.https_proxystring""Enable upstream https proxy
env.logLevelstring"info"App log level
env.mongoDbUristring""MongoDB URI
env.mongoDbUrlstring""MongoDB URL
env.no_proxystring""Set proxy exceptions
env.redisUrlstring""Redis URL
env.sentryDsnstring""Optional sentry dsn for error reporting
env.sentryTracesSampleRatestring""Sentry traces sample rate
env.updateRetryint2Update job retry count or 'false' to disable
fullnameOverridestring""Override fully qualified app name
image.imagePullSecretsstringnilImage pull secrets specification
image.pullPolicystring"IfNotPresent"Image pull policy
image.repositorystring"docker.io/andrcuns/dependabot-gitlab"Image to use for deploying
image.tagstring""Image tag
ingress.annotationsobject{}
ingress.enabledboolfalse
ingress.hosts[0].hoststring"chart-example.local"
ingress.hosts[0].pathslist[]
ingress.tlslist[]
metrics.enabledboolfalseEnable metrics endpoint for prometheus
metrics.service.typestring"ClusterIP"Metrics service type
metrics.serviceMonitor.additionalLabelsobject{}Additional labels that can be used so ServiceMonitor resource(s) can be discovered by Prometheus
metrics.serviceMonitor.enabledboolfalseEnable serviceMonitor
metrics.serviceMonitor.honorLabelsboolfalseSpecify honorLabels parameter to add the scrape endpoint
metrics.serviceMonitor.metricRelabelingslist[]Metrics RelabelConfigs to apply to samples before ingestion
metrics.serviceMonitor.relabellingslist[]Metrics RelabelConfigs to apply to samples before scraping
metrics.serviceMonitor.scrapeIntervalstring"30s"Metrics scrape interval
metrics.workerPortint9394Worker metrics web server port
migrationJob.activeDeadlineSecondsint180Job Active Deadline
migrationJob.backoffLimitint4Job Back off limit
migrationJob.resourcesobject{}Migration job resource definitions
mongodb.auth.databasestring"dependabot_gitab"MongoDB custom database
mongodb.auth.enabledbooltrueEnable authentication
mongodb.auth.passwordstring"mongodb-password"MongoDB custom user password
mongodb.auth.rootPasswordstring""MongoDB root password
mongodb.auth.usernamestring"dependabot-gitlab"MongoDB custom user username
mongodb.clusterDomainstring"cluster.local"Kubernetes Cluster Domain
mongodb.enabledbooltrueEnable mongodb installation
mongodb.fullnameOverridestring"mongodb"String to fully override mongodb.fullname template
mongodb.service.portint27017Mongodb service port
nameOverridestring""Override chart name
podSecurityContextobject{"fsGroup":1000,"runAsGroup":1000,"runAsUser":1000}Security Context
project_registration.cronstring""Cron expression of project registration cron job
project_registration.modestring"manual"Project registration mode
project_registration.namespacestring""Allowed namespace expression for projects to register
projectslist[]List of projects to create/update on deployment
redis.architecturestring"standalone"Redis architecture. Allowed values: standalone or replication
redis.auth.enabledbooltrueEnable authentication
redis.auth.passwordstring"redis-password"Redis password
redis.clusterDomainstring"cluster.local"Kubernetes Cluster Domain
redis.enabledbooltrueEnable redis installation
redis.fullnameOverridestring"redis"Override redis name
registriesCredentialsobject{}Credentials for private registries: PRIVATE_DOCKERHUB_TOKEN: token
service.annotationsobject{}Service annotations
service.portint3000Service pot
service.typestring"ClusterIP"Service type
serviceAccount.annotationsobject{}Service account annotations
serviceAccount.namestring""Service account name
web.affinityobject{}Affinity
web.extraEnvVarsobject{}
web.extraVolumeMountsstringnil
web.extraVolumesstringnil
web.livenessProbe.enabledbooltrueEnable liveness probe
web.livenessProbe.failureThresholdint5Liveness probe failure threshold
web.livenessProbe.periodSecondsint10Liveness probe period
web.livenessProbe.timeoutSecondsint2Liveness probe timeout
web.nodeSelectorobject{}Node selectors
web.podAnnotationsobject{}Pod annotations
web.replicaCountint1Web container replicas count
web.resourcesobject{}Web container resource definitions
web.startupProbe.enabledbooltrueEnable startup probe
web.startupProbe.failureThresholdint12Startup probe failure threshold
web.startupProbe.initialDelaySecondsint10Startup probe initial delay
web.startupProbe.periodSecondsint10Startup probe period
web.startupProbe.timeoutSecondsint3Startup probe timeout
web.tolerationslist[]Tolerations
web.updateStrategyobject{"type":"RollingUpdate"}Set up strategy for web installation
worker.affinityobject{}Affinity
worker.extraEnvVarsobject{}
worker.extraVolumeMountsstringnil
worker.extraVolumesstringnil
worker.livenessProbe.enabledbooltrueEnable liveness probe
worker.livenessProbe.failureThresholdint2Liveness probe failure threshold
worker.livenessProbe.periodSecondsint120Liveness probe period
worker.livenessProbe.timeoutSecondsint3Liveness probe timeout
worker.nodeSelectorobject{}Node selectors
worker.podAnnotationsobject{}Pod annotations
worker.probePortint7433Health check probe port
worker.replicaCountint1Worker container replicas count
worker.resourcesobject{}Worker container resource definitions
worker.startupProbe.enabledbooltrueEnable startup probe
worker.startupProbe.failureThresholdint12Startup probe failure threshold
worker.startupProbe.initialDelaySecondsint10Startup probe initial delay
worker.startupProbe.periodSecondsint5Startup probe period
worker.startupProbe.timeoutSecondsint3Startup probe timeout
worker.tolerationslist[]Tolerations
worker.updateStrategyobject{"type":"RollingUpdate"}Set up strategy for worker installation

Deploy dependabot-gitlab with OpenTenant

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