-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[app] Add Integrations for Kubernetes Resources
Add a new integrations feature for kobs. In this first iteration we implemented the suggested integrations feature from #255 for Kubernetes Resources. This integration allows an administrator of kobs to add a set of default dashboards to Kubernetes Resources. This way we can add for example a resource usage dashboard to all Pods, without that each Pod must have the "kobs.io/dashboards" annotation. The configured dashboards in the integrations and the dashboards from the "kobs.io/dashboards" annotation are always merged and not overwritte.
- Loading branch information
1 parent
4490c9f
commit 13b86b8
Showing
20 changed files
with
190 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,25 @@ | ||
package api | ||
|
||
import ( | ||
"github.com/kobsio/kobs/pkg/hub/api/applications" | ||
"github.com/kobsio/kobs/pkg/hub/api/clusters" | ||
"github.com/kobsio/kobs/pkg/hub/api/dashboards" | ||
"github.com/kobsio/kobs/pkg/hub/api/navigation" | ||
"github.com/kobsio/kobs/pkg/hub/api/notifications" | ||
"github.com/kobsio/kobs/pkg/hub/api/plugins" | ||
"github.com/kobsio/kobs/pkg/hub/api/resources" | ||
"github.com/kobsio/kobs/pkg/hub/api/teams" | ||
"github.com/kobsio/kobs/pkg/hub/api/users" | ||
) | ||
|
||
type Config struct { | ||
Users users.Config `json:"users"` | ||
Applications applications.Config `json:"applications"` | ||
Clusters clusters.Config `json:"clusters"` | ||
Dashboards dashboards.Config `json:"dashboards"` | ||
Navigation navigation.Config `json:"navigation"` | ||
Notifications notifications.Config `json:"notifications"` | ||
Plugins plugins.Config `json:"plugins"` | ||
Resources resources.Config `json:"resources"` | ||
Teams teams.Config `json:"teams"` | ||
Users users.Config `json:"users"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.