-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for Template, Canary, Pipeline and GitOpsSet resources. Integration with WGE web portal and documentation. TreeNode code improvements --------- Co-authored-by: gitops-release-bot <[email protected]> Co-authored-by: Kingdon Barrett <[email protected]>
- Loading branch information
1 parent
1f09314
commit 80a94db
Showing
77 changed files
with
2,019 additions
and
650 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "vscode-gitops-tools", | ||
"displayName": "GitOps Tools for Flux", | ||
"description": "GitOps automation tools for continuous delivery of Kubernetes and Cloud Native applications", | ||
"version": "0.25.4", | ||
"version": "0.25.5-edge.0", | ||
"author": "Kingdon Barrett <[email protected]>", | ||
"contributors": [ | ||
"Kingdon Barrett <[email protected]>", | ||
|
@@ -98,6 +98,16 @@ | |
"title": "Resume", | ||
"category": "GitOps" | ||
}, | ||
{ | ||
"command": "gitops.manualPromotion", | ||
"title": "Disable Automatic Promotion", | ||
"category": "GitOps" | ||
}, | ||
{ | ||
"command": "gitops.autoPromotion", | ||
"title": "Enable Automatic Promotion", | ||
"category": "GitOps" | ||
}, | ||
{ | ||
"command": "gitops.flux.checkPrerequisites", | ||
"title": "Flux Check Prerequisites", | ||
|
@@ -259,6 +269,16 @@ | |
"command": "gitops.views.createFromTemplate", | ||
"title": "Create from Template", | ||
"category": "GitOps" | ||
}, | ||
{ | ||
"command": "gitops.views.openInWgePortal", | ||
"title": "Open in Weave Gitops Enterprise...", | ||
"category": "GitOps" | ||
}, | ||
{ | ||
"command": "gitops.views.setContextToGitopsCluster", | ||
"title": "Set as Current Context", | ||
"category": "GitOps" | ||
} | ||
], | ||
"viewsContainers": { | ||
|
@@ -285,8 +305,8 @@ | |
"name": "Workloads" | ||
}, | ||
{ | ||
"id": "gitops.views.templates", | ||
"name": "Templates", | ||
"id": "gitops.views.wge", | ||
"name": "Weave GitOps", | ||
"when": "config.gitops.weaveGitopsEnterprise" | ||
}, | ||
{ | ||
|
@@ -311,7 +331,7 @@ | |
"gitops.weaveGitopsEnterprise": { | ||
"type": "boolean", | ||
"default": false, | ||
"description": "Enable WGE GitOpsTemplates feature" | ||
"description": "Enable WGE features" | ||
}, | ||
"gitops.kubectlRequestTimeout": { | ||
"type": "string", | ||
|
@@ -388,7 +408,7 @@ | |
{ | ||
"command": "gitops.views.refreshResourcesTreeView", | ||
"group": "navigation@1", | ||
"when": "view == gitops.views.templates" | ||
"when": "view == gitops.views.wge" | ||
}, | ||
{ | ||
"command": "gitops.views.showWorkloadsHelpMessage", | ||
|
@@ -434,57 +454,67 @@ | |
}, | ||
{ | ||
"command": "gitops.flux.reconcileSource", | ||
"when": "view == gitops.views.sources && viewItem =~ /(GitRepository;|OCIRepository;|HelmRepository;|Bucket;)/", | ||
"when": "viewItem =~ /(GitRepository;|OCIRepository;|HelmRepository;|Bucket;)/", | ||
"group": "navigation@0" | ||
}, | ||
{ | ||
"command": "gitops.flux.reconcileWorkloadWithSource", | ||
"when": "view == gitops.views.workloads && viewItem =~ /(Kustomization;|HelmRelease;)/", | ||
"when": "viewItem =~ /(Kustomization;|HelmRelease;)/", | ||
"group": "navigation@0" | ||
}, | ||
{ | ||
"command": "gitops.flux.reconcileWorkload", | ||
"when": "view == gitops.views.workloads && viewItem =~ /(Kustomization;|HelmRelease;)/", | ||
"when": "viewItem =~ /(Kustomization;|HelmRelease;)/", | ||
"group": "navigation@1" | ||
}, | ||
{ | ||
"command": "gitops.suspend", | ||
"when": "view =~ /(gitops.views.sources|gitops.views.workloads)/ && viewItem =~ /(GitRepository;|OCIRepository;|Kustomization;|HelmRelease;|HelmRepository;)/ && viewItem =~ /notSuspend;/", | ||
"when": "viewItem =~ /notSuspend;/", | ||
"group": "navigation@1" | ||
}, | ||
{ | ||
"command": "gitops.resume", | ||
"when": "view =~ /(gitops.views.sources|gitops.views.workloads)/ && viewItem =~ /(GitRepository;|OCIRepository;|Kustomization;|HelmRelease;|HelmRepository;)/ && viewItem =~ /suspend;/", | ||
"when": "viewItem =~ /suspend;/", | ||
"group": "navigation@1" | ||
}, | ||
{ | ||
"command": "gitops.manualPromotion", | ||
"when": "viewItem =~ /autoPromotion;/", | ||
"group": "1" | ||
}, | ||
{ | ||
"command": "gitops.autoPromotion", | ||
"when": "viewItem =~ /manualPromotion;/", | ||
"group": "1" | ||
}, | ||
{ | ||
"command": "gitops.views.deleteWorkload", | ||
"when": "view == gitops.views.workloads && viewItem =~ /(Kustomization;|HelmRelease;)/", | ||
"when": "viewItem =~ /(Kustomization;|HelmRelease;)/", | ||
"group": "navigation@2" | ||
}, | ||
{ | ||
"command": "gitops.views.deleteSource", | ||
"when": "view == gitops.views.sources && viewItem =~ /(GitRepository;|OCIRepository;|HelmRepository;|Bucket;)/", | ||
"when": "viewItem =~ /(GitRepository;|OCIRepository;|HelmRepository;|Bucket;)/", | ||
"group": "navigation@2" | ||
}, | ||
{ | ||
"command": "gitops.views.pullGitRepository", | ||
"when": "view == gitops.views.sources && viewItem =~ /GitRepository;/", | ||
"when": "viewItem =~ /GitRepository;/", | ||
"group": "navigation@3" | ||
}, | ||
{ | ||
"command": "gitops.addKustomization", | ||
"when": "view == gitops.views.sources && viewItem =~ /GitRepository;|OCIRepository;|Bucket;/", | ||
"when": "viewItem =~ /GitRepository;|OCIRepository;|Bucket;/", | ||
"group": "navigation@3" | ||
}, | ||
{ | ||
"command": "gitops.editor.showLogs", | ||
"when": "view =~ /^(gitops.views.clusters)$/ && viewItem =~ /(Deployment;)/" | ||
"when": "viewItem =~ /(Deployment;)/" | ||
}, | ||
{ | ||
"command": "gitops.copyResourceName", | ||
"when": "view =~ /^(gitops.views.sources|gitops.views.workloads)$/", | ||
"group": "navigation@9" | ||
"when": "view =~ /^(gitops.views.sources|gitops.views.workloads||gitops.views.wge)$/ && !(viewItem =~ /Container;/)", | ||
"group": "9" | ||
}, | ||
{ | ||
"command": "gitops.flux.trace", | ||
|
@@ -494,7 +524,17 @@ | |
{ | ||
"command": "gitops.views.createFromTemplate", | ||
"group": "1", | ||
"when": "view == gitops.views.templates" | ||
"when": "viewItem =~ /GitOpsTemplate;/" | ||
}, | ||
{ | ||
"command": "gitops.views.openInWgePortal", | ||
"group": "1", | ||
"when": "viewItem =~ /hasWgePortal;/" | ||
}, | ||
{ | ||
"command": "gitops.views.setContextToGitopsCluster", | ||
"group": "1", | ||
"when": "viewItem =~ /GitopsCluster;/" | ||
} | ||
], | ||
"gitops.explorer": [ | ||
|
@@ -543,6 +583,14 @@ | |
"command": "gitops.resume", | ||
"when": "never" | ||
}, | ||
{ | ||
"command": "gitops.manualPromotion", | ||
"when": "never" | ||
}, | ||
{ | ||
"command": "gitops.autoPromotion", | ||
"when": "never" | ||
}, | ||
{ | ||
"command": "gitops.flux.check", | ||
"when": "never" | ||
|
@@ -614,6 +662,10 @@ | |
{ | ||
"command": "gitops.dev.showGlobalState", | ||
"when": "gitops:isDev" | ||
}, | ||
{ | ||
"command": "gitops.views.setContextToGitopsCluster", | ||
"when": "never" | ||
} | ||
] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.