Configure the dynamic plugins cache
Configure the dynamic plugins cache by setting pull policy and download parameters in the dynamic-plugins.yaml file.
Procedure
dynamic-plugins.yaml file:
pullPolicy: IfNotPresent(default)- Download the artifact if it is not already present in the dynamic-plugins-root folder, without checking image digests.
-
pullPolicy: Always -
Compare the image digest in the remote registry and downloads the artifact if it has changed, even if Developer Hub has already downloaded the plugin before.
When applied to the Node Package Manager (NPM) downloading method, download the remote artifact without a digest check.
Example
dynamic-plugins.yamlfile configuration to download the remote artifact without a digest check:plugins: - disabled: false pullPolicy: Always package: 'oci://quay.io/example-org/example-plugin:v1.0.0' forceDownload: false(default)- Older option to download the artifact if it is not already present in the dynamic-plugins-root folder, without checking image digests.
-
forceDownload: true -
Older option to force a reinstall of the plugin, bypassing the cache.
Note The
pullPolicyoption takes precedence over theforceDownloadoption.The
forceDownloadoption might become deprecated in a future Developer Hub release.