Skip to content

Commit f8ecdad

Browse files
committed
[core] Update CRDs from "v1beta1" to "v1"
We updated all our CRDs from version "v1beta1" to "v1". This effects the Custom Resource Definition for Applications, Dashboards, Teams and Users. This was done in preparation of the v1.0.0 release, which marks the first stable version of kobs. Until the release we do not expect any breaking changes in the CRDs, but if they are necessary, we will do them. After the v1.0.0 release changes to the CRDs should always be backwards compatible.
1 parent 333e312 commit f8ecdad

File tree

170 files changed

+1031
-1048
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+1031
-1048
lines changed

Diff for: CHANGELOG.md

+1

Diff for: Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ generate: generate-crds
2222
.PHONY: generate-crds
2323
generate-crds:
2424
for crd in $(CRDS); do \
25-
${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; \
26-
rm -rf ./pkg/api/apis/$$crd/v1beta1/zz_generated.deepcopy.go; \
25+
${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; \
26+
rm -rf ./pkg/api/apis/$$crd/v1/zz_generated.deepcopy.go; \
2727
rm -rf ./pkg/api/clients/$$crd/clientset; \
2828
rm -rf ./pkg/api/clients/$$crd/informers; \
2929
rm -rf ./pkg/api/clients/$$crd/listers; \
3030
mkdir -p ./pkg/api/clients/$$crd; \
31-
mv ./tmp/github.com/kobsio/kobs/pkg/api/apis/$$crd/v1beta1/zz_generated.deepcopy.go ./pkg/api/apis/$$crd/v1beta1; \
31+
mv ./tmp/github.com/kobsio/kobs/pkg/api/apis/$$crd/v1/zz_generated.deepcopy.go ./pkg/api/apis/$$crd/v1; \
3232
mv ./tmp/github.com/kobsio/kobs/pkg/api/clients/$$crd/clientset ./pkg/api/clients/$$crd/clientset; \
3333
mv ./tmp/github.com/kobsio/kobs/pkg/api/clients/$$crd/informers ./pkg/api/clients/$$crd/informers; \
3434
mv ./tmp/github.com/kobsio/kobs/pkg/api/clients/$$crd/listers ./pkg/api/clients/$$crd/listers; \

Diff for: deploy/demo/bookinfo/details-application.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
apiVersion: kobs.io/v1beta1
2+
apiVersion: kobs.io/v1
33
kind: Application
44
metadata:
55
name: details

Diff for: deploy/demo/bookinfo/productpage-application.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
apiVersion: kobs.io/v1beta1
2+
apiVersion: kobs.io/v1
33
kind: Application
44
metadata:
55
name: productpage

Diff for: deploy/demo/bookinfo/ratings-application.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
apiVersion: kobs.io/v1beta1
2+
apiVersion: kobs.io/v1
33
kind: Application
44
metadata:
55
name: ratings

Diff for: deploy/demo/bookinfo/reviews-application.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
apiVersion: kobs.io/v1beta1
2+
apiVersion: kobs.io/v1
33
kind: Application
44
metadata:
55
name: reviews

Diff for: deploy/demo/elastic-system/elastic-operator-application.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
apiVersion: kobs.io/v1beta1
2+
apiVersion: kobs.io/v1
33
kind: Application
44
metadata:
55
name: elastic-operator

Diff for: deploy/demo/elastic-system/elasticsearch-application.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
apiVersion: kobs.io/v1beta1
2+
apiVersion: kobs.io/v1
33
kind: Application
44
metadata:
55
name: elasticsearch

Diff for: deploy/demo/elastic-system/filebeat-application.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
apiVersion: kobs.io/v1beta1
2+
apiVersion: kobs.io/v1
33
kind: Application
44
metadata:
55
name: filebeat

Diff for: deploy/demo/istio-system/jaeger-application.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
apiVersion: kobs.io/v1beta1
2+
apiVersion: kobs.io/v1
33
kind: Application
44
metadata:
55
name: jaeger

Diff for: deploy/demo/istio-system/prometheus-application.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
apiVersion: kobs.io/v1beta1
2+
apiVersion: kobs.io/v1
33
kind: Application
44
metadata:
55
name: prometheus

Diff for: deploy/demo/kobs/base/dashboards/istio-http.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
apiVersion: kobs.io/v1beta1
2+
apiVersion: kobs.io/v1
33
kind: Dashboard
44
metadata:
55
name: istio-http

Diff for: deploy/demo/kobs/base/dashboards/istio-logs.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
apiVersion: kobs.io/v1beta1
2+
apiVersion: kobs.io/v1
33
kind: Dashboard
44
metadata:
55
name: istio-logs

Diff for: deploy/demo/kobs/base/dashboards/pod-logs.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
apiVersion: kobs.io/v1beta1
2+
apiVersion: kobs.io/v1
33
kind: Dashboard
44
metadata:
55
name: pod-logs

Diff for: deploy/demo/kobs/base/dashboards/resource-usage.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
apiVersion: kobs.io/v1beta1
2+
apiVersion: kobs.io/v1
33
kind: Dashboard
44
metadata:
55
name: resource-usage

Diff for: deploy/demo/kobs/base/dashboards/resources.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
apiVersion: kobs.io/v1beta1
2+
apiVersion: kobs.io/v1
33
kind: Dashboard
44
metadata:
55
name: resources

Diff for: deploy/demo/kobs/base/dashboards/traces.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
apiVersion: kobs.io/v1beta1
2+
apiVersion: kobs.io/v1
33
kind: Dashboard
44
metadata:
55
name: traces

Diff for: deploy/demo/kobs/base/kobs-application.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
apiVersion: kobs.io/v1beta1
2+
apiVersion: kobs.io/v1
33
kind: Application
44
metadata:
55
name: kobs

Diff for: deploy/demo/kobs/base/teams/team-call-of-duty.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
apiVersion: kobs.io/v1beta1
2+
apiVersion: kobs.io/v1
33
kind: Team
44
metadata:
55
name: team-call-of-duty

Diff for: deploy/demo/kobs/base/teams/team-diablo.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
apiVersion: kobs.io/v1beta1
2+
apiVersion: kobs.io/v1
33
kind: Team
44
metadata:
55
name: team-diablo

Diff for: deploy/demo/kobs/base/teams/team-resident-evil.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
apiVersion: kobs.io/v1beta1
2+
apiVersion: kobs.io/v1
33
kind: Team
44
metadata:
55
name: team-resident-evil

Diff for: deploy/helm/kobs/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ description: Kubernetes Observability Platform
44
type: application
55
home: https://kobs.io
66
icon: https://kobs.io/assets/images/logo.svg
7-
version: 0.9.3
7+
version: 0.10.0
88
appVersion: v0.7.0

Diff for: deploy/helm/kobs/crds/kobs.io_applications.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
singular: application
1717
scope: Namespaced
1818
versions:
19-
- name: v1beta1
19+
- name: v1
2020
schema:
2121
openAPIV3Schema:
2222
description: Application is the Application CRD.

Diff for: deploy/helm/kobs/crds/kobs.io_dashboards.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
singular: dashboard
1717
scope: Namespaced
1818
versions:
19-
- name: v1beta1
19+
- name: v1
2020
schema:
2121
openAPIV3Schema:
2222
description: Dashboard is the Dashboard CRD.

Diff for: deploy/helm/kobs/crds/kobs.io_teams.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
singular: team
1717
scope: Namespaced
1818
versions:
19-
- name: v1beta1
19+
- name: v1
2020
schema:
2121
openAPIV3Schema:
2222
description: Team is the Team CRD.

Diff for: deploy/helm/kobs/crds/kobs.io_users.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
singular: user
1717
scope: Namespaced
1818
versions:
19-
- name: v1beta1
19+
- name: v1
2020
schema:
2121
openAPIV3Schema:
2222
description: User is the User CRD.

Diff for: deploy/kustomize/crds/kobs.io_applications.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
singular: application
1717
scope: Namespaced
1818
versions:
19-
- name: v1beta1
19+
- name: v1
2020
schema:
2121
openAPIV3Schema:
2222
description: Application is the Application CRD.

Diff for: deploy/kustomize/crds/kobs.io_dashboards.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
singular: dashboard
1717
scope: Namespaced
1818
versions:
19-
- name: v1beta1
19+
- name: v1
2020
schema:
2121
openAPIV3Schema:
2222
description: Dashboard is the Dashboard CRD.

Diff for: deploy/kustomize/crds/kobs.io_teams.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
singular: team
1717
scope: Namespaced
1818
versions:
19-
- name: v1beta1
19+
- name: v1
2020
schema:
2121
openAPIV3Schema:
2222
description: Team is the Team CRD.

Diff for: deploy/kustomize/crds/kobs.io_users.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
singular: user
1717
scope: Namespaced
1818
versions:
19-
- name: v1beta1
19+
- name: v1
2020
schema:
2121
openAPIV3Schema:
2222
description: User is the User CRD.
42.6 KB

Diff for: docs/plugins/applications.md

+2-2

Diff for: docs/plugins/azure.md

+3-3

Diff for: docs/plugins/dashboards.md

+1-1

Diff for: docs/plugins/elasticsearch.md

+1-1

Diff for: docs/plugins/flux.md

+1-1

Diff for: docs/plugins/grafana.md

+1-1

Diff for: docs/plugins/harbor.md

+1-1

Diff for: docs/plugins/helm.md

+3-3

Diff for: docs/plugins/istio.md

+1-1

Diff for: docs/plugins/jaeger.md

+1-1

Diff for: docs/plugins/klogs.md

+2-2

Diff for: docs/plugins/markdown.md

+1-1

0 commit comments

Comments
 (0)