github.com/Racer159/jackal@v0.32.7-0.20240401174413-0bd2339e4f2e/docs/2-the-jackal-cli/100-cli-commands/jackal_package_mirror-resources.md (about) 1 # jackal package mirror-resources 2 <!-- Auto-generated by hack/gen-cli-docs.sh --> 3 4 Mirrors a Jackal package's internal resources to specified image registries and git repositories 5 6 ## Synopsis 7 8 Unpacks resources and dependencies from a Jackal package archive and mirrors them into the specified 9 image registries and git repositories within the target environment 10 11 ``` 12 jackal package mirror-resources [ PACKAGE_SOURCE ] [flags] 13 ``` 14 15 ## Examples 16 17 ``` 18 19 # Mirror resources to internal Jackal resources 20 $ jackal package mirror-resources <your-package.tar.zst> \ 21 --registry-url 127.0.0.1:31999 \ 22 --registry-push-username jackal-push \ 23 --registry-push-password <generated-registry-push-password> \ 24 --git-url http://jackal-gitea-http.jackal.svc.cluster.local:3000 \ 25 --git-push-username jackal-git-user \ 26 --git-push-password <generated-git-push-password> 27 28 # Mirror resources to external resources 29 $ jackal package mirror-resources <your-package.tar.zst> \ 30 --registry-url registry.enterprise.corp \ 31 --registry-push-username <registry-push-username> \ 32 --registry-push-password <registry-push-password> \ 33 --git-url https://git.enterprise.corp \ 34 --git-push-username <git-push-username> \ 35 --git-push-password <git-push-password> 36 37 ``` 38 39 ## Options 40 41 ``` 42 --components string Comma-separated list of components to mirror. This list will be respected regardless of a component's 'required' or 'default' status. Globbing component names with '*' and deselecting components with a leading '-' are also supported. 43 --confirm Confirms package deployment without prompting. ONLY use with packages you trust. Skips prompts to review SBOM, configure variables, select optional components and review potential breaking changes. 44 --git-push-password string Password for the push-user to access the git server 45 --git-push-username string Username to access to the git server Jackal is configured to use. User must be able to create repositories via 'git push' (default "jackal-git-user") 46 --git-url string External git server url to use for this Jackal cluster 47 -h, --help help for mirror-resources 48 --no-img-checksum Turns off the addition of a checksum to image tags (as would be used by the Jackal Agent) while mirroring images. 49 --registry-push-password string Password for the push-user to connect to the registry 50 --registry-push-username string Username to access to the registry Jackal is configured to use (default "jackal-push") 51 --registry-url string External registry url address to use for this Jackal cluster 52 --retries int Number of retries to perform for Jackal deploy operations like git/image pushes or Helm installs (default 3) 53 ``` 54 55 ## Options inherited from parent commands 56 57 ``` 58 -a, --architecture string Architecture for OCI images and Jackal packages 59 --insecure Allow access to insecure registries and disable other recommended security enforcements such as package checksum and signature validation. This flag should only be used if you have a specific reason and accept the reduced security posture. 60 -k, --key string Path to public key file for validating signed packages 61 -l, --log-level string Log level when running Jackal. Valid options are: warn, info, debug, trace (default "info") 62 --no-color Disable colors in output 63 --no-log-file Disable log file creation 64 --no-progress Disable fancy UI progress bars, spinners, logos, etc 65 --oci-concurrency int Number of concurrent layer operations to perform when interacting with a remote package. (default 3) 66 --tmpdir string Specify the temporary directory to use for intermediate files 67 --jackal-cache string Specify the location of the Jackal cache directory (default "~/.jackal-cache") 68 ``` 69 70 ## SEE ALSO 71 72 * [jackal package](jackal_package.md) - Jackal package commands for creating, deploying, and inspecting packages