Skip to content

Commit 535eadd

Browse files
author
Luke Goodfellow
authored
Custom GitOps Install (#6)
* removed label checking to support custom install * updated version
1 parent 348be22 commit 535eadd

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.1.2
1+
2.2.0

src/main.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -171,16 +171,6 @@ async function gatherGitOps() {
171171

172172
const namespace = namespaceList.items[selection - 1].metadata.name;
173173

174-
const apps = await argoProj.namespace(namespace).getApplicationList();
175-
const isCodfresh = apps.items.some((app) => ['codefresh.io/entity'] in app.metadata.labels);
176-
177-
if (!isCodfresh) {
178-
const continueData = confirm(`\nCould not find a GitOps Runtime in ${namespace}. Do you still want to continue?`);
179-
if (!continueData) {
180-
Deno.exit();
181-
}
182-
}
183-
184174
console.log(`\nGathering Data In ${namespace} For The GitOps Runtime.`);
185175

186176
await fetchAndSaveData('gitops', namespace);

0 commit comments

Comments
 (0)