Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): Bump the all-go-mod-patch-and-minor group across 1 directory with 12 updates #377

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ linters:
- staticcheck
- stylecheck
- tagliatelle
- tenv
- thelper
- tparallel
- typecheck
- unconvert
- unparam
- unused
- usetesting
- whitespace

linters-settings:
Expand Down
54 changes: 28 additions & 26 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,47 +10,47 @@ repos:
language: system
files: "(.*\\.go|go.mod|go.sum|go.mk)$"
pass_filenames: false
stages: [commit]
stages: [pre-commit]
- repo: https://github.com/tekwizely/pre-commit-golang
rev: v1.0.0-rc.1
hooks:
- id: go-mod-tidy-repo
stages: [commit]
stages: [pre-commit]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
stages: [commit]
stages: [pre-commit]
- id: check-yaml
args: ["-m", "--unsafe"]
stages: [commit]
stages: [pre-commit]
exclude: ^charts/.+/templates/
- id: mixed-line-ending
args: ["-f", "lf"]
exclude: \.bat$
stages: [commit]
stages: [pre-commit]
- id: no-commit-to-branch
stages: [commit]
stages: [pre-commit]
- id: check-added-large-files
stages: [commit]
stages: [pre-commit]
- id: check-case-conflict
stages: [commit]
stages: [pre-commit]
- id: check-merge-conflict
stages: [commit]
stages: [pre-commit]
- id: check-executables-have-shebangs
stages: [commit]
stages: [pre-commit]
- id: check-symlinks
stages: [commit]
stages: [pre-commit]
- id: end-of-file-fixer
stages: [commit]
stages: [pre-commit]
exclude: ^charts/.+/README.md$
- repo: https://github.com/rhysd/actionlint
rev: v1.6.27
rev: v1.7.7
hooks:
- id: actionlint-system
stages: [commit]
stages: [pre-commit]
- repo: https://github.com/hadolint/hadolint
rev: v2.12.1-beta
rev: v2.13.1-beta
hooks:
- id: hadolint
- repo: https://github.com/jorisroovers/gitlint
Expand All @@ -63,28 +63,30 @@ repos:
rev: 3.0.0
hooks:
- id: shfmt
stages: [commit]
stages: [pre-commit]
args: ["-s", "-i", "2"]
- id: script-must-have-extension
stages: [commit]
stages: [pre-commit]
exclude: ^\.envrc$
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
hooks:
- id: shellcheck
stages: [commit]
stages: [pre-commit]
args: ["-x"]
exclude: ^\.envrc$
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.39.0
rev: v0.44.0
hooks:
- id: markdownlint
stages: [commit]
stages: [pre-commit]
exclude: ^(CHANGELOG.md|charts/.+/README.md)$
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks:
- id: insert-license
name: License headers - Go
stages: [commit]
stages: [pre-commit]
files: "(.*\\.go|go.mod)$"
exclude: zz_generated
args:
Expand All @@ -95,7 +97,7 @@ repos:
- --allow-past-years
- id: insert-license
name: License headers - YAML and Makefiles
stages: [commit]
stages: [pre-commit]
files: (^Makefile|\.(ya?ml|mk))$
args:
- --license-filepath
Expand All @@ -104,7 +106,7 @@ repos:
exclude: ^charts/.+/(templates/.+\.yaml|crds/.+\.yaml)$
- id: insert-license
name: License headers - Markdown
stages: [commit]
stages: [pre-commit]
files: \.md$
exclude: ^CHANGELOG.md$
args:
Expand All @@ -114,10 +116,10 @@ repos:
- <!--|| -->
- --allow-past-years
- repo: https://github.com/norwoodj/helm-docs
rev: v1.13.1
rev: v1.14.2
hooks:
- id: helm-docs
stages: [commit]
stages: [pre-commit]
args:
# Make the tool search for charts only under the `example-charts` directory
- --chart-search-root=charts
1 change: 0 additions & 1 deletion apis/config/v1alpha1/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@
// Package v1alpha1 contains API Schema definitions for the config v1alpha1 API group
// +kubebuilder:object:generate=true
// +groupName=credentialprovider.d2iq.com
// +k8s:defaulter-gen=TypeMeta
package v1alpha1
19 changes: 0 additions & 19 deletions apis/config/v1alpha1/dynamiccredentialprovideconfig_defaults.go

This file was deleted.

7 changes: 2 additions & 5 deletions apis/config/v1alpha1/dynamiccredentialprovideconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
package v1alpha1

//go:generate controller-gen object paths=.
//go:generate bash -ec "cd ../../.. && defaulter-gen -h hack/boilerplate.go.txt -i ./apis/config/v1alpha1 -o ../../../"

import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down Expand Up @@ -39,6 +38,7 @@ type DynamicCredentialProviderConfig struct {

// MirrorCredentialsStrategy specifies how to handle mirror registry credentials.
// +kubebuilder:validation:Enum=MirrorCredentialsOnly;MirrorCredentialsFirst;MirrorCredentialsLast
// +kubebuilder:validation:Default=MirrorCredentialsOnly
type MirrorCredentialsStrategy string

//nolint:gosec // No credentials here.
Expand All @@ -63,8 +63,5 @@ type MirrorConfig struct {
// with host specified. The scheme, host and path from the endpoint URL will be used.
Endpoint string `json:"endpoint"`
// CredentialStrategy specifies what strategy to employ when returning registry credentials.
// Defaults to `MirrorCredentialsOnly`.
// +optional
//nolint:tagliatelle // Prevents stuttering.
MirrorCredentialsStrategy MirrorCredentialsStrategy `json:"credentialsStrategy"`
CredentialsStrategy MirrorCredentialsStrategy `json:"credentialsStrategy"`
}
53 changes: 0 additions & 53 deletions apis/config/v1alpha1/dynamiccredentialprovideconfig_validation.go

This file was deleted.

2 changes: 1 addition & 1 deletion apis/config/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 0 additions & 28 deletions apis/config/v1alpha1/zz_generated.defaults.go

This file was deleted.

4 changes: 2 additions & 2 deletions devbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
"gnused@latest",
"go@latest",
"gojq@latest",
"golangci-lint@latest",
"path:./hack/flakes#golangci-lint",
"golines@latest",
"google-cloud-sdk@latest",
"goreleaser@latest",
"gotestsum@latest",
"path:./hack/flakes#govulncheck",
"hadolint@latest",
"helm-docs@latest",
"kubebuilder@latest",
"kubectl@latest",
"kubernetes-code-generator@latest",
"kubernetes-controller-tools@latest",
"kubernetes-helm@latest",
"pre-commit@latest",
Expand Down
Loading
Loading