Skip to content

Commit

Permalink
build(deps): Bump the all-go-mod-patch-and-minor group across 1 direc…
Browse files Browse the repository at this point in the history
…tory with 12 updates (#377)

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

Bumps the all-go-mod-patch-and-minor group with 8 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [github.com/docker/docker](https://github.com/docker/docker) | `27.4.1+incompatible` | `27.5.1+incompatible` |
| [github.com/spf13/cobra](https://github.com/spf13/cobra) | `1.8.1` | `1.9.1` |
| [go.etcd.io/etcd/client/pkg/v3](https://github.com/etcd-io/etcd) | `3.5.17` | `3.5.18` |
| [golang.org/x/sync](https://github.com/golang/sync) | `0.10.0` | `0.11.0` |
| [helm.sh/helm/v3](https://github.com/helm/helm) | `3.16.4` | `3.17.1` |
| [k8s.io/kubelet](https://github.com/kubernetes/kubelet) | `0.30.8` | `0.30.10` |
| [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) | `0.19.3` | `0.20.2` |
| [sigs.k8s.io/kind](https://github.com/kubernetes-sigs/kind) | `0.26.0` | `0.27.0` |



Updates `github.com/docker/docker` from 27.4.1+incompatible to 27.5.1+incompatible
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](moby/moby@v27.4.1...v27.5.1)

Updates `github.com/spf13/cobra` from 1.8.1 to 1.9.1
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](spf13/cobra@v1.8.1...v1.9.1)

Updates `go.etcd.io/etcd/client/pkg/v3` from 3.5.17 to 3.5.18
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Commits](etcd-io/etcd@v3.5.17...v3.5.18)

Updates `golang.org/x/sync` from 0.10.0 to 0.11.0
- [Commits](golang/sync@v0.10.0...v0.11.0)

Updates `helm.sh/helm/v3` from 3.16.4 to 3.17.1
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](helm/helm@v3.16.4...v3.17.1)

Updates `k8s.io/api` from 0.31.4 to 0.32.1
- [Commits](kubernetes/api@v0.31.4...v0.32.1)

Updates `k8s.io/apimachinery` from 0.31.4 to 0.32.1
- [Commits](kubernetes/apimachinery@v0.31.4...v0.32.1)

Updates `k8s.io/client-go` from 0.31.4 to 0.32.1
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](kubernetes/client-go@v0.31.4...v0.32.1)

Updates `k8s.io/kubelet` from 0.30.8 to 0.30.10
- [Commits](kubernetes/kubelet@v0.30.8...v0.30.10)

Updates `k8s.io/utils` from 0.0.0-20240711033017-18e509b52bc8 to 0.0.0-20241104100929-3ea5e8cea738
- [Commits](https://github.com/kubernetes/utils/commits)

Updates `sigs.k8s.io/controller-runtime` from 0.19.3 to 0.20.2
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md)
- [Commits](kubernetes-sigs/controller-runtime@v0.19.3...v0.20.2)

Updates `sigs.k8s.io/kind` from 0.26.0 to 0.27.0
- [Release notes](https://github.com/kubernetes-sigs/kind/releases)
- [Commits](kubernetes-sigs/kind@v0.26.0...v0.27.0)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-mod-patch-and-minor
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-mod-patch-and-minor
- dependency-name: go.etcd.io/etcd/client/pkg/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-go-mod-patch-and-minor
- dependency-name: golang.org/x/sync
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-mod-patch-and-minor
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-mod-patch-and-minor
- dependency-name: k8s.io/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-mod-patch-and-minor
- dependency-name: k8s.io/apimachinery
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-mod-patch-and-minor
- dependency-name: k8s.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-mod-patch-and-minor
- dependency-name: k8s.io/kubelet
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-go-mod-patch-and-minor
- dependency-name: k8s.io/utils
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-go-mod-patch-and-minor
- dependency-name: sigs.k8s.io/controller-runtime
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-mod-patch-and-minor
- dependency-name: sigs.k8s.io/kind
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-mod-patch-and-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* fixup! build: Use new style webhooks

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jimmi Dyson <[email protected]>
  • Loading branch information
dependabot[bot] and jimmidyson authored Feb 17, 2025
1 parent 4f85497 commit 2e4db32
Show file tree
Hide file tree
Showing 21 changed files with 759 additions and 816 deletions.
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

0 comments on commit 2e4db32

Please sign in to comment.