mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Replace deprecated stable helm repository with bitnami (#1479)
* Replace deprecated stable repo with bitnami Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
parent
8c73861962
commit
6a0dd4edfb
@ -84,7 +84,7 @@ describe("Lens integration tests", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('ensures helm repos', async () => {
|
it('ensures helm repos', async () => {
|
||||||
await app.client.waitUntilTextExists("div.repos #message-stable", "stable"); // wait for the helm-cli to fetch the stable repo
|
await app.client.waitUntilTextExists("div.repos #message-bitnami", "bitnami"); // wait for the helm-cli to fetch the bitnami repo
|
||||||
await app.client.click("#HelmRepoSelect"); // click the repo select to activate the drop-down
|
await app.client.click("#HelmRepoSelect"); // click the repo select to activate the drop-down
|
||||||
await app.client.waitUntilTextExists("div.Select__option", ""); // wait for at least one option to appear (any text)
|
await app.client.waitUntilTextExists("div.Select__option", ""); // wait for at least one option to appear (any text)
|
||||||
});
|
});
|
||||||
|
|||||||
@ -83,7 +83,7 @@ export class HelmRepoManager extends Singleton {
|
|||||||
repositories: []
|
repositories: []
|
||||||
}));
|
}));
|
||||||
if (!repositories.length) {
|
if (!repositories.length) {
|
||||||
await this.addRepo({ name: "stable", url: "https://kubernetes-charts.storage.googleapis.com/" });
|
await this.addRepo({ name: "bitnami", url: "https://charts.bitnami.com/bitnami" });
|
||||||
return await this.repositories();
|
return await this.repositories();
|
||||||
}
|
}
|
||||||
return repositories.map(repo => ({
|
return repositories.map(repo => ({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user