Add support for viewing 'User-supplied values' of helm release (#1862)

Co-authored-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
osddeitfandSebastian Malton authored and GitHub committed 2021-04-20 11:47:38 -04:00
1 parent a2be178191
commit 04d3cd5b14
6 files changed
+33 -15

No files matched your search

@@ -112,8 +112,8 @@ export async function deleteRelease(name: string, namespace: string): Promise<Js
return apiBase.del(path);
}
export async function getReleaseValues(name: string, namespace: string): Promise<string> {
const path = `${endpoint({ name, namespace })}/values`;
export async function getReleaseValues(name: string, namespace: string, all?: boolean): Promise<string> {
const path = `${endpoint({ name, namespace })}/values${all? "?all": ""}`;
return apiBase.get<string>(path);
}