wyike
a7bfb2fb6f
refactor appRevison extract func to utils ( #1481 )
...
* refactor appRevison extract func to utils
* add some corener case check
* add more checks
2021-04-14 15:48:23 +08:00
Yue Wang
b411d79ed0
add webhook validation on CUE template outputs name ( #1460 )
...
add hooks for process.Context to do validation
add unit test
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-04-13 19:18:15 +08:00
yangsoon
5164efeb4a
add context.appRevisionNum ( #1466 )
2021-04-12 15:36:19 +08:00
Stupig
1444376b0c
newline is missing for BaseContextFile ( #1396 )
2021-04-01 12:07:27 +08:00
天元
05c0fb8f9a
fix test
2021-03-29 19:45:29 +08:00
Zheng Xi Zhou
9e40b77b60
Support cloud resource provisiong and consuming ( #1264 )
...
* Support cloud resource provisioning and consuming (Crossplane)
Provided a way to store secret for cloud resource generated by
Crossplane and to consume the secret
Refer to #1128
* Separate cloud resource producer and consumer in two applications
* add unit test to check whether application can consume cloud resource secret
* update Cloud Resource doc
* Provisioning and consuming cloud resource in different applications v1 (one cloud resource)
* one component consumes two cloud resources
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
2021-03-29 17:20:33 +08:00
wyike
74a82e0397
add header-check.sh ( #1310 )
...
add ci workflow
update scripts
add missed licence header for all files
2021-03-26 15:24:19 +08:00
Jianbo Sun
66c111be6c
add appRevision into context ( #1165 )
2021-03-10 00:47:17 -08:00
天元
98b059c0ae
output not allowed in traitdefinition, should use outputs:<resource>:<full object>
2021-02-23 16:20:30 +08:00
Jian.Li
95cd9bb198
Use "context.outputs" to reference auxiliary objects defined in the definition template ( #1087 )
...
* refer outputs
* add docs
* update docs
* rename object
2021-02-22 21:36:57 -08:00
Jianbo Sun
ee93efc154
Merge pull request #1078 from dylandee/reduce-io-operation
...
improvement: reduce io operation when load appfile
2021-02-22 15:07:39 +08:00
Jian.Li
8f83e3dd98
Use context.output instead of context.input to refer to the output object defined in the WorkloadDefinition ( #1076 )
...
* use output instead of input to reference workload
* const
2021-02-20 13:29:48 +08:00
Dylan
d7f64725d6
improvement: reduce io operation when load appfile
2021-02-20 11:36:39 +08:00
天元
87e52bb349
add demo, test and refine code
2021-02-04 14:14:52 +08:00
天元
f310665fe0
implement vela status in application CRD controller and refactor the health check code
2021-02-03 18:13:47 +08:00
天元
aed2494875
allow multiple outputs for workloaddefintion
2021-01-29 11:39:44 +08:00
天元
718a4b1999
fix ci
2021-01-07 17:52:15 +08:00
天元
4cfee561b9
refactor and add scope to application
2021-01-07 13:07:12 +08:00
天元
3d3b3239d8
add trait type
2021-01-05 21:18:27 +08:00
天元
b1a97b08ec
add workload type to label
2021-01-05 21:08:41 +08:00
Jian.Li
e882a650ae
Extend application's capabilities by trait definition ( #742 )
...
* add dsl pkg
* realize context capabilities for application
* fix golint
* fix check-diff
* upgrade vela server sample
* comment group
* Definition Reference be Optional & fix three-part trait crd apply without namespace
* Improve samples
2020-12-13 20:00:06 -08:00