jfrog-platform
by Helm
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/postgresqlchart (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/rabbitmqchart (can be changed) -
Optional Nginx server
โ ๏ธ Important Versioning Notes
- GA Release: This is the General Availability release. Backward compatibility with versions
< 10.0.0is 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 the10.xchart versions.
๐ Prerequisites
Ensure your environment meets the following requirements before proceeding.
| Requirement | Details |
|---|---|
| Kubernetes | Version 1.23 or higher. |
| Helm | Helm v3 is required. |
| License | Artifactory Enterprise(+) or Pro license. Get a Free Trial License |
| Resources | Sufficient 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:
| Option | Values flag | When 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=true | Dev / test only โ the private key is chart-generated and not issued by a trusted CA |
| Disable HTTPS entirely | --set artifactory.nginx.https.enabled=false | HTTP-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:
| Banner | When it appears | What to do |
|---|---|---|
| CHART-GENERATED self-signed TLS certificate (DEV/TEST only) | artifactory.nginx.generateSelfSignedCert=true and no tlsSecretName set | Rotate to a real cert: --set artifactory.nginx.tlsSecretName=<name> --set artifactory.nginx.generateSelfSignedCert=false |
| ACTION RECOMMENDED: replace the chart-generated TLS certificate | Upgrade reused a legacy auto-generated Secret from an earlier chart | Rotate 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.yamlfile must be applied last. When using multiple-fflags 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.
- Replica Count: Set
artifactory.artifactory.replicaCountto 2 or more (3 is recommended). - Filestore: Do not use
file-systemfor persistence in HA. You must usecluster-file-systemor 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
- Deploy the chart and wait for the Artifactory pod to be
Running. - Access the Artifactory UI.
- Paste all license keys into the activation window. See HA Installation & Setup
- ๐ก Tip: If using HA, paste all licenses at once, separated by newlines.
Method B: Kubernetes Secret (Automation) ๐
Best for CI/CD or IaC deployments. This method is used for initial bootstrapping only.
-
Create the Secret: Create a file
art.liccontaining your license keys (separated by two newlines).kubectl create secret generic artifactory-cluster-license --from-file=./art.lic -n jfrog-platform -
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
copyOnEveryStartupoption incustomvalues.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.
- Identify Current Version:
kubectl get pod jfrog-platform-postgresql-0 -n jfrog-platform -o jsonpath="{.spec.containers[*].image}" - Pin Version in
customvalues.yaml: Take the tag obtained above and configure it:postgresql: image: tag: <CURRENT_POSTGRES_TAG> databaseUpgradeReady: true - 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
- ๐ Official JFrog Helm Installation Documentation
- ๐๏ธ Filestore Configuration
- ๐งพ REST API for Licensing
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartjfrog-platform is pinned at v11.6.5 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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