diff options
| author | roytev <roytev@gmail.com> | 2022-02-08 10:08:15 +0200 |
|---|---|---|
| committer | roytev <roytev@gmail.com> | 2022-02-08 10:24:16 +0200 |
| commit | e4ab1da9420608d68d4cc479cdf0ed232aff4fb1 (patch) | |
| tree | 46d8c5a2549fc337d8051176e2762cc77f93e3a0 /main.go | |
| parent | 9440683e53e15c70f7161a0f0c09000d8515b96f (diff) | |
| download | cert-manager-webhook-hostinger-e4ab1da9420608d68d4cc479cdf0ed232aff4fb1.tar.gz cert-manager-webhook-hostinger-e4ab1da9420608d68d4cc479cdf0ed232aff4fb1.zip | |
update version and fix
Signed-off-by: Roi Teveth <roytev@gmail.com>
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,9 +3,9 @@ package main import ( "encoding/json" "fmt" + "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" "os" - extapi "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1" //"k8s.io/client-go/kubernetes" "k8s.io/client-go/rest" @@ -133,7 +133,7 @@ func (c *customDNSProviderSolver) Initialize(kubeClientConfig *rest.Config, stop // loadConfig is a small helper function that decodes JSON configuration into // the typed config struct. -func loadConfig(cfgJSON *extapi.JSON) (customDNSProviderConfig, error) { +func loadConfig(cfgJSON *v1.JSON) (customDNSProviderConfig, error) { cfg := customDNSProviderConfig{} // handle the 'base case' where no configuration has been provided if cfgJSON == nil { |
