diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index bd949169..1f09844f 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/deploy/crds/planetscale.com_etcdlockservers.yaml b/deploy/crds/planetscale.com_etcdlockservers.yaml index c1818e91..065de789 100644 --- a/deploy/crds/planetscale.com_etcdlockservers.yaml +++ b/deploy/crds/planetscale.com_etcdlockservers.yaml @@ -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 @@ -62,6 +61,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: properties: apiGroup: @@ -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: @@ -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 @@ -146,6 +136,8 @@ spec: x-kubernetes-map-type: atomic storageClassName: type: string + volumeAttributesClassName: + type: string volumeMode: type: string volumeName: @@ -165,6 +157,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -203,6 +196,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -234,6 +228,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -253,6 +249,7 @@ spec: items: properties: name: + default: "" type: string type: object x-kubernetes-map-type: atomic @@ -280,6 +277,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object diff --git a/deploy/crds/planetscale.com_vitessbackups.yaml b/deploy/crds/planetscale.com_vitessbackups.yaml index 098652c1..0ac25006 100644 --- a/deploy/crds/planetscale.com_vitessbackups.yaml +++ b/deploy/crds/planetscale.com_vitessbackups.yaml @@ -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 diff --git a/deploy/crds/planetscale.com_vitessbackupschedules.yaml b/deploy/crds/planetscale.com_vitessbackupschedules.yaml index b0b5e6af..2bb4c666 100644 --- a/deploy/crds/planetscale.com_vitessbackupschedules.yaml +++ b/deploy/crds/planetscale.com_vitessbackupschedules.yaml @@ -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 @@ -69,6 +68,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object diff --git a/deploy/crds/planetscale.com_vitessbackupstorages.yaml b/deploy/crds/planetscale.com_vitessbackupstorages.yaml index a465267f..46207b67 100644 --- a/deploy/crds/planetscale.com_vitessbackupstorages.yaml +++ b/deploy/crds/planetscale.com_vitessbackupstorages.yaml @@ -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 diff --git a/deploy/crds/planetscale.com_vitesscells.yaml b/deploy/crds/planetscale.com_vitesscells.yaml index d81f76c3..1e85d414 100644 --- a/deploy/crds/planetscale.com_vitesscells.yaml +++ b/deploy/crds/planetscale.com_vitesscells.yaml @@ -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: vitesscells.planetscale.com spec: group: planetscale.com @@ -76,6 +75,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -114,6 +114,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -145,6 +146,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -168,6 +171,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: properties: @@ -185,6 +189,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: type: string port: @@ -197,6 +202,14 @@ spec: required: - port type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object tcpSocket: properties: host: @@ -218,6 +231,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: properties: @@ -235,6 +249,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: type: string port: @@ -247,6 +262,14 @@ spec: required: - port type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object tcpSocket: properties: host: @@ -272,6 +295,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -392,6 +417,7 @@ spec: items: properties: name: + default: "" type: string type: object x-kubernetes-map-type: atomic @@ -440,6 +466,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: properties: apiGroup: @@ -469,18 +496,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: @@ -511,11 +526,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 @@ -524,6 +541,8 @@ spec: x-kubernetes-map-type: atomic storageClassName: type: string + volumeAttributesClassName: + type: string volumeMode: type: string volumeName: @@ -543,6 +562,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -581,6 +601,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -612,6 +633,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -631,6 +654,7 @@ spec: items: properties: name: + default: "" type: string type: object x-kubernetes-map-type: atomic @@ -658,6 +682,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object diff --git a/deploy/crds/planetscale.com_vitessclusters.yaml b/deploy/crds/planetscale.com_vitessclusters.yaml index 818304f1..709c4808 100644 --- a/deploy/crds/planetscale.com_vitessclusters.yaml +++ b/deploy/crds/planetscale.com_vitessclusters.yaml @@ -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: vitessclusters.planetscale.com spec: group: planetscale.com @@ -191,6 +190,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -310,6 +311,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -348,6 +350,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -379,6 +382,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -402,6 +407,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: properties: @@ -419,6 +425,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: type: string port: @@ -431,6 +438,14 @@ spec: required: - port type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object tcpSocket: properties: host: @@ -452,6 +467,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: properties: @@ -469,6 +485,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: type: string port: @@ -481,6 +498,14 @@ spec: required: - port type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object tcpSocket: properties: host: @@ -506,6 +531,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -629,6 +656,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: properties: apiGroup: @@ -658,18 +686,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: @@ -700,11 +716,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 @@ -713,6 +731,8 @@ spec: x-kubernetes-map-type: atomic storageClassName: type: string + volumeAttributesClassName: + type: string volumeMode: type: string volumeName: @@ -732,6 +752,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -770,6 +791,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -801,6 +823,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -820,6 +844,7 @@ spec: items: properties: name: + default: "" type: string type: object x-kubernetes-map-type: atomic @@ -847,6 +872,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -953,6 +980,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: properties: apiGroup: @@ -982,18 +1010,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: @@ -1024,11 +1040,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 @@ -1037,6 +1055,8 @@ spec: x-kubernetes-map-type: atomic storageClassName: type: string + volumeAttributesClassName: + type: string volumeMode: type: string volumeName: @@ -1056,6 +1076,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -1094,6 +1115,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -1125,6 +1147,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -1144,6 +1168,7 @@ spec: items: properties: name: + default: "" type: string type: object x-kubernetes-map-type: atomic @@ -1171,6 +1196,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -1237,6 +1264,7 @@ spec: items: properties: name: + default: "" type: string type: object x-kubernetes-map-type: atomic @@ -1358,6 +1386,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: properties: apiGroup: @@ -1387,18 +1416,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: @@ -1429,11 +1446,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 @@ -1442,6 +1461,8 @@ spec: x-kubernetes-map-type: atomic storageClassName: type: string + volumeAttributesClassName: + type: string volumeMode: type: string volumeName: @@ -1503,6 +1524,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -1541,6 +1563,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -1568,6 +1591,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -1592,6 +1617,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -1628,6 +1655,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -1691,6 +1720,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -1796,6 +1827,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: properties: apiGroup: @@ -1825,18 +1857,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: @@ -1867,11 +1887,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 @@ -1880,6 +1902,8 @@ spec: x-kubernetes-map-type: atomic storageClassName: type: string + volumeAttributesClassName: + type: string volumeMode: type: string volumeName: @@ -1941,6 +1965,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -1979,6 +2004,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -2006,6 +2032,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -2030,6 +2058,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -2066,6 +2096,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -2129,6 +2161,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -2208,6 +2242,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -2246,6 +2281,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -2277,6 +2313,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -2297,6 +2335,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -2409,6 +2449,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -2447,6 +2488,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -2478,6 +2520,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -2501,6 +2545,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -2558,6 +2604,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -2600,6 +2648,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -2638,6 +2687,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -2669,6 +2719,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -2718,6 +2770,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object diff --git a/deploy/crds/planetscale.com_vitesskeyspaces.yaml b/deploy/crds/planetscale.com_vitesskeyspaces.yaml index 0d393ac2..674e4588 100644 --- a/deploy/crds/planetscale.com_vitesskeyspaces.yaml +++ b/deploy/crds/planetscale.com_vitesskeyspaces.yaml @@ -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: vitesskeyspaces.planetscale.com spec: group: planetscale.com @@ -194,6 +193,7 @@ spec: items: properties: name: + default: "" type: string type: object x-kubernetes-map-type: atomic @@ -288,6 +288,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: properties: apiGroup: @@ -317,18 +318,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: @@ -359,11 +348,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 @@ -372,6 +363,8 @@ spec: x-kubernetes-map-type: atomic storageClassName: type: string + volumeAttributesClassName: + type: string volumeMode: type: string volumeName: @@ -433,6 +426,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -471,6 +465,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -498,6 +493,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -522,6 +519,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -558,6 +557,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -621,6 +622,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -726,6 +729,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: properties: apiGroup: @@ -755,18 +759,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: @@ -797,11 +789,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 @@ -810,6 +804,8 @@ spec: x-kubernetes-map-type: atomic storageClassName: type: string + volumeAttributesClassName: + type: string volumeMode: type: string volumeName: @@ -871,6 +867,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -909,6 +906,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -936,6 +934,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -960,6 +960,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -996,6 +998,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -1059,6 +1063,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -1172,6 +1178,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -1210,6 +1217,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -1241,6 +1249,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -1261,6 +1271,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object diff --git a/deploy/crds/planetscale.com_vitessshards.yaml b/deploy/crds/planetscale.com_vitessshards.yaml index 405fd52d..ea951365 100644 --- a/deploy/crds/planetscale.com_vitessshards.yaml +++ b/deploy/crds/planetscale.com_vitessshards.yaml @@ -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: vitessshards.planetscale.com spec: group: planetscale.com @@ -203,6 +202,7 @@ spec: items: properties: name: + default: "" type: string type: object x-kubernetes-map-type: atomic @@ -271,6 +271,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: properties: apiGroup: @@ -300,18 +301,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: @@ -342,11 +331,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 @@ -355,6 +346,8 @@ spec: x-kubernetes-map-type: atomic storageClassName: type: string + volumeAttributesClassName: + type: string volumeMode: type: string volumeName: @@ -416,6 +409,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -454,6 +448,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -481,6 +476,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -505,6 +502,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -541,6 +540,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -604,6 +605,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -702,6 +705,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -740,6 +744,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -771,6 +776,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -791,6 +798,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object diff --git a/pkg/apis/planetscale/v2/zz_generated.deepcopy.go b/pkg/apis/planetscale/v2/zz_generated.deepcopy.go index 4db30177..02ceb9a1 100644 --- a/pkg/apis/planetscale/v2/zz_generated.deepcopy.go +++ b/pkg/apis/planetscale/v2/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated // Code generated by controller-gen. DO NOT EDIT. diff --git a/test/endtoend/operator/operator-latest.yaml b/test/endtoend/operator/operator-latest.yaml index b2e6122f..90e6a0a7 100644 --- a/test/endtoend/operator/operator-latest.yaml +++ b/test/endtoend/operator/operator-latest.yaml @@ -2,8 +2,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 @@ -61,6 +60,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: properties: apiGroup: @@ -90,18 +90,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: @@ -132,11 +120,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 @@ -145,6 +135,8 @@ spec: x-kubernetes-map-type: atomic storageClassName: type: string + volumeAttributesClassName: + type: string volumeMode: type: string volumeName: @@ -164,6 +156,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -202,6 +195,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -233,6 +227,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -252,6 +248,7 @@ spec: items: properties: name: + default: "" type: string type: object x-kubernetes-map-type: atomic @@ -279,6 +276,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -330,8 +329,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 @@ -383,8 +381,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 @@ -449,6 +446,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -554,8 +553,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 @@ -720,8 +718,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: vitesscells.planetscale.com spec: group: planetscale.com @@ -793,6 +790,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -831,6 +829,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -862,6 +861,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -885,6 +886,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: properties: @@ -902,6 +904,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: type: string port: @@ -914,6 +917,14 @@ spec: required: - port type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object tcpSocket: properties: host: @@ -935,6 +946,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: properties: @@ -952,6 +964,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: type: string port: @@ -964,6 +977,14 @@ spec: required: - port type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object tcpSocket: properties: host: @@ -989,6 +1010,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -1109,6 +1132,7 @@ spec: items: properties: name: + default: "" type: string type: object x-kubernetes-map-type: atomic @@ -1157,6 +1181,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: properties: apiGroup: @@ -1186,18 +1211,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: @@ -1228,11 +1241,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 @@ -1241,6 +1256,8 @@ spec: x-kubernetes-map-type: atomic storageClassName: type: string + volumeAttributesClassName: + type: string volumeMode: type: string volumeName: @@ -1260,6 +1277,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -1298,6 +1316,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -1329,6 +1348,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -1348,6 +1369,7 @@ spec: items: properties: name: + default: "" type: string type: object x-kubernetes-map-type: atomic @@ -1375,6 +1397,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -1491,8 +1515,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: vitessclusters.planetscale.com spec: group: planetscale.com @@ -1679,6 +1702,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -1798,6 +1823,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -1836,6 +1862,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -1867,6 +1894,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -1890,6 +1919,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: properties: @@ -1907,6 +1937,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: type: string port: @@ -1919,6 +1950,14 @@ spec: required: - port type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object tcpSocket: properties: host: @@ -1940,6 +1979,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic type: object httpGet: properties: @@ -1957,6 +1997,7 @@ spec: - value type: object type: array + x-kubernetes-list-type: atomic path: type: string port: @@ -1969,6 +2010,14 @@ spec: required: - port type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object tcpSocket: properties: host: @@ -1994,6 +2043,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -2117,6 +2168,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: properties: apiGroup: @@ -2146,18 +2198,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: @@ -2188,11 +2228,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 @@ -2201,6 +2243,8 @@ spec: x-kubernetes-map-type: atomic storageClassName: type: string + volumeAttributesClassName: + type: string volumeMode: type: string volumeName: @@ -2220,6 +2264,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -2258,6 +2303,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -2289,6 +2335,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -2308,6 +2356,7 @@ spec: items: properties: name: + default: "" type: string type: object x-kubernetes-map-type: atomic @@ -2335,6 +2384,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -2441,6 +2492,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: properties: apiGroup: @@ -2470,18 +2522,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: @@ -2512,11 +2552,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 @@ -2525,6 +2567,8 @@ spec: x-kubernetes-map-type: atomic storageClassName: type: string + volumeAttributesClassName: + type: string volumeMode: type: string volumeName: @@ -2544,6 +2588,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -2582,6 +2627,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -2613,6 +2659,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -2632,6 +2680,7 @@ spec: items: properties: name: + default: "" type: string type: object x-kubernetes-map-type: atomic @@ -2659,6 +2708,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -2725,6 +2776,7 @@ spec: items: properties: name: + default: "" type: string type: object x-kubernetes-map-type: atomic @@ -2846,6 +2898,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: properties: apiGroup: @@ -2875,18 +2928,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: @@ -2917,11 +2958,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 @@ -2930,6 +2973,8 @@ spec: x-kubernetes-map-type: atomic storageClassName: type: string + volumeAttributesClassName: + type: string volumeMode: type: string volumeName: @@ -2991,6 +3036,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -3029,6 +3075,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -3056,6 +3103,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -3080,6 +3129,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -3116,6 +3167,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -3179,6 +3232,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -3284,6 +3339,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: properties: apiGroup: @@ -3313,18 +3369,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: @@ -3355,11 +3399,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 @@ -3368,6 +3414,8 @@ spec: x-kubernetes-map-type: atomic storageClassName: type: string + volumeAttributesClassName: + type: string volumeMode: type: string volumeName: @@ -3429,6 +3477,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -3467,6 +3516,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -3494,6 +3544,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -3518,6 +3570,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -3554,6 +3608,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -3617,6 +3673,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -3696,6 +3754,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -3734,6 +3793,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -3765,6 +3825,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -3785,6 +3847,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -3897,6 +3961,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -3935,6 +4000,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -3966,6 +4032,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -3989,6 +4057,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -4046,6 +4116,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -4088,6 +4160,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -4126,6 +4199,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -4157,6 +4231,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -4206,6 +4282,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -4349,8 +4427,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: vitesskeyspaces.planetscale.com spec: group: planetscale.com @@ -4540,6 +4617,7 @@ spec: items: properties: name: + default: "" type: string type: object x-kubernetes-map-type: atomic @@ -4634,6 +4712,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: properties: apiGroup: @@ -4663,18 +4742,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: @@ -4705,11 +4772,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 @@ -4718,6 +4787,8 @@ spec: x-kubernetes-map-type: atomic storageClassName: type: string + volumeAttributesClassName: + type: string volumeMode: type: string volumeName: @@ -4779,6 +4850,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -4817,6 +4889,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -4844,6 +4917,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -4868,6 +4943,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -4904,6 +4981,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -4967,6 +5046,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -5072,6 +5153,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: properties: apiGroup: @@ -5101,18 +5183,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: @@ -5143,11 +5213,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 @@ -5156,6 +5228,8 @@ spec: x-kubernetes-map-type: atomic storageClassName: type: string + volumeAttributesClassName: + type: string volumeMode: type: string volumeName: @@ -5217,6 +5291,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -5255,6 +5330,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -5282,6 +5358,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -5306,6 +5384,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -5342,6 +5422,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -5405,6 +5487,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -5518,6 +5602,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -5556,6 +5641,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -5587,6 +5673,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -5607,6 +5695,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -5784,8 +5874,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: vitessshards.planetscale.com spec: group: planetscale.com @@ -5984,6 +6073,7 @@ spec: items: properties: name: + default: "" type: string type: object x-kubernetes-map-type: atomic @@ -6052,6 +6142,7 @@ spec: items: type: string type: array + x-kubernetes-list-type: atomic dataSource: properties: apiGroup: @@ -6081,18 +6172,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: @@ -6123,11 +6202,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 @@ -6136,6 +6217,8 @@ spec: x-kubernetes-map-type: atomic storageClassName: type: string + volumeAttributesClassName: + type: string volumeMode: type: string volumeName: @@ -6197,6 +6280,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -6235,6 +6319,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -6262,6 +6347,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -6286,6 +6373,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -6322,6 +6411,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -6385,6 +6476,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -6483,6 +6576,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -6521,6 +6615,7 @@ spec: key: type: string name: + default: "" type: string optional: type: boolean @@ -6552,6 +6647,8 @@ spec: type: string readOnly: type: boolean + recursiveReadOnly: + type: string subPath: type: string subPathExpr: @@ -6572,6 +6669,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object