Skip to content

Commit

Permalink
added validateExistsYTsaurus function for validation webhook (ytsauru…
Browse files Browse the repository at this point in the history
…s#305)

* added validateExistsYTsaurus function for validation webhook

* fix linter

* fixed validateExistsYTsaurus function

* Added WithValidator for the Webhook with custome Validator that have registred client

* Added WithValidator for the Webhook with custome Validator that have registred client #2

* Solved the problem

* Solved the problem #2

* Removed unused comments

* improved logic of validateExistsYtsaurus and removed redundant Scheme pointer

* fixed conflict resolving

* fixed conflict resolving #2
  • Loading branch information
qurname2 authored Aug 5, 2024
1 parent 7ec82a6 commit 17369f6
Show file tree
Hide file tree
Showing 4 changed files with 156 additions and 107 deletions.
3 changes: 1 addition & 2 deletions api/v1/ytsaurus_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ package v1

import (
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

"k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

// EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN!
Expand Down
Loading

0 comments on commit 17369f6

Please sign in to comment.