Skip to content

Commit

Permalink
Fix buildkite and re-generate all CRDs + example
Browse files Browse the repository at this point in the history
Signed-off-by: Florent Poinsard <[email protected]>
  • Loading branch information
frouioui committed Aug 28, 2024
1 parent 66e13d1 commit b9db19f
Show file tree
Hide file tree
Showing 11 changed files with 451 additions and 264 deletions.
20 changes: 5 additions & 15 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ steps:
- export PATH=$PATH:/usr/local/go/bin
- rm $GO_VERSION_FILE
- ln -s /lib/libc.so.6 /usr/lib/libresolv.so.2
- make upgrade-test
env:
K8S_VERSION: ${{matrix.k8s_version}}
- K8S_VERSION={{matrix.k8s_version}} make upgrade-test
concurrency: 1
concurrency_group: 'vtop/upgrade-downgrade-test'
timeout_in_minutes: 60
Expand All @@ -51,9 +49,7 @@ steps:
- export PATH=$PATH:/usr/local/go/bin
- rm $GO_VERSION_FILE
- ln -s /lib/libc.so.6 /usr/lib/libresolv.so.2
- make backup-restore-test
env:
K8S_VERSION: ${{matrix.k8s_version}}
- K8S_VERSION={{matrix.k8s_version}} make backup-restore-test
concurrency: 1
concurrency_group: 'vtop/backup-restore-test'
timeout_in_minutes: 60
Expand All @@ -79,9 +75,7 @@ steps:
- export PATH=$PATH:/usr/local/go/bin
- rm $GO_VERSION_FILE
- ln -s /lib/libc.so.6 /usr/lib/libresolv.so.2
- make backup-schedule-test
env:
K8S_VERSION: ${{matrix.k8s_version}}
- K8S_VERSION={{matrix.k8s_version}} make backup-schedule-test
concurrency: 1
concurrency_group: 'vtop/backup-schedule-test'
timeout_in_minutes: 60
Expand All @@ -107,9 +101,7 @@ steps:
- export PATH=$PATH:/usr/local/go/bin
- rm $GO_VERSION_FILE
- ln -s /lib/libc.so.6 /usr/lib/libresolv.so.2
- make vtorc-vtadmin-test
env:
K8S_VERSION: ${{matrix.k8s_version}}
- K8S_VERSION={{matrix.k8s_version}} make vtorc-vtadmin-test
concurrency: 1
concurrency_group: 'vtop/vtorc-vtadmin-test'
timeout_in_minutes: 60
Expand All @@ -135,9 +127,7 @@ steps:
- export PATH=$PATH:/usr/local/go/bin
- rm $GO_VERSION_FILE
- ln -s /lib/libc.so.6 /usr/lib/libresolv.so.2
- make unmanaged-tablet-test
env:
K8S_VERSION: ${{matrix.k8s_version}}
- K8S_VERSION={{matrix.k8s_version}} make unmanaged-tablet-test
concurrency: 1
concurrency_group: 'vtop/unmanaged-tablet-test'
timeout_in_minutes: 60
Expand Down
27 changes: 13 additions & 14 deletions deploy/crds/planetscale.com_etcdlockservers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.16.1
name: etcdlockservers.planetscale.com
spec:
group: planetscale.com
Expand Down Expand Up @@ -62,6 +61,7 @@ spec:
items:
type: string
type: array
x-kubernetes-list-type: atomic
dataSource:
properties:
apiGroup:
Expand Down Expand Up @@ -91,18 +91,6 @@ spec:
type: object
resources:
properties:
claims:
items:
properties:
name:
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits:
additionalProperties:
anyOf:
Expand Down Expand Up @@ -133,11 +121,13 @@ spec:
items:
type: string
type: array
x-kubernetes-list-type: atomic
required:
- key
- operator
type: object
type: array
x-kubernetes-list-type: atomic
matchLabels:
additionalProperties:
type: string
Expand All @@ -146,6 +136,8 @@ spec:
x-kubernetes-map-type: atomic
storageClassName:
type: string
volumeAttributesClassName:
type: string
volumeMode:
type: string
volumeName:
Expand All @@ -165,6 +157,7 @@ spec:
key:
type: string
name:
default: ""
type: string
optional:
type: boolean
Expand Down Expand Up @@ -203,6 +196,7 @@ spec:
key:
type: string
name:
default: ""
type: string
optional:
type: boolean
Expand Down Expand Up @@ -234,6 +228,8 @@ spec:
type: string
readOnly:
type: boolean
recursiveReadOnly:
type: string
subPath:
type: string
subPathExpr:
Expand All @@ -253,6 +249,7 @@ spec:
items:
properties:
name:
default: ""
type: string
type: object
x-kubernetes-map-type: atomic
Expand Down Expand Up @@ -280,6 +277,8 @@ spec:
properties:
name:
type: string
request:
type: string
required:
- name
type: object
Expand Down
3 changes: 1 addition & 2 deletions deploy/crds/planetscale.com_vitessbackups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.16.1
name: vitessbackups.planetscale.com
spec:
group: planetscale.com
Expand Down
5 changes: 3 additions & 2 deletions deploy/crds/planetscale.com_vitessbackupschedules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.16.1
name: vitessbackupschedules.planetscale.com
spec:
group: planetscale.com
Expand Down Expand Up @@ -69,6 +68,8 @@ spec:
properties:
name:
type: string
request:
type: string
required:
- name
type: object
Expand Down
3 changes: 1 addition & 2 deletions deploy/crds/planetscale.com_vitessbackupstorages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.16.1
name: vitessbackupstorages.planetscale.com
spec:
group: planetscale.com
Expand Down
Loading

0 comments on commit b9db19f

Please sign in to comment.