jfrog-platform

by Helm

Helm chartv11.6.5App 7.161.26Apache-2.0

The Helm chart for JFrog Platform (Universal, hybrid, end-to-end DevOps automation)

About this chart

JFrog Platform Helm Chart

The JFrog Platform Helm Chart provides a unified deployment solution for the JFrog DevOps Platform on Kubernetes. It orchestrates deployment of

  • Platform (All JFrog products like Artifactory, Xray and others) allowing for a fully customizable and scalable environment.

  • PostgreSQL database using the bitnami/postgresql chart (can be changed)

    Production Warning: This chart bundles a PostgreSQL deployment (bitnami/postgresql) by default. For production-grade installations, it is highly recommended to use an external managed PostgreSQL database (like AWS RDS or Azure Flexible Server for PostgreSQL) rather than the bundled PostgreSQL.

  • RabbitMQ using the bitnami/rabbitmq chart (can be changed)

  • Optional Nginx server

โš ๏ธ Important Versioning Notes

  • GA Release: This is the General Availability release. Backward compatibility with versions < 10.0.0 is not supported.
  • Pipelines & Insights: As of version 11.x, JFrog Pipelines and Insights are decoupled from this chart. If you require these products, please utilize the 10.x chart versions.

๐Ÿ“‹ Prerequisites

Ensure your environment meets the following requirements before proceeding.

RequirementDetails
KubernetesVersion 1.23 or higher.
HelmHelm v3 is required.
LicenseArtifactory Enterprise(+) or Pro license. Get a Free Trial License
ResourcesSufficient CPU/RAM based on your sizing selection. For more information, see JFrog Platform Reference Architecture Docs.

๐Ÿš€ Quick Start Guide

1. Add the JFrog Helm Repository

Initialize your Helm client with the official JFrog repository.

helm repo add jfrog https://charts.jfrog.io
helm repo update

2. Install the Chart

Deploy the JFrog Platform with the release name jfrog-platform. From chart 11.6.0 onwards the fresh install fails HTTPS validation unless you tell nginx how to serve TLS โ€” pick one of the paths below. See Nginx TLS Certificate for the full breakdown.

Option A โ€” Production (recommended): create your own kubernetes.io/tls Secret first, then install:

kubectl create namespace jfrog-platform
kubectl create secret tls artifactory-nginx-tls \
  --cert=./tls.crt --key=./tls.key \
  -n jfrog-platform

helm upgrade --install jfrog-platform jfrog/jfrog-platform \
  --namespace jfrog-platform \
  --set artifactory.nginx.tlsSecretName=artifactory-nginx-tls

Option B โ€” Dev / test only (chart-generated self-signed cert; not from a trusted CA):

helm upgrade --install jfrog-platform jfrog/jfrog-platform \
  --namespace jfrog-platform \
  --create-namespace \
  --set artifactory.nginx.generateSelfSignedCert=true

Alternatively, disable HTTPS entirely with --set artifactory.nginx.https.enabled=false if TLS terminates elsewhere.


๐Ÿ” Nginx TLS Certificate

Starting with jfrog-platform chart version 11.6.0 (which bumps the artifactory sub-chart to 107.161.x), the chart no longer auto-generates the nginx TLS certificate by default. You must decide how nginx serves HTTPS. All nginx values in this umbrella chart are namespaced under artifactory.nginx.*.

Fresh install โ€” with artifactory.nginx.https.enabled=true (the default), the install fails unless one of the following is set:

OptionValues flagWhen to use
Supply your own certificate (recommended)--set artifactory.nginx.tlsSecretName=<name>Production; you create a kubernetes.io/tls Secret out-of-band
Chart-generated self-signed certificate--set artifactory.nginx.generateSelfSignedCert=trueDev / test only โ€” the private key is chart-generated and not issued by a trusted CA
Disable HTTPS entirely--set artifactory.nginx.https.enabled=falseHTTP-only installs; TLS termination happens elsewhere or is not required

To generate your own tls.crt / tls.key for the recommended option, see the JFrog documentation: Establish TLS in Artifactory and the JFrog Platform โ€บ Generate Certificates.

