Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #49 from flanksource/fix/networkingtemplates
Browse files Browse the repository at this point in the history
fix: add case for networking schema objects
  • Loading branch information
moshloop authored Jun 8, 2021
2 parents ebcd87d + 7f4e66b commit 5acbd42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions k8s/schema_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,8 @@ func (m *SchemaManager) getDefinitionName(gvk schema.GroupVersionKind) string {
group = "core"
} else if group == "rbac.authorization.k8s.io" {
group = "rbac"
} else if group == "networking.k8s.io" {
group = "networking"
}

return fmt.Sprintf("io.k8s.api.%s.%s.%s", group, version, kind)
Expand Down

0 comments on commit 5acbd42

Please sign in to comment.