-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
45 additions
and
123 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,7 +59,7 @@ jobs: | |
with: | ||
name: velad-darwin-amd64 | ||
- name: Setup Docker | ||
uses: docker-practice/[email protected].8 | ||
uses: docker-practice/[email protected].11 | ||
- run: chmod u+x velad-darwin-amd64 && mv velad-darwin-amd64 velad | ||
- run: ./velad install | ||
- run: vela def list | ||
|
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
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
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
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
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
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
41 changes: 0 additions & 41 deletions
41
...rces/static/vela/charts/vela-core/templates/defwithtemplate/import-grafana-dashboard.yaml
This file was deleted.
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
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
51 changes: 0 additions & 51 deletions
51
...s/static/vela/charts/vela-core/templates/defwithtemplate/register-grafana-datasource.yaml
This file was deleted.
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
38 changes: 38 additions & 0 deletions
38
pkg/resources/static/vela/charts/vela-core/templates/defwithtemplate/shared-resource.yaml
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Code generated by KubeVela templates. DO NOT EDIT. Please edit the original cue file. | ||
# Definition source cue file: vela-templates/definitions/internal/shared-resource.cue | ||
apiVersion: core.oam.dev/v1beta1 | ||
kind: PolicyDefinition | ||
metadata: | ||
annotations: | ||
definition.oam.dev/description: Configure the resources to be sharable across applications. | ||
name: shared-resource | ||
namespace: {{ include "systemDefinitionNamespace" . }} | ||
spec: | ||
schematic: | ||
cue: | ||
template: | | ||
#SharedResourcePolicyRule: { | ||
// +usage=Specify how to select the targets of the rule | ||
selector: [...#ResourcePolicyRuleSelector] | ||
} | ||
#ResourcePolicyRuleSelector: { | ||
// +usage=Select resources by component names | ||
componentNames?: [...string] | ||
// +usage=Select resources by component types | ||
componentTypes?: [...string] | ||
// +usage=Select resources by oamTypes (COMPONENT or TRAIT) | ||
oamTypes?: [...string] | ||
// +usage=Select resources by trait types | ||
traitTypes?: [...string] | ||
// +usage=Select resources by resource types (like Deployment) | ||
resourceTypes?: [...string] | ||
// +usage=Select resources by their names | ||
resourceNames?: [...string] | ||
} | ||
parameter: { | ||
// +usage=Specify the list of rules to control shared-resource strategy at resource level. | ||
// The selected resource will be sharable across applications. (That means multiple applications | ||
// can all read it without conflict, but only the first one can write it) | ||
rules?: [...#SharedResourcePolicyRule] | ||
} | ||
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