Step 5

ARTIFACTORY: Deploying Artifactory Helm charts with Nginx-ingress

AuthorFullName__c
Prajyot Pawase, Raphael Zaafrani
articleNumber
000005348
ft:sourceType
Salesforce
FirstPublishedDate
2022-07-26T14:08:27Z
lastModifiedDate
2024-04-03T11:00:03Z
VersionNumber
6
Install JFrog Artifactory using Helm Chart by adding the below ingress configuration to values.yaml file (we can add nginx.annotations as per the nginx-ingress standard. For more information about the Nginx ingress controller annotations please refer to Nginx annotation page here).

Warn: The following snippet is compatible with the "subdomain" access method of Docker. To use the "repository path" access methods please omit the following block in the config:
nginx.ingress.kubernetes.io/rewrite-target: "/"
nginx.ingress.kubernetes.io/configuration-snippet: |
rewrite ^/(v2)/token /artifactory/api/docker/null/v2/token;
rewrite ^/(v2)/([^\/]*)/(.*) /artifactory/api/docker/$2/$1/$3;