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

[feature] Allow specification of target sync store in manifest file #392

Open
mcarter-cyber opened this issue Jan 24, 2025 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@mcarter-cyber
Copy link

mcarter-cyber commented Jan 24, 2025

Is this Feature/Enhancement related to an Existing Problem? If so, please describe:

  • The target store for each manifest file is specified on the command line at time of sync, so when passing multiple files to the hauler store sync command, all files will have the same content store.

Describe Proposed Solution(s):

  • Add a metadata attribute containing target content store, i.e.:
apiVersion: content.hauler.cattle.io/v1alpha1
kind: Files
metadata:
  name: hauler-files
  store: extras
spec:
  files:
    - path: https://github.com/hauler-dev/hauler/releases/download/v1.1.1/hauler_1.1.1_linux_amd64.tar.gz
      name: hauler-linux-amd64.tar.gz

Describe Possible Alternatives:

  • Store could be set via an annotation instead, i.e.:
apiVersion: content.hauler.cattle.io/v1alpha1
kind: Files
metadata:
  name: hauler-files
  annotations:
    hauler.dev/store: <store>
spec:
  files:
    - path: https://github.com/hauler-dev/hauler/releases/download/v1.1.1/hauler_1.1.1_linux_amd64.tar.gz
      name: hauler-linux-amd64.tar.gz

Additional Context:

  • N/A
@mcarter-cyber mcarter-cyber added the enhancement New feature or request label Jan 24, 2025
@zackbradys zackbradys added this to Hauler Feb 3, 2025
@zackbradys zackbradys moved this to To Triage in Hauler Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: To Triage
Development

No branches or pull requests

1 participant