Supplying your own certificate:

kubectl create secret tls artifactory-nginx-tls \
    --cert=./tls.crt --key=./tls.key -n jfrog-platform
helm upgrade --install jfrog-platform jfrog/jfrog-platform \
    --namespace jfrog-platform --create-namespace \
    --set artifactory.nginx.tlsSecretName=artifactory-nginx-tls

Upgrade from earlier chart versions โ€” if the prior release auto-generated the Secret <release>-artifactory-nginx-certificate, this chart discovers it via helm lookup, reuses its tls.crt/tls.key byte-for-byte, and annotates it with helm.sh/resource-policy: keep. HTTPS continues to work with no operator action, and the certificate data is not modified.

The reused certificate is still self-signed by the previous chart and is not suitable for production. Rotate it on your next upgrade by supplying your own certificate:

kubectl create secret tls artifactory-nginx-tls \
    --cert=./tls.crt --key=./tls.key -n jfrog-platform
helm upgrade jfrog-platform jfrog/jfrog-platform \
    --reuse-values --set artifactory.nginx.tlsSecretName=artifactory-nginx-tls

Once nginx is running on your certificate, the previously auto-generated Secret is retained (helm.sh/resource-policy: keep) and can be removed manually:

kubectl delete secret <release>-artifactory-nginx-certificate -n jfrog-platform

If a custom certificate is supplied on the first upgrade to chart 11.6.0, the legacy auto-generated Secret is deleted by Helm during that upgrade โ€” no additional cleanup is required.

Post-install warnings

After helm install / helm upgrade the chart's NOTES output surfaces one of three warning banners when nginx TLS needs operator attention. Each one names the exact helm upgrade command to resolve it:

BannerWhen it appearsWhat to do
CHART-GENERATED self-signed TLS certificate (DEV/TEST only)artifactory.nginx.generateSelfSignedCert=true and no tlsSecretName setRotate to a real cert: --set artifactory.nginx.tlsSecretName=<name> --set artifactory.nginx.generateSelfSignedCert=false
ACTION RECOMMENDED: replace the chart-generated TLS certificateUpgrade reused a legacy auto-generated Secret from an earlier chartRotate to a real cert with --reuse-values --set artifactory.nginx.tlsSecretName=<name>; delete the legacy Secret once nginx is on the new cert

๐Ÿ”ด OpenShift Deployment

For OpenShift deployments, security contexts must be disabled because OpenShift manages pod security policies automatically. An OpenShift-optimized values file (openshift-values.yaml) is provided that disables all security contexts for the platform's products and services.

๐Ÿ“ Note: For additional background on OpenShift's handling of pod security, refer to Red Hat's documentation.

Deploying on OpenShift

To deploy JFrog Platform on OpenShift:

helm upgrade --install jfrog-platform jfrog/jfrog-platform \
  -f values.yaml \
  -f openshift-values.yaml \
  --namespace jfrog-platform \
  --create-namespace

โš ๏ธ Important: The openshift-values.yaml file must be applied last. When using multiple -f flags in Helm, later files override earlier ones. This guarantees that the OpenShift-specific settings take precedence.

What Gets Disabled

The openshift-values.yaml file disables the following for all products and services deployed using this Helm chart:

  • Pod security contexts
  • Container security contexts

This ensures compatibility with OpenShift's built-in security model and allows the platform to operate under OpenShift's default pod security enforcement.


โš™๏ธ Configuration & Sizing

Architecture & Sizing

The JFrog Platform supports various sizing tiers (Small, Medium, Large) to match your workload.

๐Ÿ“ Note: Deployments with replicaCount > 1 (High Availability) require an Enterprise or Enterprise+ license.

Apply a Sizing Profile: To apply a pre-configured sizing profile (e.g., small), use the files found in the sizing/ directory:

helm upgrade --install jfrog-platform jfrog/jfrog-platform \
  -f sizing/platform-small.yaml \
  --namespace jfrog-platform \
  --create-namespace

Refer to the JFrog Platform Reference Architecture for detailed resource specifications.

