Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Chart dependencies stored in etcd #109

Merged

Conversation

piotrmiskiewicz
Copy link
Collaborator

Description

Changes proposed in this pull request:

  • chart storage stores also dependencies which solves a problem with addons, which contains chart and subchart

Related: #55

jasiu001
jasiu001 previously approved these changes Jun 23, 2020
// then
got, err := ts.s.Get("ns1", internal.ChartName(chrt.Name()), *semver.MustParse(chrt.Metadata.Version))
require.NoError(t, err)
assert.Equal(t, len(chrt.Dependencies()), len(got.Dependencies()))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit. for future test you can use Len

assert.Len(t, chrt.Dependencies(), len(got.Dependencies()))

@piotrmiskiewicz piotrmiskiewicz merged commit 6bebd12 into SAP-archive:master Jun 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants