Skip to content

Commit

Permalink
update k8s dep
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwin93 committed Dec 5, 2024
1 parent 8175c87 commit 44de9a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ require (
k8s.io/api v0.31.3
k8s.io/apiextensions-apiserver v0.31.2
k8s.io/apimachinery v0.31.3
k8s.io/client-go v0.31.3
k8s.io/client-go v1.5.2
k8s.io/klog/v2 v2.130.1
sigs.k8s.io/controller-runtime v0.19.3
sigs.k8s.io/yaml v1.4.0
)
Expand Down Expand Up @@ -295,7 +296,6 @@ require (
k8s.io/cli-runtime v0.31.3 // indirect
k8s.io/component-base v0.31.3 // indirect
k8s.io/component-helpers v0.31.3 // indirect
k8s.io/klog/v2 v2.130.1 // indirect
k8s.io/kube-aggregator v0.31.2 // indirect
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
k8s.io/kubectl v0.31.2 // indirect
Expand Down
3 changes: 2 additions & 1 deletion pkg/checks/diff/diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ func generateDiff(ctx context.Context, request checks.Request, argoSettings *set
if err != nil {
return diff.DiffResult{}, err
}
dryRunner := diff.NewK8sServerSideDryRunner(resources)
dryRunner := diff.NewK8sServerSideDryRunner(resources).With

diffConfig, err := argodiff.NewDiffConfigBuilder().
WithLogger(zerologr.New(&log.Logger)).
Expand All @@ -229,6 +229,7 @@ func generateDiff(ctx context.Context, request checks.Request, argoSettings *set
WithIgnoreMutationWebhook(false).
WithServerSideDiff(true).
WithServerSideDryRunner(dryRunner).
WithManager("application/apply-patch").
Build()
if err != nil {
telemetry.SetError(span, err, "Build Diff")
Expand Down

0 comments on commit 44de9a5

Please sign in to comment.