High Availability (HA) Setup

๐Ÿ“ Note: High availability is only supported with an Artifactory Enterprise license.

For production environments requiring redundancy.

  1. Replica Count: Set artifactory.artifactory.replicaCount to 2 or more (3 is recommended).
  2. Filestore: Do not use file-system for persistence in HA. You must use cluster-file-system or an object storage provider (S3, GCS, Azure).

For more details on configuring the filestore, Refer here.

helm upgrade --install jfrog-platform jfrog/jfrog-platform \
  --set artifactory.artifactory.replicaCount=3 \
  --set artifactory.artifactory.persistence.type=cluster-file-system \
  --namespace jfrog-platform \
  --create-namespace

Enabling Additional Products

This chart is modular. You can enable or disable specific products via your customvalues.yaml.

Available Modules: Xray, Distribution, Worker, Catalog, Curation, JAS.

Example customvalues.yaml:

# Enable Distribution and Xray
distribution:
  enabled: true
xray:
  enabled: true

๐Ÿ”‘ License Management

There are three methods to apply your Artifactory license. Choose only one method to avoid conflicts.

Method A: Artifactory UI or REST API (Recommended) ๐Ÿ–ฅ๏ธ

Best for manual setup.

Via UI

  1. Deploy the chart and wait for the Artifactory pod to be Running.
  2. Access the Artifactory UI.
  3. Paste all license keys into the activation window. See HA Installation & Setup
    • ๐Ÿ’ก Tip: If using HA, paste all licenses at once, separated by newlines.

REST API for Licensing

Method B: Kubernetes Secret (Automation) ๐Ÿ”

Best for CI/CD or IaC deployments. This method is used for initial bootstrapping only.

  1. Create the Secret: Create a file art.lic containing your license keys (separated by two newlines).

    kubectl create secret generic artifactory-cluster-license --from-file=./art.lic -n jfrog-platform
    
  2. Reference in customvalues.yaml:

    artifactory:
      artifactory:
        license:
          secret: artifactory-cluster-license
          dataKey: art.lic
    

๐Ÿ“ Note: Once Artifactory is deployed, you should not keep passing these parameters as the license is already persisted into Artifactory's storage (they will be ignored). Updating the license should be done via Artifactory UI or REST API.

Method C: Helm Value (Not Recommended for Prod) โš ๏ธ

Pass the license directly in the values file (Caution: exposes license in plain text).

artifactory:
  artifactory:
    license:
      licenseKey: |-
        <LICENSE_KEY_1>

        <LICENSE_KEY_2>

๐Ÿ“ Note: For initial deployment only. After Artifactory starts, the license persists in storage and parameters will be ignored. Update licenses via Artifactory UI or REST API. To re-apply on each startup, use the copyOnEveryStartup option in customvalues.yaml.


โ› Database Management

Upgrading Bundled PostgreSQL

CRITICAL: If you are upgrading the Chart and use the bundled PostgreSQL, you must pin the PostgreSQL version to match your current running version to avoid data incompatibility or restart loops.

  1. Identify Current Version:
    kubectl get pod jfrog-platform-postgresql-0 -n jfrog-platform -o jsonpath="{.spec.containers[*].image}"
    
  2. Pin Version in customvalues.yaml: Take the tag obtained above and configure it:
    postgresql:
      image:
        tag: <CURRENT_POSTGRES_TAG>
    databaseUpgradeReady: true
    
  3. Perform Upgrade:
    helm upgrade --install jfrog-platform jfrog/jfrog-platform -f customvalues.yaml --namespace jfrog-platform --create-namespace
    

๐Ÿ—‘๏ธ Uninstallation

To remove the JFrog Platform:

helm uninstall jfrog-platform --namespace jfrog-platform

๐Ÿ“ Note: This command deletes the application deployments but does not delete the Persistent Volume Claims (PVCs) associated with your data. You must manually delete the PVCs if you wish to destroy all data.


๐Ÿ”— Useful Links


Deploy jfrog-platform with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has jfrog-platform 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 chartjfrog-platform is pinned at v11.6.5 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