Files
kubevela/vela-templates/definitions/internal/annotations.cue
T
Somefive ee0282af18 [Vela CLI] Vela def enhancement & replace mergedef.sh (#2031)
* draft vela def enhancement

* add format and amend test

* fix generation bugs

* force CI

* work around lifecycle definition in avoid of vela show --web crash

* fix data race in envbinding
2021-08-06 17:10:52 +08:00

19 lines
333 B
CUE

annotations: {
type: "trait"
annotations: {}
labels: {}
description: "Add annotations for your Workload."
attributes: {
podDisruptive: true
appliesToWorkloads: ["deployments.apps"]
}
}
template: {
patch: spec: template: metadata: annotations: {
for k, v in parameter {
"\(k)": v
}
}
parameter: [string]: string
}