mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-23 22:46:53 +00:00
* 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
19 lines
333 B
CUE
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
|
|
}
|