From 80a19a105e5cb49e220fadd6659e13860ffda1da Mon Sep 17 00:00:00 2001 From: Zorian Motso Date: Thu, 16 May 2024 15:34:05 +0300 Subject: [PATCH] chore: Bump to Go 1.22 (#23) --- .github/workflows/codecov.yaml | 2 +- .github/workflows/codeql.yaml | 8 ++++ .github/workflows/pr.yaml | 2 +- .github/workflows/release.yaml | 2 +- .golangci.yaml | 3 +- Makefile | 4 +- api/v1alpha1/zz_generated.deepcopy.go | 4 +- .../crd/bases/edp.epam.com_sonargroups.yaml | 26 ++++++----- ...edp.epam.com_sonarpermissiontemplates.yaml | 36 ++++++++------- .../bases/edp.epam.com_sonarqualitygates.yaml | 44 +++++++++++------- .../edp.epam.com_sonarqualityprofiles.yaml | 41 ++++++++++------- config/crd/bases/edp.epam.com_sonars.yaml | 45 +++++++++++-------- config/crd/bases/edp.epam.com_sonarusers.yaml | 31 ++++++++----- .../crds/edp.epam.com_sonargroups.yaml | 26 ++++++----- ...edp.epam.com_sonarpermissiontemplates.yaml | 36 ++++++++------- .../crds/edp.epam.com_sonarqualitygates.yaml | 44 +++++++++++------- .../edp.epam.com_sonarqualityprofiles.yaml | 41 ++++++++++------- .../crds/edp.epam.com_sonars.yaml | 45 +++++++++++-------- .../crds/edp.epam.com_sonarusers.yaml | 31 ++++++++----- go.mod | 12 ++--- go.sum | 21 +++++---- 21 files changed, 300 insertions(+), 204 deletions(-) diff --git a/.github/workflows/codecov.yaml b/.github/workflows/codecov.yaml index 83a0878..4dcbe51 100644 --- a/.github/workflows/codecov.yaml +++ b/.github/workflows/codecov.yaml @@ -5,7 +5,7 @@ on: branches: [ master ] env: - GOLANG_VERSION: '1.20' + GOLANG_VERSION: '1.22' jobs: diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index b94a15b..2751147 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -4,6 +4,9 @@ on: push: branches: [ master ] +env: + GOLANG_VERSION: '1.22' + jobs: analyze: name: Analyze @@ -18,6 +21,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: ${{ env.GOLANG_VERSION }} + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 33c44fc..53fca34 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -10,7 +10,7 @@ concurrency: cancel-in-progress: true env: - GOLANG_VERSION: '1.20' + GOLANG_VERSION: '1.22' jobs: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index aa84fe4..ce725e1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -5,7 +5,7 @@ on: - 'v*' env: - GOLANG_VERSION: '1.20' + GOLANG_VERSION: '1.22' jobs: prepare-release: diff --git a/.golangci.yaml b/.golangci.yaml index 2d9c864..a4bc5fb 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,6 +1,6 @@ run: timeout: 5m - go: "1.20" + go: "1.22" issues-exit-code: 1 build-tags: - mytag @@ -197,7 +197,6 @@ linters-settings: # By default list of stable checks is used. enabled-checks: - nestingReduce - - unnamedresult - ruleguard - truncateCmp diff --git a/Makefile b/Makefile index c9d1ee0..063f7cd 100644 --- a/Makefile +++ b/Makefile @@ -149,7 +149,7 @@ crdoc: ## Download crdoc locally if necessary. CONTROLLER_GEN = ${LOCALBIN}/controller-gen .PHONY: 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.12.1) + $(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen,v0.15.0) # go-get-tool will 'go get' any package $2 and install it to $1. PROJECT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST)))) define go-get-tool @@ -168,7 +168,7 @@ endef GOLANGCILINT = ${LOCALBIN}/golangci-lint .PHONY: golangci-lint golangci-lint: ## Download golangci-lint locally if necessary. - $(call go-get-tool,$(GOLANGCILINT),github.com/golangci/golangci-lint/cmd/golangci-lint,v1.53.3) + $(call go-get-tool,$(GOLANGCILINT),github.com/golangci/golangci-lint/cmd/golangci-lint,v1.58.1) .PHONY: install install: manifests kustomize ## Install CRDs into the K8s cluster specified in ~/.kube/config. diff --git a/api/v1alpha1/zz_generated.deepcopy.go b/api/v1alpha1/zz_generated.deepcopy.go index 07c9f64..9f5fbe2 100644 --- a/api/v1alpha1/zz_generated.deepcopy.go +++ b/api/v1alpha1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated // Code generated by controller-gen. DO NOT EDIT. @@ -263,7 +262,8 @@ func (in *SonarPermissionTemplateSpec) DeepCopyInto(out *SonarPermissionTemplate if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = make([]string, len(*in)) copy(*out, *in) } diff --git a/config/crd/bases/edp.epam.com_sonargroups.yaml b/config/crd/bases/edp.epam.com_sonargroups.yaml index c250b27..63254d7 100644 --- a/config/crd/bases/edp.epam.com_sonargroups.yaml +++ b/config/crd/bases/edp.epam.com_sonargroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.15.0 name: sonargroups.edp.epam.com spec: group: edp.epam.com @@ -20,14 +20,19 @@ spec: description: SonarGroup is the Schema for the sonar group API. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -40,9 +45,10 @@ spec: maxLength: 200 type: string name: - description: Name is a group name. Name should be unique across all - groups. Do not edit this field after creation. Otherwise, the group - will be recreated. + description: |- + Name is a group name. + Name should be unique across all groups. + Do not edit this field after creation. Otherwise, the group will be recreated. example: sonar-users maxLength: 255 type: string diff --git a/config/crd/bases/edp.epam.com_sonarpermissiontemplates.yaml b/config/crd/bases/edp.epam.com_sonarpermissiontemplates.yaml index e177081..c8e5932 100644 --- a/config/crd/bases/edp.epam.com_sonarpermissiontemplates.yaml +++ b/config/crd/bases/edp.epam.com_sonarpermissiontemplates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.15.0 name: sonarpermissiontemplates.edp.epam.com spec: group: edp.epam.com @@ -21,14 +21,19 @@ spec: template API. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -37,11 +42,11 @@ spec: SonarPermissionTemplate. properties: default: - description: Default is a flag to set permission template as default. - Only one permission template can be default. If several permission - templates have default flag, the random one will be chosen. Default - permission template can't be deleted. You need to set another permission - template as default before. + description: |- + Default is a flag to set permission template as default. + Only one permission template can be default. + If several permission templates have default flag, the random one will be chosen. + Default permission template can't be deleted. You need to set another permission template as default before. example: "true" type: boolean description: @@ -62,9 +67,10 @@ spec: nullable: true type: object name: - description: Name is a name of permission template. Name should be - unique across all permission templates. Do not edit this field after - creation. Otherwise, the permission template will be recreated. + description: |- + Name is a name of permission template. + Name should be unique across all permission templates. + Do not edit this field after creation. Otherwise, the permission template will be recreated. example: sonar-users-tmpl maxLength: 100 type: string diff --git a/config/crd/bases/edp.epam.com_sonarqualitygates.yaml b/config/crd/bases/edp.epam.com_sonarqualitygates.yaml index 76081c0..e5a15cb 100644 --- a/config/crd/bases/edp.epam.com_sonarqualitygates.yaml +++ b/config/crd/bases/edp.epam.com_sonarqualitygates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.15.0 name: sonarqualitygates.edp.epam.com spec: group: edp.epam.com @@ -20,14 +20,19 @@ spec: description: SonarQualityGate is the Schema for the sonarqualitygates API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -44,8 +49,10 @@ spec: maxLength: 64 type: string op: - description: Op is condition operator. LT = is lower than GT - = is greater than + description: |- + Op is condition operator. + LT = is lower than + GT = is greater than enum: - LT - GT @@ -53,7 +60,8 @@ spec: required: - error type: object - description: Conditions is a list of conditions for quality gate. + description: |- + Conditions is a list of conditions for quality gate. Key is a metric name, value is a condition. example: new_code_smells: @@ -62,16 +70,18 @@ spec: nullable: true type: object default: - description: Default is a flag to set quality gate as default. Only - one quality gate can be default. If several quality gates have default - flag, the random one will be chosen. Default quality gate can't - be deleted. You need to set another quality gate as default before. + description: |- + Default is a flag to set quality gate as default. + Only one quality gate can be default. + If several quality gates have default flag, the random one will be chosen. + Default quality gate can't be deleted. You need to set another quality gate as default before. example: "true" type: boolean name: - description: Name is a name of quality gate. Name should be unique - across all quality gates. Don't change this field after creation - otherwise quality gate will be recreated. + description: |- + Name is a name of quality gate. + Name should be unique across all quality gates. + Don't change this field after creation otherwise quality gate will be recreated. example: My Quality Gate maxLength: 100 type: string diff --git a/config/crd/bases/edp.epam.com_sonarqualityprofiles.yaml b/config/crd/bases/edp.epam.com_sonarqualityprofiles.yaml index 2d5e100..e103735 100644 --- a/config/crd/bases/edp.epam.com_sonarqualityprofiles.yaml +++ b/config/crd/bases/edp.epam.com_sonarqualityprofiles.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.15.0 name: sonarqualityprofiles.edp.epam.com spec: group: edp.epam.com @@ -21,14 +21,19 @@ spec: API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -36,11 +41,11 @@ spec: description: SonarQualityProfileSpec defines the desired state of SonarQualityProfile properties: default: - description: Default is a flag to set quality profile as default. - Only one quality profile can be default. If several quality profiles - have default flag, the random one will be chosen. Default quality - profile can't be deleted. You need to set another quality profile - as default before. + description: |- + Default is a flag to set quality profile as default. + Only one quality profile can be default. + If several quality profiles have default flag, the random one will be chosen. + Default quality profile can't be deleted. You need to set another quality profile as default before. example: "true" type: boolean language: @@ -48,9 +53,10 @@ spec: example: go type: string name: - description: Name is a name of quality profile. Name should be unique - across all quality profiles. Don't change this field after creation - otherwise quality profile will be recreated. + description: |- + Name is a name of quality profile. + Name should be unique across all quality profiles. + Don't change this field after creation otherwise quality profile will be recreated. example: My Quality Profile maxLength: 100 type: string @@ -73,8 +79,9 @@ spec: example: MAJOR type: string type: object - description: Rules is a list of rules for quality profile. Key is - a rule key, value is a rule. + description: |- + Rules is a list of rules for quality profile. + Key is a rule key, value is a rule. example: S5547: params: key1=v1;key2=v2 diff --git a/config/crd/bases/edp.epam.com_sonars.yaml b/config/crd/bases/edp.epam.com_sonars.yaml index 8e1f47b..12091f4 100644 --- a/config/crd/bases/edp.epam.com_sonars.yaml +++ b/config/crd/bases/edp.epam.com_sonars.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.15.0 name: sonars.edp.epam.com spec: group: edp.epam.com @@ -25,14 +25,19 @@ spec: description: Sonar is the Schema for the sonars API. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -45,10 +50,10 @@ spec: example: Default template for projects type: string secret: - description: Secret is the name of the k8s object Secret related to - sonar. Secret should contain a user field with a sonar username - and a password field with a sonar password. Pass the token in the - user field and leave the password field empty for token authentication. + description: |- + Secret is the name of the k8s object Secret related to sonar. + Secret should contain a user field with a sonar username and a password field with a sonar password. + Pass the token in the user field and leave the password field empty for token authentication. type: string settings: description: Settings specify which settings should be configured. @@ -103,16 +108,18 @@ spec: description: Error represents error message if something went wrong. type: string processedSettings: - description: ProcessedSettings shows which settings were processed. - It is used to compare the current settings with the settings that - were processed to unset the settings that are not in the current - settings. + description: |- + ProcessedSettings shows which settings were processed. + It is used to compare the current settings with the settings that were processed + to unset the settings that are not in the current settings. type: string value: - description: 'Value is status of sonar instance. Possible values: - GREEN: SonarQube is fully operational YELLOW: SonarQube is usable, - but it needs attention in order to be fully operational RED: SonarQube - is not operational' + description: |- + Value is status of sonar instance. + Possible values: + GREEN: SonarQube is fully operational + YELLOW: SonarQube is usable, but it needs attention in order to be fully operational + RED: SonarQube is not operational type: string type: object type: object diff --git a/config/crd/bases/edp.epam.com_sonarusers.yaml b/config/crd/bases/edp.epam.com_sonarusers.yaml index 6fe9b39..e43a9cf 100644 --- a/config/crd/bases/edp.epam.com_sonarusers.yaml +++ b/config/crd/bases/edp.epam.com_sonarusers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.15.0 name: sonarusers.edp.epam.com spec: group: edp.epam.com @@ -20,14 +20,19 @@ spec: description: SonarUser is the Schema for the sonarusers API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -49,8 +54,9 @@ spec: nullable: true type: array login: - description: Login is a user login. Do not edit this field after creation. - Otherwise, the user will be recreated. + description: |- + Login is a user login. + Do not edit this field after creation. Otherwise, the user will be recreated. example: myuser maxLength: 255 minLength: 2 @@ -70,9 +76,10 @@ spec: nullable: true type: array secret: - description: Secret is the name of the secret with the user password. - It should contain a password field with a user password. User password - can't be updated. + description: |- + Secret is the name of the secret with the user password. + It should contain a password field with a user password. + User password can't be updated. example: sonar-user-password type: string sonarRef: diff --git a/deploy-templates/crds/edp.epam.com_sonargroups.yaml b/deploy-templates/crds/edp.epam.com_sonargroups.yaml index c250b27..63254d7 100644 --- a/deploy-templates/crds/edp.epam.com_sonargroups.yaml +++ b/deploy-templates/crds/edp.epam.com_sonargroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.15.0 name: sonargroups.edp.epam.com spec: group: edp.epam.com @@ -20,14 +20,19 @@ spec: description: SonarGroup is the Schema for the sonar group API. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -40,9 +45,10 @@ spec: maxLength: 200 type: string name: - description: Name is a group name. Name should be unique across all - groups. Do not edit this field after creation. Otherwise, the group - will be recreated. + description: |- + Name is a group name. + Name should be unique across all groups. + Do not edit this field after creation. Otherwise, the group will be recreated. example: sonar-users maxLength: 255 type: string diff --git a/deploy-templates/crds/edp.epam.com_sonarpermissiontemplates.yaml b/deploy-templates/crds/edp.epam.com_sonarpermissiontemplates.yaml index e177081..c8e5932 100644 --- a/deploy-templates/crds/edp.epam.com_sonarpermissiontemplates.yaml +++ b/deploy-templates/crds/edp.epam.com_sonarpermissiontemplates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.15.0 name: sonarpermissiontemplates.edp.epam.com spec: group: edp.epam.com @@ -21,14 +21,19 @@ spec: template API. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -37,11 +42,11 @@ spec: SonarPermissionTemplate. properties: default: - description: Default is a flag to set permission template as default. - Only one permission template can be default. If several permission - templates have default flag, the random one will be chosen. Default - permission template can't be deleted. You need to set another permission - template as default before. + description: |- + Default is a flag to set permission template as default. + Only one permission template can be default. + If several permission templates have default flag, the random one will be chosen. + Default permission template can't be deleted. You need to set another permission template as default before. example: "true" type: boolean description: @@ -62,9 +67,10 @@ spec: nullable: true type: object name: - description: Name is a name of permission template. Name should be - unique across all permission templates. Do not edit this field after - creation. Otherwise, the permission template will be recreated. + description: |- + Name is a name of permission template. + Name should be unique across all permission templates. + Do not edit this field after creation. Otherwise, the permission template will be recreated. example: sonar-users-tmpl maxLength: 100 type: string diff --git a/deploy-templates/crds/edp.epam.com_sonarqualitygates.yaml b/deploy-templates/crds/edp.epam.com_sonarqualitygates.yaml index 76081c0..e5a15cb 100644 --- a/deploy-templates/crds/edp.epam.com_sonarqualitygates.yaml +++ b/deploy-templates/crds/edp.epam.com_sonarqualitygates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.15.0 name: sonarqualitygates.edp.epam.com spec: group: edp.epam.com @@ -20,14 +20,19 @@ spec: description: SonarQualityGate is the Schema for the sonarqualitygates API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -44,8 +49,10 @@ spec: maxLength: 64 type: string op: - description: Op is condition operator. LT = is lower than GT - = is greater than + description: |- + Op is condition operator. + LT = is lower than + GT = is greater than enum: - LT - GT @@ -53,7 +60,8 @@ spec: required: - error type: object - description: Conditions is a list of conditions for quality gate. + description: |- + Conditions is a list of conditions for quality gate. Key is a metric name, value is a condition. example: new_code_smells: @@ -62,16 +70,18 @@ spec: nullable: true type: object default: - description: Default is a flag to set quality gate as default. Only - one quality gate can be default. If several quality gates have default - flag, the random one will be chosen. Default quality gate can't - be deleted. You need to set another quality gate as default before. + description: |- + Default is a flag to set quality gate as default. + Only one quality gate can be default. + If several quality gates have default flag, the random one will be chosen. + Default quality gate can't be deleted. You need to set another quality gate as default before. example: "true" type: boolean name: - description: Name is a name of quality gate. Name should be unique - across all quality gates. Don't change this field after creation - otherwise quality gate will be recreated. + description: |- + Name is a name of quality gate. + Name should be unique across all quality gates. + Don't change this field after creation otherwise quality gate will be recreated. example: My Quality Gate maxLength: 100 type: string diff --git a/deploy-templates/crds/edp.epam.com_sonarqualityprofiles.yaml b/deploy-templates/crds/edp.epam.com_sonarqualityprofiles.yaml index 2d5e100..e103735 100644 --- a/deploy-templates/crds/edp.epam.com_sonarqualityprofiles.yaml +++ b/deploy-templates/crds/edp.epam.com_sonarqualityprofiles.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.15.0 name: sonarqualityprofiles.edp.epam.com spec: group: edp.epam.com @@ -21,14 +21,19 @@ spec: API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -36,11 +41,11 @@ spec: description: SonarQualityProfileSpec defines the desired state of SonarQualityProfile properties: default: - description: Default is a flag to set quality profile as default. - Only one quality profile can be default. If several quality profiles - have default flag, the random one will be chosen. Default quality - profile can't be deleted. You need to set another quality profile - as default before. + description: |- + Default is a flag to set quality profile as default. + Only one quality profile can be default. + If several quality profiles have default flag, the random one will be chosen. + Default quality profile can't be deleted. You need to set another quality profile as default before. example: "true" type: boolean language: @@ -48,9 +53,10 @@ spec: example: go type: string name: - description: Name is a name of quality profile. Name should be unique - across all quality profiles. Don't change this field after creation - otherwise quality profile will be recreated. + description: |- + Name is a name of quality profile. + Name should be unique across all quality profiles. + Don't change this field after creation otherwise quality profile will be recreated. example: My Quality Profile maxLength: 100 type: string @@ -73,8 +79,9 @@ spec: example: MAJOR type: string type: object - description: Rules is a list of rules for quality profile. Key is - a rule key, value is a rule. + description: |- + Rules is a list of rules for quality profile. + Key is a rule key, value is a rule. example: S5547: params: key1=v1;key2=v2 diff --git a/deploy-templates/crds/edp.epam.com_sonars.yaml b/deploy-templates/crds/edp.epam.com_sonars.yaml index 8e1f47b..12091f4 100644 --- a/deploy-templates/crds/edp.epam.com_sonars.yaml +++ b/deploy-templates/crds/edp.epam.com_sonars.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.15.0 name: sonars.edp.epam.com spec: group: edp.epam.com @@ -25,14 +25,19 @@ spec: description: Sonar is the Schema for the sonars API. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -45,10 +50,10 @@ spec: example: Default template for projects type: string secret: - description: Secret is the name of the k8s object Secret related to - sonar. Secret should contain a user field with a sonar username - and a password field with a sonar password. Pass the token in the - user field and leave the password field empty for token authentication. + description: |- + Secret is the name of the k8s object Secret related to sonar. + Secret should contain a user field with a sonar username and a password field with a sonar password. + Pass the token in the user field and leave the password field empty for token authentication. type: string settings: description: Settings specify which settings should be configured. @@ -103,16 +108,18 @@ spec: description: Error represents error message if something went wrong. type: string processedSettings: - description: ProcessedSettings shows which settings were processed. - It is used to compare the current settings with the settings that - were processed to unset the settings that are not in the current - settings. + description: |- + ProcessedSettings shows which settings were processed. + It is used to compare the current settings with the settings that were processed + to unset the settings that are not in the current settings. type: string value: - description: 'Value is status of sonar instance. Possible values: - GREEN: SonarQube is fully operational YELLOW: SonarQube is usable, - but it needs attention in order to be fully operational RED: SonarQube - is not operational' + description: |- + Value is status of sonar instance. + Possible values: + GREEN: SonarQube is fully operational + YELLOW: SonarQube is usable, but it needs attention in order to be fully operational + RED: SonarQube is not operational type: string type: object type: object diff --git a/deploy-templates/crds/edp.epam.com_sonarusers.yaml b/deploy-templates/crds/edp.epam.com_sonarusers.yaml index 6fe9b39..e43a9cf 100644 --- a/deploy-templates/crds/edp.epam.com_sonarusers.yaml +++ b/deploy-templates/crds/edp.epam.com_sonarusers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.15.0 name: sonarusers.edp.epam.com spec: group: edp.epam.com @@ -20,14 +20,19 @@ spec: description: SonarUser is the Schema for the sonarusers API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -49,8 +54,9 @@ spec: nullable: true type: array login: - description: Login is a user login. Do not edit this field after creation. - Otherwise, the user will be recreated. + description: |- + Login is a user login. + Do not edit this field after creation. Otherwise, the user will be recreated. example: myuser maxLength: 255 minLength: 2 @@ -70,9 +76,10 @@ spec: nullable: true type: array secret: - description: Secret is the name of the secret with the user password. - It should contain a password field with a user password. User password - can't be updated. + description: |- + Secret is the name of the secret with the user password. + It should contain a password field with a user password. + User password can't be updated. example: sonar-user-password type: string sonarRef: diff --git a/go.mod b/go.mod index ab52122..d99a40b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/epam/edp-sonar-operator -go 1.20 +go 1.22 require ( github.com/epam/edp-common v0.0.0-20230710145648-344bbce4120e @@ -11,9 +11,9 @@ require ( github.com/onsi/gomega v1.24.2 github.com/stretchr/testify v1.8.4 golang.org/x/text v0.14.0 - k8s.io/api v0.26.8 - k8s.io/apimachinery v0.26.8 - k8s.io/client-go v0.26.8 + k8s.io/api v0.26.11 + k8s.io/apimachinery v0.26.11 + k8s.io/client-go v0.26.11 sigs.k8s.io/controller-runtime v0.14.6 ) @@ -31,7 +31,7 @@ require ( github.com/go-openapi/swag v0.22.3 // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect - github.com/golang/protobuf v1.5.2 // indirect + github.com/golang/protobuf v1.5.3 // indirect github.com/google/gnostic v0.6.9 // indirect github.com/google/go-cmp v0.5.9 // indirect github.com/google/gofuzz v1.2.0 // indirect @@ -56,7 +56,7 @@ require ( go.uber.org/multierr v1.6.0 // indirect go.uber.org/zap v1.24.0 // indirect golang.org/x/net v0.23.0 // indirect - golang.org/x/oauth2 v0.3.0 // indirect + golang.org/x/oauth2 v0.7.0 // indirect golang.org/x/sys v0.18.0 // indirect golang.org/x/term v0.18.0 // indirect golang.org/x/time v0.3.0 // indirect diff --git a/go.sum b/go.sum index 363f993..2d23a71 100644 --- a/go.sum +++ b/go.sum @@ -74,8 +74,9 @@ github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QD github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= +github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/google/gnostic v0.6.9 h1:ZK/5VhkoX835RikCHpSUJV9a+S3e1zLh59YnyWeBW+0= github.com/google/gnostic v0.6.9/go.mod h1:Nm8234We1lq6iB9OmlgNv3nH91XLLVZHCDayfA3xq+E= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= @@ -117,6 +118,7 @@ github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJ github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/maxatome/go-testdeep v1.12.0 h1:Ql7Go8Tg0C1D/uMMX59LAoYK7LffeJQ6X2T04nTH68g= +github.com/maxatome/go-testdeep v1.12.0/go.mod h1:lPZc/HAcJMP92l7yI6TRz1aZN5URwUBUAfUNvrclaNM= 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= @@ -170,6 +172,7 @@ go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= 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.2.0 h1:xqgm/S+aQvhWFTtR0XK3Jvg7z8kGV8P4X14IzwN3Eqk= +go.uber.org/goleak v1.2.0/go.mod h1:XJYK+MuIchqpmGmUSAzotztawfKvYLUIgg7guXrwVUo= go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4= go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= go.uber.org/zap v1.19.0/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= @@ -203,8 +206,8 @@ golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs= golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.3.0 h1:6l90koy8/LaBLmLu8jpHeHexzMwEita0zFfYlggy2F8= -golang.org/x/oauth2 v0.3.0/go.mod h1:rQrIauxkUhJ6CuwEXwymO2/eh4xz2ZWF1nBkcxS+tGk= +golang.org/x/oauth2 v0.7.0 h1:qe6s0zUXlPX80/dITx3440hWZ7GwMwgDDyrSGTPJG/g= +golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -300,14 +303,14 @@ 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.26.8 h1:k2OtFmQPWfDUyAuYAwQPftVygF/vz4BMGSKnd15iddM= -k8s.io/api v0.26.8/go.mod h1:QaflR7cmG3V9lIz0VLBM+ylndNN897OAUAoJDcgwiQw= +k8s.io/api v0.26.11 h1:hLhTZRdYc3vBBOY4wbEyTLWgMyieOAk2Ws9NG57QqO4= +k8s.io/api v0.26.11/go.mod h1:bSr/A0TKRt5W2OMDdexkM/ER1NxOxiQqNNFXW2nMZrM= k8s.io/apiextensions-apiserver v0.26.1 h1:cB8h1SRk6e/+i3NOrQgSFij1B2S0Y0wDoNl66bn8RMI= k8s.io/apiextensions-apiserver v0.26.1/go.mod h1:AptjOSXDGuE0JICx/Em15PaoO7buLwTs0dGleIHixSM= -k8s.io/apimachinery v0.26.8 h1:SzpGtRX3/j/Ylg8Eg65Iobpxi9Jz4vOvI0qcBZyPVrM= -k8s.io/apimachinery v0.26.8/go.mod h1:qYzLkrQ9lhrZRh0jNKo2cfvf/R1/kQONnSiyB7NUJU0= -k8s.io/client-go v0.26.8 h1:pPuTYaVtLlg/7n6rqs3MsKLi4XgNaJ3rTMyS37Y5CKU= -k8s.io/client-go v0.26.8/go.mod h1:1sBQqKmdy9rWZYQnoedpc0gnRXG7kU3HrKZvBe2QbGM= +k8s.io/apimachinery v0.26.11 h1:w//840HHdwSRKqD15j9YX9HLlU6RPlfrvW0xEhLk2+0= +k8s.io/apimachinery v0.26.11/go.mod h1:2/HZp0l6coXtS26du1Bk36fCuAEr/lVs9Q9NbpBtd1Y= +k8s.io/client-go v0.26.11 h1:RjfZr5+vQjjTRmk4oCqHyC0cgrZXPjw+X+ge35sk4GI= +k8s.io/client-go v0.26.11/go.mod h1:+emNszw9va/uRJIM5ALTBtFnlZMTjwBrNjRfEh0iuw8= k8s.io/component-base v0.26.1 h1:4ahudpeQXHZL5kko+iDHqLj/FSGAEUnSVO0EBbgDd+4= k8s.io/component-base v0.26.1/go.mod h1:VHrLR0b58oC035w6YQiBSbtsf0ThuSwXP+p5dD/kAWU= k8s.io/klog/v2 v2.80.1 h1:atnLQ121W371wYYFawwYx1aEY2eUfs4l3J72wtgAwV4=