Skip to content
New issue

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

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

Already on GitHub? # to your account

Add special annotations for Kubernetes resources #83

Merged

Conversation

ricoberger
Copy link
Member

It is now possible to use teams, applications and dashboards within all
Kubernetes resources via some special annotations. The "kobs.io/teams"
annotations can be used to specify a list of teams for a resource. The
annotation requires a list of teams, with the cluster, namespace and
name of the team. If the cluster/namespace isn't set the
cluster/namespace of the resource will be used. The
"kobs.io/applications" annotation can be used in the same way to specify
a list of applications for a resource. Last but not least the
"kobs.io/dashboards" annotation can be used to set a list of dashboards
which should be shown for the resource. If the dashboards uses
placeholders, the values for these must also provided. To set the value
for a placeholder it is also possible to use a JSONPath to set the value
to the value of a property in the Kubernetes manifest file for the
resource.

It is now possible to use teams, applications and dashboards within all
Kubernetes resources via some special annotations. The "kobs.io/teams"
annotations can be used to specify a list of teams for a resource. The
annotation requires a list of teams, with the cluster, namespace and
name of the team. If the cluster/namespace isn't set the
cluster/namespace of the resource will be used. The
"kobs.io/applications" annotation can be used in the same way to specify
a list of applications for a resource. Last but not least the
"kobs.io/dashboards" annotation can be used to set a list of dashboards
which should be shown for the resource. If the dashboards uses
placeholders, the values for these must also provided. To set the value
for a placeholder it is also possible to use a JSONPath to set the value
to the value of a property in the Kubernetes manifest file for the
resource.
@ricoberger ricoberger merged commit bcf0fe5 into main Jul 16, 2021
@ricoberger ricoberger deleted the allow-usage-of-teams-applications-dashboards-within-resources branch July 16, 2021 10:13
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant