License secret

ARTIFACTORY: Installation Quick Start Guide - Helm

AuthorFullName__c
Paul Pan
articleNumber
000005199
ft:sourceType
Salesforce
FirstPublishedDate
2022-01-13T19:22:21Z
lastModifiedDate
2025-05-15
VersionNumber
21
To activate Artifactory High Availability (HA), you need to install the appropriate licenses.
In this guide, we will demonstrate how to pass the license as a secret, assuming you have been provided with the trial license key.
Please note that this step is optional. If you are installing Artifactory with a fresh database, you will be prompted to enter the license key or add the license bucket during your first visit to Artifactory, without the need to provide the license as a secret.

1. Prepare a text file with the license(s) written in it. If writing multiple licenses (must be in the same file),
it's important to put **two new lines between each license block**!
2. Create the Kubernetes secret (assuming the local license file is 'art.lic')
 
$ kubectl create secret generic artifactory-cluster-license -n artifactory-ha --from-file=./art.lic
# Pass the license to helm
helm upgrade --install artifactory-ha --set artifactory.license.secret=artifactory-cluster-license,artifactory.license.dataKey=art.lic