Fix addRevisionLabel to selector (#1983)

Signed-off-by: Xiaoxi He <tossmilestone@gmail.com>
This commit is contained in:
Shaw Ho
2021-08-02 16:36:54 +08:00
committed by GitHub
parent 2c2fe4dc66
commit d9cd048d79
5 changed files with 0 additions and 18 deletions

View File

@@ -898,9 +898,6 @@ var webServiceV2Template = `output: {
spec: {
selector: matchLabels: {
"app.oam.dev/component": context.name
if parameter.addRevisionLabel {
"app.oam.dev/appRevision": context.appRevision
}
}
template: {
metadata: labels: {