diff --git a/Makefile b/Makefile index 3973ea08b..f7bb2e30d 100644 --- a/Makefile +++ b/Makefile @@ -154,11 +154,11 @@ undeploy: manifests ## Undeploy operator CONTROLLER_GEN = $(shell pwd)/bin/controller-gen controller-gen: ## Download controller-gen locally if necessary. - $(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.14.0) + $(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.16.1) KUSTOMIZE = $(shell pwd)/bin/kustomize kustomize: ## Download kustomize locally if necessary. - $(call go-get-tool,$(KUSTOMIZE),sigs.k8s.io/kustomize/kustomize/v4@v4.5.3) + $(call go-get-tool,$(KUSTOMIZE),sigs.k8s.io/kustomize/kustomize/v5@v5.4.3 ) ENVTEST = $(shell pwd)/bin/setup-envtest envtest: ## Download envtest-setup locally if necessary. diff --git a/config/crd/bases/ps.percona.com_perconaservermysqlbackups.yaml b/config/crd/bases/ps.percona.com_perconaservermysqlbackups.yaml index e9841d373..4b574c2df 100644 --- a/config/crd/bases/ps.percona.com_perconaservermysqlbackups.yaml +++ b/config/crd/bases/ps.percona.com_perconaservermysqlbackups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.14.0 + controller-gen.kubebuilder.io/version: v0.16.1 name: perconaservermysqlbackups.ps.percona.com spec: group: ps.percona.com @@ -673,6 +673,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -707,6 +709,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object diff --git a/config/crd/bases/ps.percona.com_perconaservermysqlrestores.yaml b/config/crd/bases/ps.percona.com_perconaservermysqlrestores.yaml index 706fe47fd..45dd11f43 100644 --- a/config/crd/bases/ps.percona.com_perconaservermysqlrestores.yaml +++ b/config/crd/bases/ps.percona.com_perconaservermysqlrestores.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.14.0 + controller-gen.kubebuilder.io/version: v0.16.1 name: perconaservermysqlrestores.ps.percona.com spec: group: ps.percona.com @@ -657,6 +657,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -691,6 +693,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object diff --git a/config/crd/bases/ps.percona.com_perconaservermysqls.yaml b/config/crd/bases/ps.percona.com_perconaservermysqls.yaml index 2f64bfbcf..bb0cf4e7f 100644 --- a/config/crd/bases/ps.percona.com_perconaservermysqls.yaml +++ b/config/crd/bases/ps.percona.com_perconaservermysqls.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.14.0 + controller-gen.kubebuilder.io/version: v0.16.1 name: perconaservermysqls.ps.percona.com spec: group: ps.percona.com @@ -811,6 +811,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -926,6 +927,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -975,6 +978,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -1043,6 +1047,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -1098,6 +1104,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -1378,6 +1385,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -1413,6 +1422,10 @@ spec: type: string storageName: type: string + required: + - name + - schedule + - storageName type: object type: array serviceAccountName: @@ -2025,6 +2038,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -2059,6 +2074,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -2994,6 +3011,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -3109,6 +3127,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -3155,6 +3175,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -3223,6 +3244,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -3377,10 +3400,12 @@ spec: diskURI: type: string fsType: + default: ext4 type: string kind: type: string readOnly: + default: false type: boolean required: - diskName @@ -3740,6 +3765,13 @@ spec: required: - path type: object + image: + properties: + pullPolicy: + type: string + reference: + type: string + type: object iscsi: properties: chapAuthDiscovery: @@ -3753,6 +3785,7 @@ spec: iqn: type: string iscsiInterface: + default: default type: string lun: format: int32 @@ -4001,6 +4034,7 @@ spec: image: type: string keyring: + default: /etc/ceph/keyring type: string monitors: items: @@ -4008,6 +4042,7 @@ spec: type: array x-kubernetes-list-type: atomic pool: + default: rbd type: string readOnly: type: boolean @@ -4019,6 +4054,7 @@ spec: type: object x-kubernetes-map-type: atomic user: + default: admin type: string required: - image @@ -4027,6 +4063,7 @@ spec: scaleIO: properties: fsType: + default: xfs type: string gateway: type: string @@ -4044,6 +4081,7 @@ spec: sslEnabled: type: boolean storageMode: + default: ThinProvisioned type: string storagePool: type: string @@ -4371,6 +4409,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -4477,6 +4516,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -4558,6 +4598,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -4675,6 +4717,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -4814,6 +4857,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -5740,6 +5784,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -5855,6 +5900,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -5901,6 +5948,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -5969,6 +6017,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -6021,6 +6071,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -6355,6 +6406,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -7071,6 +7124,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -7186,6 +7240,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -7232,6 +7288,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -7300,6 +7357,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -7352,6 +7411,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -8278,6 +8338,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -8393,6 +8454,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -8439,6 +8502,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -8507,6 +8571,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -8559,6 +8625,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -9024,6 +9091,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -9104,6 +9172,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -9172,6 +9241,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -9215,6 +9286,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port diff --git a/config/rbac/role.yaml b/config/rbac/role.yaml index af27bdfb5..9ffc3139d 100644 --- a/config/rbac/role.yaml +++ b/config/rbac/role.yaml @@ -8,6 +8,7 @@ rules: - "" resources: - configmaps + - persistentvolumeclaims - pods - pods/exec - secrets @@ -27,18 +28,6 @@ rules: verbs: - create - patch -- apiGroups: - - "" - resources: - - persistentvolumeclaims - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - apiGroups: - "" resources: @@ -95,31 +84,9 @@ rules: - perconaservermysqlbackups - perconaservermysqlbackups/finalizers - perconaservermysqlbackups/status - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - ps.percona.com - resources: - perconaservermysqlrestores - perconaservermysqlrestores/finalizers - perconaservermysqlrestores/status - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - ps.percona.com - resources: - perconaservermysqls - perconaservermysqls/finalizers - perconaservermysqls/status @@ -135,15 +102,6 @@ rules: - rbac.authorization.k8s.io resources: - rolebindings - verbs: - - create - - get - - list - - patch - - watch -- apiGroups: - - rbac.authorization.k8s.io - resources: - roles verbs: - create diff --git a/deploy/bundle.yaml b/deploy/bundle.yaml index b831c80c9..57107161c 100644 --- a/deploy/bundle.yaml +++ b/deploy/bundle.yaml @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.14.0 + controller-gen.kubebuilder.io/version: v0.16.1 name: perconaservermysqlbackups.ps.percona.com spec: group: ps.percona.com @@ -672,6 +672,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -706,6 +708,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -951,7 +955,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.14.0 + controller-gen.kubebuilder.io/version: v0.16.1 name: perconaservermysqlrestores.ps.percona.com spec: group: ps.percona.com @@ -1605,6 +1609,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -1639,6 +1645,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -1899,7 +1907,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.14.0 + controller-gen.kubebuilder.io/version: v0.16.1 name: perconaservermysqls.ps.percona.com spec: group: ps.percona.com @@ -2707,6 +2715,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -2822,6 +2831,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -2871,6 +2882,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -2939,6 +2951,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -2994,6 +3008,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -3274,6 +3289,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -3309,6 +3326,10 @@ spec: type: string storageName: type: string + required: + - name + - schedule + - storageName type: object type: array serviceAccountName: @@ -3921,6 +3942,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -3955,6 +3978,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -4890,6 +4915,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -5005,6 +5031,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -5051,6 +5079,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -5119,6 +5148,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -5273,10 +5304,12 @@ spec: diskURI: type: string fsType: + default: ext4 type: string kind: type: string readOnly: + default: false type: boolean required: - diskName @@ -5636,6 +5669,13 @@ spec: required: - path type: object + image: + properties: + pullPolicy: + type: string + reference: + type: string + type: object iscsi: properties: chapAuthDiscovery: @@ -5649,6 +5689,7 @@ spec: iqn: type: string iscsiInterface: + default: default type: string lun: format: int32 @@ -5897,6 +5938,7 @@ spec: image: type: string keyring: + default: /etc/ceph/keyring type: string monitors: items: @@ -5904,6 +5946,7 @@ spec: type: array x-kubernetes-list-type: atomic pool: + default: rbd type: string readOnly: type: boolean @@ -5915,6 +5958,7 @@ spec: type: object x-kubernetes-map-type: atomic user: + default: admin type: string required: - image @@ -5923,6 +5967,7 @@ spec: scaleIO: properties: fsType: + default: xfs type: string gateway: type: string @@ -5940,6 +5985,7 @@ spec: sslEnabled: type: boolean storageMode: + default: ThinProvisioned type: string storagePool: type: string @@ -6267,6 +6313,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -6373,6 +6420,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -6454,6 +6502,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -6571,6 +6621,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -6710,6 +6761,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -7636,6 +7688,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -7751,6 +7804,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -7797,6 +7852,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -7865,6 +7921,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -7917,6 +7975,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -8251,6 +8310,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -8967,6 +9028,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -9082,6 +9144,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -9128,6 +9192,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -9196,6 +9261,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -9248,6 +9315,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -10174,6 +10242,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -10289,6 +10358,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -10335,6 +10406,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -10403,6 +10475,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -10455,6 +10529,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -10920,6 +10995,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -11000,6 +11076,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -11068,6 +11145,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -11111,6 +11190,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -11356,6 +11436,7 @@ rules: - "" resources: - configmaps + - persistentvolumeclaims - pods - pods/exec - secrets @@ -11375,18 +11456,6 @@ rules: verbs: - create - patch -- apiGroups: - - "" - resources: - - persistentvolumeclaims - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - apiGroups: - "" resources: @@ -11443,31 +11512,9 @@ rules: - perconaservermysqlbackups - perconaservermysqlbackups/finalizers - perconaservermysqlbackups/status - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - ps.percona.com - resources: - perconaservermysqlrestores - perconaservermysqlrestores/finalizers - perconaservermysqlrestores/status - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - ps.percona.com - resources: - perconaservermysqls - perconaservermysqls/finalizers - perconaservermysqls/status @@ -11483,15 +11530,6 @@ rules: - rbac.authorization.k8s.io resources: - rolebindings - verbs: - - create - - get - - list - - patch - - watch -- apiGroups: - - rbac.authorization.k8s.io - resources: - roles verbs: - create diff --git a/deploy/crd.yaml b/deploy/crd.yaml index 1c64ed171..7ebd8991a 100644 --- a/deploy/crd.yaml +++ b/deploy/crd.yaml @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.14.0 + controller-gen.kubebuilder.io/version: v0.16.1 name: perconaservermysqlbackups.ps.percona.com spec: group: ps.percona.com @@ -672,6 +672,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -706,6 +708,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -951,7 +955,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.14.0 + controller-gen.kubebuilder.io/version: v0.16.1 name: perconaservermysqlrestores.ps.percona.com spec: group: ps.percona.com @@ -1605,6 +1609,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -1639,6 +1645,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -1899,7 +1907,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.14.0 + controller-gen.kubebuilder.io/version: v0.16.1 name: perconaservermysqls.ps.percona.com spec: group: ps.percona.com @@ -2707,6 +2715,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -2822,6 +2831,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -2871,6 +2882,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -2939,6 +2951,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -2994,6 +3008,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -3274,6 +3289,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -3309,6 +3326,10 @@ spec: type: string storageName: type: string + required: + - name + - schedule + - storageName type: object type: array serviceAccountName: @@ -3921,6 +3942,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -3955,6 +3978,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -4890,6 +4915,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -5005,6 +5031,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -5051,6 +5079,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -5119,6 +5148,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -5273,10 +5304,12 @@ spec: diskURI: type: string fsType: + default: ext4 type: string kind: type: string readOnly: + default: false type: boolean required: - diskName @@ -5636,6 +5669,13 @@ spec: required: - path type: object + image: + properties: + pullPolicy: + type: string + reference: + type: string + type: object iscsi: properties: chapAuthDiscovery: @@ -5649,6 +5689,7 @@ spec: iqn: type: string iscsiInterface: + default: default type: string lun: format: int32 @@ -5897,6 +5938,7 @@ spec: image: type: string keyring: + default: /etc/ceph/keyring type: string monitors: items: @@ -5904,6 +5946,7 @@ spec: type: array x-kubernetes-list-type: atomic pool: + default: rbd type: string readOnly: type: boolean @@ -5915,6 +5958,7 @@ spec: type: object x-kubernetes-map-type: atomic user: + default: admin type: string required: - image @@ -5923,6 +5967,7 @@ spec: scaleIO: properties: fsType: + default: xfs type: string gateway: type: string @@ -5940,6 +5985,7 @@ spec: sslEnabled: type: boolean storageMode: + default: ThinProvisioned type: string storagePool: type: string @@ -6267,6 +6313,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -6373,6 +6420,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -6454,6 +6502,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -6571,6 +6621,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -6710,6 +6761,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -7636,6 +7688,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -7751,6 +7804,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -7797,6 +7852,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -7865,6 +7921,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -7917,6 +7975,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -8251,6 +8310,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -8967,6 +9028,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -9082,6 +9144,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -9128,6 +9192,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -9196,6 +9261,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -9248,6 +9315,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -10174,6 +10242,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -10289,6 +10358,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -10335,6 +10406,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -10403,6 +10475,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -10455,6 +10529,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -10920,6 +10995,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -11000,6 +11076,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -11068,6 +11145,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -11111,6 +11190,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port diff --git a/deploy/cw-bundle.yaml b/deploy/cw-bundle.yaml index 60aa4190b..dbf0e78bf 100644 --- a/deploy/cw-bundle.yaml +++ b/deploy/cw-bundle.yaml @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.14.0 + controller-gen.kubebuilder.io/version: v0.16.1 name: perconaservermysqlbackups.ps.percona.com spec: group: ps.percona.com @@ -672,6 +672,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -706,6 +708,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -951,7 +955,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.14.0 + controller-gen.kubebuilder.io/version: v0.16.1 name: perconaservermysqlrestores.ps.percona.com spec: group: ps.percona.com @@ -1605,6 +1609,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -1639,6 +1645,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -1899,7 +1907,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.14.0 + controller-gen.kubebuilder.io/version: v0.16.1 name: perconaservermysqls.ps.percona.com spec: group: ps.percona.com @@ -2707,6 +2715,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -2822,6 +2831,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -2871,6 +2882,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -2939,6 +2951,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -2994,6 +3008,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -3274,6 +3289,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -3309,6 +3326,10 @@ spec: type: string storageName: type: string + required: + - name + - schedule + - storageName type: object type: array serviceAccountName: @@ -3921,6 +3942,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -3955,6 +3978,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -4890,6 +4915,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -5005,6 +5031,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -5051,6 +5079,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -5119,6 +5148,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -5273,10 +5304,12 @@ spec: diskURI: type: string fsType: + default: ext4 type: string kind: type: string readOnly: + default: false type: boolean required: - diskName @@ -5636,6 +5669,13 @@ spec: required: - path type: object + image: + properties: + pullPolicy: + type: string + reference: + type: string + type: object iscsi: properties: chapAuthDiscovery: @@ -5649,6 +5689,7 @@ spec: iqn: type: string iscsiInterface: + default: default type: string lun: format: int32 @@ -5897,6 +5938,7 @@ spec: image: type: string keyring: + default: /etc/ceph/keyring type: string monitors: items: @@ -5904,6 +5946,7 @@ spec: type: array x-kubernetes-list-type: atomic pool: + default: rbd type: string readOnly: type: boolean @@ -5915,6 +5958,7 @@ spec: type: object x-kubernetes-map-type: atomic user: + default: admin type: string required: - image @@ -5923,6 +5967,7 @@ spec: scaleIO: properties: fsType: + default: xfs type: string gateway: type: string @@ -5940,6 +5985,7 @@ spec: sslEnabled: type: boolean storageMode: + default: ThinProvisioned type: string storagePool: type: string @@ -6267,6 +6313,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -6373,6 +6420,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -6454,6 +6502,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -6571,6 +6621,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -6710,6 +6761,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -7636,6 +7688,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -7751,6 +7804,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -7797,6 +7852,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -7865,6 +7921,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -7917,6 +7975,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -8251,6 +8310,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -8967,6 +9028,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -9082,6 +9144,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -9128,6 +9192,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -9196,6 +9261,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -9248,6 +9315,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -10174,6 +10242,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -10289,6 +10358,8 @@ spec: type: integer type: array x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string sysctls: items: properties: @@ -10335,6 +10406,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -10403,6 +10475,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -10455,6 +10529,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -10920,6 +10995,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -11000,6 +11076,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port @@ -11068,6 +11145,8 @@ spec: properties: name: type: string + request: + type: string required: - name type: object @@ -11111,6 +11190,7 @@ spec: format: int32 type: integer service: + default: "" type: string required: - port diff --git a/deploy/rbac.yaml b/deploy/rbac.yaml index 4ad6271a5..b8e9be440 100644 --- a/deploy/rbac.yaml +++ b/deploy/rbac.yaml @@ -49,6 +49,7 @@ rules: - "" resources: - configmaps + - persistentvolumeclaims - pods - pods/exec - secrets @@ -68,18 +69,6 @@ rules: verbs: - create - patch -- apiGroups: - - "" - resources: - - persistentvolumeclaims - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - apiGroups: - "" resources: @@ -136,31 +125,9 @@ rules: - perconaservermysqlbackups - perconaservermysqlbackups/finalizers - perconaservermysqlbackups/status - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - ps.percona.com - resources: - perconaservermysqlrestores - perconaservermysqlrestores/finalizers - perconaservermysqlrestores/status - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - ps.percona.com - resources: - perconaservermysqls - perconaservermysqls/finalizers - perconaservermysqls/status @@ -176,15 +143,6 @@ rules: - rbac.authorization.k8s.io resources: - rolebindings - verbs: - - create - - get - - list - - patch - - watch -- apiGroups: - - rbac.authorization.k8s.io - resources: - roles verbs: - create diff --git a/go.mod b/go.mod index 95246373d..49ce253f5 100644 --- a/go.mod +++ b/go.mod @@ -27,17 +27,21 @@ require ( golang.org/x/sync v0.8.0 golang.org/x/text v0.17.0 google.golang.org/grpc v1.65.0 - k8s.io/api v0.30.3 - k8s.io/apimachinery v0.30.3 - k8s.io/client-go v0.30.3 - k8s.io/utils v0.0.0-20240502163921-fe8a2dddb1d0 - sigs.k8s.io/controller-runtime v0.18.5 + k8s.io/api v0.31.0 + k8s.io/apimachinery v0.31.0 + k8s.io/client-go v0.31.0 + k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 + sigs.k8s.io/controller-runtime v0.19.0 ) require ( + github.com/fxamacker/cbor/v2 v2.7.0 // indirect github.com/go-ini/ini v1.67.0 // indirect github.com/go-task/slim-sprig/v3 v3.0.0 // indirect github.com/goccy/go-json v0.10.3 // indirect + github.com/x448/float16 v0.8.4 // indirect + gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect + k8s.io/apiextensions-apiserver v0.31.0 // indirect ) require ( @@ -52,7 +56,6 @@ require ( github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/dustin/go-humanize v1.0.1 // indirect github.com/emicklei/go-restful/v3 v3.12.0 // indirect - github.com/evanphx/json-patch v5.9.0+incompatible // indirect github.com/evanphx/json-patch/v5 v5.9.0 // indirect github.com/fsnotify/fsnotify v1.7.0 // indirect github.com/go-logr/stdr v1.2.2 // indirect @@ -81,7 +84,7 @@ require ( github.com/mailru/easyjson v0.7.7 // indirect github.com/minio/md5-simd v1.1.2 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect - github.com/moby/spdystream v0.2.0 // indirect + github.com/moby/spdystream v0.4.0 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect @@ -89,10 +92,10 @@ require ( github.com/oklog/ulid v1.3.1 // indirect github.com/opentracing/opentracing-go v1.2.0 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect - github.com/prometheus/client_golang v1.18.0 // indirect + github.com/prometheus/client_golang v1.19.1 // indirect github.com/prometheus/client_model v0.6.1 // indirect - github.com/prometheus/common v0.46.0 // indirect - github.com/prometheus/procfs v0.15.0 // indirect + github.com/prometheus/common v0.55.0 // indirect + github.com/prometheus/procfs v0.15.1 // indirect github.com/robfig/cron/v3 v3.0.1 github.com/rs/xid v1.5.0 // indirect github.com/sergi/go-diff v1.3.1 // indirect @@ -105,9 +108,9 @@ require ( go.mongodb.org/mongo-driver v1.14.0 // indirect go.nhat.io/matcher/v2 v2.0.0 // indirect go.nhat.io/wait v0.1.0 // indirect - go.opentelemetry.io/otel v1.26.0 // indirect - go.opentelemetry.io/otel/metric v1.26.0 // indirect - go.opentelemetry.io/otel/trace v1.26.0 // indirect + go.opentelemetry.io/otel v1.28.0 // indirect + go.opentelemetry.io/otel/metric v1.28.0 // indirect + go.opentelemetry.io/otel/trace v1.28.0 // indirect go.uber.org/multierr v1.11.0 // indirect golang.org/x/crypto v0.26.0 // indirect golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect @@ -124,8 +127,7 @@ require ( gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect - k8s.io/apiextensions-apiserver v0.30.1 // indirect - k8s.io/klog/v2 v2.120.1 // indirect + k8s.io/klog/v2 v2.130.1 // indirect k8s.io/kube-openapi v0.0.0-20240430033511-f0e62f92d13f // indirect sigs.k8s.io/gateway-api v1.1.0 // indirect sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect diff --git a/go.sum b/go.sum index 6b0ea1404..fa470b01e 100644 --- a/go.sum +++ b/go.sum @@ -54,6 +54,8 @@ github.com/flosch/pongo2 v0.0.0-20200913210552-0d938eb266f3 h1:fmFk0Wt3bBxxwZnu4 github.com/flosch/pongo2 v0.0.0-20200913210552-0d938eb266f3/go.mod h1:bJWSKrZyQvfTnb2OudyUjurSG4/edverV7n82+K3JiM= github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= +github.com/fxamacker/cbor/v2 v2.7.0 h1:iM5WgngdRBanHcxugY4JySA0nk1wZorNOpTgCMedv5E= +github.com/fxamacker/cbor/v2 v2.7.0/go.mod h1:pxXPTn3joSm21Gbwsv0w9OSA2y1HFR9qXEeXQVeNoDQ= github.com/go-ini/ini v1.67.0 h1:z6ZrTEZqSWOTyH2FlglNbNgARyHG8oLW9gMELqKr06A= github.com/go-ini/ini v1.67.0/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8= github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= @@ -120,7 +122,6 @@ github.com/google/pprof v0.0.0-20240727154555-813a5fbdbec8 h1:FKHo8hFI3A+7w0aUQu github.com/google/pprof v0.0.0-20240727154555-813a5fbdbec8/go.mod h1:K1liHPHnj73Fdn/EKuT8nrFqBihUSKXoLYU0BuatOYo= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 h1:UH//fgunKIs4JdUbpDl1VZCDaL56wXCB/5+wF6uHfaI= @@ -164,8 +165,8 @@ github.com/minio/minio-go/v7 v7.0.75 h1:0uLrB6u6teY2Jt+cJUVi9cTvDRuBKWSRzSAcznRk github.com/minio/minio-go/v7 v7.0.75/go.mod h1:qydcVzV8Hqtj1VtEocfxbmVFa2siu6HGa+LDEPogjD8= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/moby/spdystream v0.2.0 h1:cjW1zVyyoiM0T7b6UoySUFqzXMoqRckQtXwGPiBhOM8= -github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c= +github.com/moby/spdystream v0.4.0 h1:Vy79D6mHeJJjiPdFEL2yku1kl0chZpJfZcPpb16BRl8= +github.com/moby/spdystream v0.4.0/go.mod h1:xBAYlnt/ay+11ShkdFKNAG7LsyK/tmNBVvVOwrfMgdI= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= @@ -197,15 +198,15 @@ github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_golang v1.18.0 h1:HzFfmkOzH5Q8L8G+kSJKUx5dtG87sewO+FoDDqP5Tbk= -github.com/prometheus/client_golang v1.18.0/go.mod h1:T+GXkCk5wSJyOqMIzVgvvjFDlkOQntgjkJWKrN5txjA= +github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE= +github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E= github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY= -github.com/prometheus/common v0.46.0 h1:doXzt5ybi1HBKpsZOL0sSkaNHJJqkyfEWZGGqqScV0Y= -github.com/prometheus/common v0.46.0/go.mod h1:Tp0qkxpb9Jsg54QMe+EAmqXkSV7Evdy1BTn+g2pa/hQ= -github.com/prometheus/procfs v0.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek= -github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk= +github.com/prometheus/common v0.55.0 h1:KEi6DK7lXW/m7Ig5i47x0vRzuBsHuvJdi5ee6Y3G1dc= +github.com/prometheus/common v0.55.0/go.mod h1:2SECS4xJG1kd8XF9IcM1gMX6510RAEL65zxzNImwdc8= +github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0learggepc= +github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk= github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs= github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro= github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8= @@ -233,6 +234,8 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/swaggest/assertjson v1.9.0 h1:dKu0BfJkIxv/xe//mkCrK5yZbs79jL7OVf9Ija7o2xQ= github.com/swaggest/assertjson v1.9.0/go.mod h1:b+ZKX2VRiUjxfUIal0HDN85W0nHPAYUbYH5WkkSsFsU= +github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM= +github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg= github.com/yudai/gojsondiff v1.0.0 h1:27cbfqXLVEJ1o8I6v3y9lg8Ydm53EKqHXAOMxEGlCOA= github.com/yudai/gojsondiff v1.0.0/go.mod h1:AY32+k2cwILAkW1fbgxQ5mUmMiZFgLIV+FBNExI05xg= github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82 h1:BHyfKlQyqbsFN5p3IfnEUduWvb9is428/nNb5L3U01M= @@ -251,14 +254,14 @@ go.nhat.io/matcher/v2 v2.0.0 h1:W+rbHi0hKuZHtOQH4U5g+KwyKyfVioIxrxjoGRcUETE= go.nhat.io/matcher/v2 v2.0.0/go.mod h1:cL5oYp0M9A4L8jEGqjmUfy+k7AXVDddoVt6aYIL1r5g= go.nhat.io/wait v0.1.0 h1:aQ4YDzaOgFbypiJ9c/eAfOIB1G25VOv7Gd2QS8uz1gw= go.nhat.io/wait v0.1.0/go.mod h1:+ijMghc9/9zXi+HDcs49HNReprvXOZha2Q3jTOtqJrE= -go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs= -go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4= -go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30= -go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4= -go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8= -go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs= -go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA= -go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0= +go.opentelemetry.io/otel v1.28.0 h1:/SqNcYk+idO0CxKEUOtKQClMK/MimZihKYMruSMViUo= +go.opentelemetry.io/otel v1.28.0/go.mod h1:q68ijF8Fc8CnMHKyzqL6akLO46ePnjkgfIMIjUIX9z4= +go.opentelemetry.io/otel/metric v1.28.0 h1:f0HGvSl1KRAU1DLgLGFjrwVyismPlnuU6JD6bOeuA5Q= +go.opentelemetry.io/otel/metric v1.28.0/go.mod h1:Fb1eVBFZmLVTMb6PPohq3TO9IIhUisDsbJoL/+uQW4s= +go.opentelemetry.io/otel/sdk v1.28.0 h1:b9d7hIry8yZsgtbmM0DKyPWMMUMlK9NEKuIG4aBqWyE= +go.opentelemetry.io/otel/sdk v1.28.0/go.mod h1:oYj7ClPUA7Iw3m+r7GeEjz0qckQRJK2B8zjcZEfu7Pg= +go.opentelemetry.io/otel/trace v1.28.0 h1:GhQ9cUuQGmNDd5BTCP2dAvv75RdMxEfTmYejp+lkx9g= +go.opentelemetry.io/otel/trace v1.28.0/go.mod h1:jPyXzNPg6da9+38HEwElrQiHlVMTnVfM3/yv2OlIHaI= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= @@ -361,6 +364,8 @@ gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8 gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= +gopkg.in/evanphx/json-patch.v4 v4.12.0 h1:n6jtcsulIzXPJaxegRbvFNNrZDjbij7ny3gmSPG+6V4= +gopkg.in/evanphx/json-patch.v4 v4.12.0/go.mod h1:p8EYWUEYMpynmqDbY58zCKCFZw8pRWMG4EsWvDvM72M= gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= @@ -375,22 +380,22 @@ gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -k8s.io/api v0.30.3 h1:ImHwK9DCsPA9uoU3rVh4QHAHHK5dTSv1nxJUapx8hoQ= -k8s.io/api v0.30.3/go.mod h1:GPc8jlzoe5JG3pb0KJCSLX5oAFIW3/qNJITlDj8BH04= -k8s.io/apiextensions-apiserver v0.30.1 h1:4fAJZ9985BmpJG6PkoxVRpXv9vmPUOVzl614xarePws= -k8s.io/apiextensions-apiserver v0.30.1/go.mod h1:R4GuSrlhgq43oRY9sF2IToFh7PVlF1JjfWdoG3pixk4= -k8s.io/apimachinery v0.30.3 h1:q1laaWCmrszyQuSQCfNB8cFgCuDAoPszKY4ucAjDwHc= -k8s.io/apimachinery v0.30.3/go.mod h1:iexa2somDaxdnj7bha06bhb43Zpa6eWH8N8dbqVjTUc= -k8s.io/client-go v0.30.3 h1:bHrJu3xQZNXIi8/MoxYtZBBWQQXwy16zqJwloXXfD3k= -k8s.io/client-go v0.30.3/go.mod h1:8d4pf8vYu665/kUbsxWAQ/JDBNWqfFeZnvFiVdmx89U= -k8s.io/klog/v2 v2.120.1 h1:QXU6cPEOIslTGvZaXvFWiP9VKyeet3sawzTOvdXb4Vw= -k8s.io/klog/v2 v2.120.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE= +k8s.io/api v0.31.0 h1:b9LiSjR2ym/SzTOlfMHm1tr7/21aD7fSkqgD/CVJBCo= +k8s.io/api v0.31.0/go.mod h1:0YiFF+JfFxMM6+1hQei8FY8M7s1Mth+z/q7eF1aJkTE= +k8s.io/apiextensions-apiserver v0.31.0 h1:fZgCVhGwsclj3qCw1buVXCV6khjRzKC5eCFt24kyLSk= +k8s.io/apiextensions-apiserver v0.31.0/go.mod h1:b9aMDEYaEe5sdK+1T0KU78ApR/5ZVp4i56VacZYEHxk= +k8s.io/apimachinery v0.31.0 h1:m9jOiSr3FoSSL5WO9bjm1n6B9KROYYgNZOb4tyZ1lBc= +k8s.io/apimachinery v0.31.0/go.mod h1:rsPdaZJfTfLsNJSQzNHQvYoTmxhoOEofxtOsF3rtsMo= +k8s.io/client-go v0.31.0 h1:QqEJzNjbN2Yv1H79SsS+SWnXkBgVu4Pj3CJQgbx0gI8= +k8s.io/client-go v0.31.0/go.mod h1:Y9wvC76g4fLjmU0BA+rV+h2cncoadjvjjkkIGoTLcGU= +k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk= +k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE= k8s.io/kube-openapi v0.0.0-20240430033511-f0e62f92d13f h1:0LQagt0gDpKqvIkAMPaRGcXawNMouPECM1+F9BVxEaM= k8s.io/kube-openapi v0.0.0-20240430033511-f0e62f92d13f/go.mod h1:S9tOR0FxgyusSNR+MboCuiDpVWkAifZvaYI1Q2ubgro= -k8s.io/utils v0.0.0-20240502163921-fe8a2dddb1d0 h1:jgGTlFYnhF1PM1Ax/lAlxUPE+KfCIXHaathvJg1C3ak= -k8s.io/utils v0.0.0-20240502163921-fe8a2dddb1d0/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -sigs.k8s.io/controller-runtime v0.18.5 h1:nTHio/W+Q4aBlQMgbnC5hZb4IjIidyrizMai9P6n4Rk= -sigs.k8s.io/controller-runtime v0.18.5/go.mod h1:TVoGrfdpbA9VRFaRnKgk9P5/atA0pMwq+f+msb9M8Sg= +k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 h1:pUdcCO1Lk/tbT5ztQWOBi5HBgbBP1J8+AsQnQCKsi8A= +k8s.io/utils v0.0.0-20240711033017-18e509b52bc8/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= +sigs.k8s.io/controller-runtime v0.19.0 h1:nWVM7aq+Il2ABxwiCizrVDSlmDcshi9llbaFbC0ji/Q= +sigs.k8s.io/controller-runtime v0.19.0/go.mod h1:iRmWllt8IlaLjvTTDLhRBXIEtkCK6hwVBJJsYS9Ajf4= sigs.k8s.io/gateway-api v1.1.0 h1:DsLDXCi6jR+Xz8/xd0Z1PYl2Pn0TyaFMOPPZIj4inDM= sigs.k8s.io/gateway-api v1.1.0/go.mod h1:ZH4lHrL2sDi0FHZ9jjneb8kKnGzFWyrTya35sWUTrRs= sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo=