Skip to content

Commit

Permalink
feat: Add support for MongoDB sharded and replicaset charts
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Oct 7, 2023
1 parent 80658bc commit 71db079
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/database/dialect/mongodb.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,12 @@ func (MongoDB) PodLabels() []kubernetes.LabelQueryable {
{Name: "app.kubernetes.io/name", Value: "mongodb"},
{Name: "app.kubernetes.io/component", Value: "mongodb"},
},
kubernetes.LabelQueryAnd{
{Name: "app.kubernetes.io/name", Value: "mongodb-sharded"},
{Name: "app.kubernetes.io/component", Value: "mongos"},
},
kubernetes.LabelQuery{Name: "app", Value: "mongodb"},
kubernetes.LabelQuery{Name: "app", Value: "mongodb-replicaset"},
}
}

Expand Down

0 comments on commit 71db079

Please sign in to comment.