Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add virtural_service/destination_rule to dubbo kubernetes #318

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions api/mesh/v1alpha1/dataplane_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import (
)

const (
//AppTag , key to match applicationName, set by kube label
AppTag = "app"
)

Expand Down Expand Up @@ -520,3 +521,9 @@ func (r TagSelectorRank) CompareTo(other TagSelectorRank) int {
}
return thisTotal - otherTotal
}

func (x *Dataplane) GetApplication() string {
// application field will be set in metadata register
// [pkg/mds/server/server.go:MdsServer.MetadataRegister]
return x.Extensions[Application]
}
Loading
Loading