Skip to content

Commit

Permalink
Fix addRevisionLabel to selector
Browse files Browse the repository at this point in the history
Signed-off-by: Xiaoxi He <tossmilestone@gmail.com>
  • Loading branch information
tossmilestone committed Jul 31, 2021
1 parent 4481e76 commit e3b2f38
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 18 deletions.
3 changes: 0 additions & 3 deletions charts/vela-core/templates/defwithtemplate/webservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ spec:
spec: {
selector: matchLabels: {
"app.oam.dev/component": context.name
if parameter.addRevisionLabel {
"app.oam.dev/appRevision": context.appRevision
}
}
template: {
Expand Down
6 changes: 0 additions & 6 deletions e2e/plugin/plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,6 @@ spec:
spec: {
selector: matchLabels: {
"app.oam.dev/component": context.name
if parameter.addRevisionLabel {
"app.oam.dev/appRevision": context.appRevision
}
}
template: {
Expand Down Expand Up @@ -639,9 +636,6 @@ spec:
spec: {
selector: matchLabels: {
"app.oam.dev/component": context.name
if parameter.addRevisionLabel {
"app.oam.dev/appRevision": context.appRevision
}
}
template: {
Expand Down
3 changes: 0 additions & 3 deletions pkg/cue/testdata/workloads/webservice.cue
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ output: {
spec: {
selector: matchLabels: {
"app.oam.dev/component": context.name
if parameter.addRevisionLabel {
"app.oam.dev/appRevision": context.appRevision
}
}
template: {
metadata: labels: {
Expand Down
3 changes: 0 additions & 3 deletions test/e2e-test/definition_revision_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
3 changes: 0 additions & 3 deletions vela-templates/internal/cue/webservice.cue
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ output: {
spec: {
selector: matchLabels: {
"app.oam.dev/component": context.name
if parameter.addRevisionLabel {
"app.oam.dev/appRevision": context.appRevision
}
}

template: {
Expand Down

0 comments on commit e3b2f38

Please sign in to comment.