DevOps DevOps
产品简介
产品安装
快速入门
使用指南
开发指南
FAQ
  • Dependency-Track Helm Chart
  • 安装 Chart
  • 卸载 Chart
  • 配置
  • 镜像
  • Service
  • 持久化
  • 内置数据源
  • 外置数据源

# Dependency-Track Helm Chart

# 安装 Chart

git clone http://euler.git.primeton.com/devops/devops-helm.git
kubectl create namespace devops
helm upgrade --install dtrack devops-helm/charts/dependency-track -n devops

# 卸载 Chart

卸载或删除已部署的 Chart:

$ helm list -n devops
NAME        REVISION    UPDATED                     STATUS      CHART            NAMESPACE
dtrack      1           2024-03-06 14:42:31         DEPLOYED    dtrack-0.1.0     devops
$ helm delete dtrack -n devops

# 配置

# 镜像

image:
  repository: dependencytrack/bundled
  pullPolicy: IfNotPresent
  # Overrides the image tag whose default is the chart appVersion.
  tag: 4.10.0

# If using a private repository, the imagePullSecrets to use
imagePullSecrets: []
  # - name: registry-harbor

# Service

service:
  ## Specify a service type
  ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services---service-types
  type: NodePort
  port: 8080
  nodePort: 32002

# 持久化

persistence:
  enabled: false
  ## Set annotations on pvc
  annotations: {}

  ## Specify an existing volume claim instead of creating a new one.
  ## When using this option all following options like storageClass, accessMode and size are ignored.
  # existingClaim:

  storageClass: ""
  accessMode: ReadWriteOnce
  size: 15Gi

# 内置数据源

postgresql:
  enabled: true
  image:
    repository: postgres
    tag: "15.2-alpine3.17"
    pullPolicy: IfNotPresent
    # pullSecret: myRegistrKeySecretName
  postgresql:
    username: dtrack
    password: dtrack
    database: dtrack
    port: 5432
  service:
    type: ClusterIP
    annotations: {}
  resources:
    limits:
      cpu: 2
      memory: 2Gi
    requests:
      cpu: 100m
      memory: 200Mi
  persistence:
    enabled: false
    accessModes:  [ReadWriteOnce]
    size: 20Gi
    storageClass:

# 外置数据源

## Override JDBC values
## for external Databases
jdbcOverwrite:
  # If enable the JDBC Overwrite, make sure to set `mysql.enabled=false`
  enabled: false
  # Database Type Support: PostgreSQL/Microsoft SQL Server)
  # The JDBC Driver (e.g., org.postgresql.Driver, com.microsoft.sqlserver.jdbc.SQLServerDriver)
  jdbcDriver: "org.postgresql.Driver"
  # The JDBC url of the external DB
  jdbcUrl: "jdbc:postgresql://localhost:5432/dtrack"
  # The DB user that should be used for the JDBC connection
  jdbcUsername: "dtrack"
  # Use this if you don't mind the DB password getting stored in plain text within the values file
  jdbcPassword: "password"

← SonarQube Nexus3 →