Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFE] Allow hauler to pull from a registry for images #172

Closed
zackbradys opened this issue Feb 9, 2024 · 1 comment
Closed

[RFE] Allow hauler to pull from a registry for images #172

zackbradys opened this issue Feb 9, 2024 · 1 comment
Assignees

Comments

@zackbradys
Copy link
Member

Is your feature request related to a problem? Please describe.

  • Yes, see below

Describe the solution you'd like

  • For hauler to have the ability to set a registry to automatically prepend to any image
zackbradys@Zacks-MBP ~ % hauler store add image -h
Add an image to the content store

Usage:
  hauler store add image [flags]

Flags:
  -h, --help              help for image
  -k, --key string        (Optional) Path to the key for digital signature verification
  -p, --platform string   (Optional) Specific platform to save. i.e. linux/amd64. Defaults to all if flag is omitted.
  -r, --registry string   (Optional) Specific registry to pull images. Defaults to "docker.io"

Global Flags:
      --cache string       Location of where to store cache data (defaults to $XDG_CACHE_DIR/hauler)
  -l, --log-level string    (default "info")
  -s, --store string       Location to create store at (default "store")
apiVersion: content.hauler.cattle.io/v1alpha1
kind: Images
metadata:
  name: hauler-content-images-example
  platform: linux/amd64
  key: carbide-key.pub
  registry: rgcrprod.azurecr.us
spec:
  images:
    - name: longhornio/longhorn-ui:v1.5.1
      platform: linux/amd64
      key: carbide-key.pub
      registry: rgcrprod.azurecr.us

Describe alternatives you've considered

  • Manually maintaining separate hauler manifests with the registry set at each image.
  • Manually ensuring that I have the correct registry, in the image name, with each hauler store add image.

Additional context

  • N/A
@zackbradys zackbradys changed the title [RFE] Allow hauler to pull from a registry for images and `charts [RFE] Allow hauler to pull from a registry for images Feb 9, 2024
@amartin120 amartin120 self-assigned this Feb 11, 2024
@zackbradys
Copy link
Member Author

Closed per #173!

@github-project-automation github-project-automation bot moved this to Pending Review in Hauler Feb 14, 2024
@zackbradys zackbradys moved this from Pending Review to Resolved in Hauler Feb 14, 2024
@github-project-automation github-project-automation bot moved this to Pending Review in Hauler Jul 17, 2024
@zackbradys zackbradys moved this from Pending Review to Resolved in Hauler Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Resolved
Development

No branches or pull requests

2 participants