mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-16 06:16:52 +00:00
fix diff update example and test data version fix convert function fix e2e for helm clean up creationTimestamp in a hack way fix ci pending package suit test fix group version fix ci fix ut rename type to kind fix example fix conflicts Co-authored-by: yangsoon <yangsoonlx@gmail.com>
17 lines
363 B
YAML
17 lines
363 B
YAML
apiVersion: core.oam.dev/v1alpha2
|
|
kind: TraitDefinition
|
|
metadata:
|
|
annotations:
|
|
definition.oam.dev/description: "Manually scale the app"
|
|
name: patch-scaler
|
|
spec:
|
|
appliesToWorkloads:
|
|
- deployments.apps
|
|
extension:
|
|
template: |-
|
|
patch: {
|
|
spec: replicas: parameter.replicas
|
|
}
|
|
parameter: {
|
|
replicas: *1 | int
|
|
} |