1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-08-18 13:47:15 -04:00
parent b5bf068b82
commit 32a8425052
3 changed files with 6 additions and 6 deletions

View File

@ -154,7 +154,7 @@ const charts = new Map([
}
]),
}],
])
]);
export class HelmChartManager {
constructor(private repo: HelmRepo){ }

View File

@ -97,10 +97,10 @@ export class HelmChartManager {
name,
sortCharts(
charts.map(chart => ({
...chart,
created: Date.parse(chart.created).toString(),
repo: this.repo.name,
})),
...chart,
created: Date.parse(chart.created).toString(),
repo: this.repo.name,
})),
logger.warn,
),
] as const)

View File

@ -53,7 +53,7 @@ class HelmService {
return {
readme: await chartManager.getReadme(chartName, version),
versions: await chartManager.chartVersions(chartName),
}
};
}
public async getChartValues(repoName: string, chartName: string, version = "") {