Applying plugins without secrets

ARTIFACTORY: How to apply user plugins to Helm installation of Artifactory

AuthorFullName__c
Rasul Imanov
articleNumber
000005643
ft:sourceType
Salesforce
FirstPublishedDate
2023-03-23T19:28:58Z
lastModifiedDate
2023-03-23T19:28:58Z
VersionNumber
1
When using Artifactory User Plugins, secrets are typically used to load plugin files onto the pod. This is because plugins usually do not exceed the maximum secret size, making it an easy way to transfer files.

However, if a file does exceed the maximum size with the error "error: failed to create secret Request entity too large: limit is 3145728", you can load it onto the pod using the "kubectl cp" command from your local environment.
From your local environment where the file exists, run "kubectl cp <path-to-file-locally> <path-to-file-pod>"
kubectl cp /tmp/foo <some-namespace>/<some-pod>:/tmp/bar

Once the file is in the pod,
  • place it under $JFROG_HOME/artifactory/var/etc/artifactory/plugins directory 
  • run the Reload Plugins API call to apply the plugin to Artifactory. 
Following these steps for all plugin files should result in successful plugin functionality.