Skip to content
Merged
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ NOTE: As semantic versioning states all 0.y.z releases can contain breaking chan
- [#276](https://github.com/kobsio/kobs/pull/276): [resources] :warning: _Breaking change:_ :warning: Add new `verbs` property for resource permissions, to allow administrators more control about what users can do.
- [#279](https://github.com/kobsio/kobs/pull/279): [dashboards] :warning: _Breaking change:_ :warning: Refactor defaults, placeholders and variables handling.
- [#281](https://github.com/kobsio/kobs/pull/281): [helm] Remove `helm.sh/helm/v3` package and use a custom implementation to get Helm releases.
- [#284](https://github.com/kobsio/kobs/pull/284): [core] :warning: _Breaking change:_ :warning: Update CRD versions from `v1beta1` to `v1`.

## [v0.7.0](https://github.com/kobsio/kobs/releases/tag/v0.7.0) (2021-11-19)

Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ generate: generate-crds
.PHONY: generate-crds
generate-crds:
for crd in $(CRDS); do \
${GOPATH}/src/k8s.io/code-generator/generate-groups.sh "deepcopy,client,informer,lister" github.com/kobsio/kobs/pkg/api/clients/$$crd github.com/kobsio/kobs/pkg/api/apis $$crd:v1beta1 --output-base ./tmp; \
rm -rf ./pkg/api/apis/$$crd/v1beta1/zz_generated.deepcopy.go; \
${GOPATH}/src/k8s.io/code-generator/generate-groups.sh "deepcopy,client,informer,lister" github.com/kobsio/kobs/pkg/api/clients/$$crd github.com/kobsio/kobs/pkg/api/apis $$crd:v1 --output-base ./tmp; \
rm -rf ./pkg/api/apis/$$crd/v1/zz_generated.deepcopy.go; \
rm -rf ./pkg/api/clients/$$crd/clientset; \
rm -rf ./pkg/api/clients/$$crd/informers; \
rm -rf ./pkg/api/clients/$$crd/listers; \
mkdir -p ./pkg/api/clients/$$crd; \
mv ./tmp/github.com/kobsio/kobs/pkg/api/apis/$$crd/v1beta1/zz_generated.deepcopy.go ./pkg/api/apis/$$crd/v1beta1; \
mv ./tmp/github.com/kobsio/kobs/pkg/api/apis/$$crd/v1/zz_generated.deepcopy.go ./pkg/api/apis/$$crd/v1; \
mv ./tmp/github.com/kobsio/kobs/pkg/api/clients/$$crd/clientset ./pkg/api/clients/$$crd/clientset; \
mv ./tmp/github.com/kobsio/kobs/pkg/api/clients/$$crd/informers ./pkg/api/clients/$$crd/informers; \
mv ./tmp/github.com/kobsio/kobs/pkg/api/clients/$$crd/listers ./pkg/api/clients/$$crd/listers; \
Expand Down
2 changes: 1 addition & 1 deletion deploy/demo/bookinfo/details-application.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Application
metadata:
name: details
Expand Down
2 changes: 1 addition & 1 deletion deploy/demo/bookinfo/productpage-application.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Application
metadata:
name: productpage
Expand Down
2 changes: 1 addition & 1 deletion deploy/demo/bookinfo/ratings-application.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Application
metadata:
name: ratings
Expand Down
2 changes: 1 addition & 1 deletion deploy/demo/bookinfo/reviews-application.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Application
metadata:
name: reviews
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Application
metadata:
name: elastic-operator
Expand Down
2 changes: 1 addition & 1 deletion deploy/demo/elastic-system/elasticsearch-application.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Application
metadata:
name: elasticsearch
Expand Down
2 changes: 1 addition & 1 deletion deploy/demo/elastic-system/filebeat-application.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Application
metadata:
name: filebeat
Expand Down
2 changes: 1 addition & 1 deletion deploy/demo/istio-system/jaeger-application.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Application
metadata:
name: jaeger
Expand Down
2 changes: 1 addition & 1 deletion deploy/demo/istio-system/prometheus-application.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Application
metadata:
name: prometheus
Expand Down
2 changes: 1 addition & 1 deletion deploy/demo/kobs/base/dashboards/istio-http.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Dashboard
metadata:
name: istio-http
Expand Down
2 changes: 1 addition & 1 deletion deploy/demo/kobs/base/dashboards/istio-logs.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Dashboard
metadata:
name: istio-logs
Expand Down
2 changes: 1 addition & 1 deletion deploy/demo/kobs/base/dashboards/pod-logs.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Dashboard
metadata:
name: pod-logs
Expand Down
2 changes: 1 addition & 1 deletion deploy/demo/kobs/base/dashboards/resource-usage.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Dashboard
metadata:
name: resource-usage
Expand Down
2 changes: 1 addition & 1 deletion deploy/demo/kobs/base/dashboards/resources.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Dashboard
metadata:
name: resources
Expand Down
2 changes: 1 addition & 1 deletion deploy/demo/kobs/base/dashboards/traces.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Dashboard
metadata:
name: traces
Expand Down
2 changes: 1 addition & 1 deletion deploy/demo/kobs/base/kobs-application.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Application
metadata:
name: kobs
Expand Down
2 changes: 1 addition & 1 deletion deploy/demo/kobs/base/teams/team-call-of-duty.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Team
metadata:
name: team-call-of-duty
Expand Down
2 changes: 1 addition & 1 deletion deploy/demo/kobs/base/teams/team-diablo.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Team
metadata:
name: team-diablo
Expand Down
2 changes: 1 addition & 1 deletion deploy/demo/kobs/base/teams/team-resident-evil.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Team
metadata:
name: team-resident-evil
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/kobs/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ description: Kubernetes Observability Platform
type: application
home: https://kobs.io
icon: https://kobs.io/assets/images/logo.svg
version: 0.9.3
version: 0.10.0
appVersion: v0.7.0
2 changes: 1 addition & 1 deletion deploy/helm/kobs/crds/kobs.io_applications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
singular: application
scope: Namespaced
versions:
- name: v1beta1
- name: v1
schema:
openAPIV3Schema:
description: Application is the Application CRD.
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/kobs/crds/kobs.io_dashboards.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
singular: dashboard
scope: Namespaced
versions:
- name: v1beta1
- name: v1
schema:
openAPIV3Schema:
description: Dashboard is the Dashboard CRD.
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/kobs/crds/kobs.io_teams.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
singular: team
scope: Namespaced
versions:
- name: v1beta1
- name: v1
schema:
openAPIV3Schema:
description: Team is the Team CRD.
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/kobs/crds/kobs.io_users.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
singular: user
scope: Namespaced
versions:
- name: v1beta1
- name: v1
schema:
openAPIV3Schema:
description: User is the User CRD.
Expand Down
2 changes: 1 addition & 1 deletion deploy/kustomize/crds/kobs.io_applications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
singular: application
scope: Namespaced
versions:
- name: v1beta1
- name: v1
schema:
openAPIV3Schema:
description: Application is the Application CRD.
Expand Down
2 changes: 1 addition & 1 deletion deploy/kustomize/crds/kobs.io_dashboards.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
singular: dashboard
scope: Namespaced
versions:
- name: v1beta1
- name: v1
schema:
openAPIV3Schema:
description: Dashboard is the Dashboard CRD.
Expand Down
2 changes: 1 addition & 1 deletion deploy/kustomize/crds/kobs.io_teams.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
singular: team
scope: Namespaced
versions:
- name: v1beta1
- name: v1
schema:
openAPIV3Schema:
description: Team is the Team CRD.
Expand Down
2 changes: 1 addition & 1 deletion deploy/kustomize/crds/kobs.io_users.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
singular: user
scope: Namespaced
versions:
- name: v1beta1
- name: v1
schema:
openAPIV3Schema:
description: User is the User CRD.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/plugins/applications.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ The following dashboard contains two panels for an application, one shows the ap

```yaml
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Dashboard
spec:
description: Resources for an Application
Expand Down Expand Up @@ -110,7 +110,7 @@ The following example shows all applications for `team-diablo`.

```yaml
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Dashboard
spec:
rows:
Expand Down
6 changes: 3 additions & 3 deletions docs/plugins/azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ In the following example each member of `team1@kobs.io` will get access to all A

```yaml
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Team
metadata:
name: team1
Expand Down Expand Up @@ -138,7 +138,7 @@ In the following example each member of `team1@kobs.io` will get access to all A

```yaml
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Team
metadata:
name: team2
Expand Down Expand Up @@ -193,7 +193,7 @@ The following dashboards displays a list of container instances and the details

```yaml
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Dashboard
metadata:
name: azure-container-instance
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/dashboards.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The options for the dashboards plugin is a list of objects with the following pr

```yaml
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Dashboard
spec:
rows:
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/elasticsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ The following options can be used for a panel with the Elasticsearch plugin:

```yaml
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Dashboard
spec:
placeholders:
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/flux.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ For example the following dashboard shows all Kustomizations, Helm Releases, Git

```yaml
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Dashboard
spec:
rows:
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/grafana.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ The following dashboards shows some panels from a Grafana plugin and a list of d

```yaml
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Dashboard
metadata:
name: istio-overview
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/harbor.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ The following dashboards shows all projects, all repositories from the `public`

```yaml
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Dashboard
metadata:
name: harbor
Expand Down
6 changes: 3 additions & 3 deletions docs/plugins/helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ In the following example each member of `team1@kobs.io` will get access to all H

```yaml
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Team
metadata:
name: team1
Expand All @@ -52,7 +52,7 @@ In the following example each member of `team1@kobs.io` will get access to all H

```yaml
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Team
metadata:
name: team2
Expand Down Expand Up @@ -83,7 +83,7 @@ The following dashboards shows all Helm releases from the `kobs` and `monitoring

```yaml
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Dashboard
spec:
rows:
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/istio.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ The following Application contains three dashboards to get the metrics, top and

```yaml
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Application
metadata:
name: productpage
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/jaeger.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ For example the following dashboard shows all requests and all slow requests fro

```yaml
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Dashboard
spec:
placeholders:
Expand Down
4 changes: 2 additions & 2 deletions docs/plugins/klogs.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ The following options can be used for a panel with the klogs plugin:

```yaml
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Dashboard
spec:
rows:
Expand Down Expand Up @@ -91,7 +91,7 @@ The following dashboard, shows an example of how to use aggregations within a da

```yaml
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Dashboard
metadata:
name: logs
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The following options can be used for a panel with the markdown plugin:

```yaml
---
apiVersion: kobs.io/v1beta1
apiVersion: kobs.io/v1
kind: Dashboard
spec:
rows:
Expand Down
Loading