Skip to content

Commit

Permalink
Bump k8s libs to 1.30.x
Browse files Browse the repository at this point in the history
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
  • Loading branch information
pavolloffay committed Aug 9, 2024
1 parent fcba408 commit c910587
Show file tree
Hide file tree
Showing 6 changed files with 3,079 additions and 12 deletions.
939 changes: 939 additions & 0 deletions bundle/manifests/jaegertracing.io_jaegers.yaml

Large diffs are not rendered by default.

939 changes: 939 additions & 0 deletions config/crd/bases/jaegertracing.io_jaegers.yaml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions controllers/appsv1/deployment_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
var _ webhook.AdmissionHandler = (*deploymentInterceptor)(nil)

// NewDeploymentInterceptorWebhook creates a new deployment mutating webhook to be registered
func NewDeploymentInterceptorWebhook(c client.Client, decoder *admission.Decoder) webhook.AdmissionHandler {
func NewDeploymentInterceptorWebhook(c client.Client, decoder admission.Decoder) webhook.AdmissionHandler {
return &deploymentInterceptor{
client: c,
decoder: decoder,
Expand All @@ -46,7 +46,7 @@ func NewDeploymentInterceptorWebhook(c client.Client, decoder *admission.Decoder
// deploymentInterceptor label pods if Sidecar is specified in deployment
type deploymentInterceptor struct {
client client.Client
decoder *admission.Decoder
decoder admission.Decoder
}

func (d *deploymentInterceptor) shouldHandleDeployment(req admission.Request) bool {
Expand Down Expand Up @@ -174,7 +174,7 @@ func (d *deploymentInterceptor) Handle(ctx context.Context, req admission.Reques
// A decoder will be automatically injected.

// InjectDecoder injects the decoder.
func (d *deploymentInterceptor) InjectDecoder(decoder *admission.Decoder) error {
func (d *deploymentInterceptor) InjectDecoder(decoder admission.Decoder) error {

Check warning on line 177 in controllers/appsv1/deployment_webhook.go

View check run for this annotation

Codecov / codecov/patch

controllers/appsv1/deployment_webhook.go#L177

Added line #L177 was not covered by tests
d.decoder = decoder
return nil
}
Expand Down
Loading

0 comments on commit c910587

Please sign in to comment.