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

Support import-values in chart dependencies #106

Closed
fstaudt opened this issue Jul 20, 2023 · 0 comments
Closed

Support import-values in chart dependencies #106

fstaudt opened this issue Jul 20, 2023 · 0 comments
Assignees
Milestone

Comments

@fstaudt
Copy link
Owner

fstaudt commented Jul 20, 2023

Following syntax in Chart.yaml should be taken into account in generated JSON schema:

apiVersion: v2
version: 1.0.0
name: bundle
dependencies:
  - name: subchart
    version: 1.0.0
    import-values:
      - child: child-key
        parent: parent-key

Properties of child-key in subchart should be considered as valid when used in parent-key in bundle chart:

# already valid
subchart:
  child-key:
    test: value
# should also be valid
parent-key:
  test: value

Short syntax for import-values in Chart.yaml should also be supported:

apiVersion: v2
version: 1.0.0
name: bundle
dependencies:
  - name: subchart
    version: 1.0.0
    import-values:
      - data

It should be treated as :

dependencies:
  - name: subchart
    version: 1.0.0
    import-values:
      - child: exports.data
        parent: data
@fstaudt fstaudt added this to the 0.9.0 milestone Nov 11, 2023
@fstaudt fstaudt self-assigned this Mar 17, 2024
@fstaudt fstaudt changed the title Support import-values with child-parent format in chart dependencies Support import-values in chart dependencies Apr 1, 2024
@fstaudt fstaudt closed this as completed in 8959c47 Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant