mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
b5bf068b82
commit
32a8425052
3 files changed
+6
-6
No files matched your search
@@ -154,7 +154,7 @@ const charts = new Map([
|
||||
}
|
||||
]),
|
||||
}],
|
||||
])
|
||||
]);
|
||||
|
||||
export class HelmChartManager {
|
||||
constructor(private repo: HelmRepo){ }
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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 = "") {
|
||||
|
||||
Reference in new issue
Block a user