From 42195241c9306d3d8042b087ac46670ca9681a77 Mon Sep 17 00:00:00 2001 From: David Chevallier Date: Thu, 4 Jul 2024 16:46:08 +0200 Subject: [PATCH 1/2] fix multiple declaration of regex.match --- cert-manager/v1/acme_cert_manager_io_v1_challenge.k | 1 - cert-manager/v1/cert_manager_io_v1_cluster_issuer.k | 2 -- cert-manager/v1/cert_manager_io_v1_issuer.k | 2 -- 3 files changed, 5 deletions(-) diff --git a/cert-manager/v1/acme_cert_manager_io_v1_challenge.k b/cert-manager/v1/acme_cert_manager_io_v1_challenge.k index 07892d13..2ca15954 100644 --- a/cert-manager/v1/acme_cert_manager_io_v1_challenge.k +++ b/cert-manager/v1/acme_cert_manager_io_v1_challenge.k @@ -6,7 +6,6 @@ import regex import k8s.apimachinery.pkg.apis.meta.v1 regex_match = regex.match - schema Challenge: """ Challenge is a type to represent a Challenge request with an ACME server diff --git a/cert-manager/v1/cert_manager_io_v1_cluster_issuer.k b/cert-manager/v1/cert_manager_io_v1_cluster_issuer.k index 29d6bad4..0ec09b05 100644 --- a/cert-manager/v1/cert_manager_io_v1_cluster_issuer.k +++ b/cert-manager/v1/cert_manager_io_v1_cluster_issuer.k @@ -4,8 +4,6 @@ Editing this file might prove futile when you re-run the KCL auto-gen generate c """ import regex import k8s.apimachinery.pkg.apis.meta.v1 -regex_match = regex.match - schema ClusterIssuer: """ diff --git a/cert-manager/v1/cert_manager_io_v1_issuer.k b/cert-manager/v1/cert_manager_io_v1_issuer.k index e2d3d27b..fef5b321 100644 --- a/cert-manager/v1/cert_manager_io_v1_issuer.k +++ b/cert-manager/v1/cert_manager_io_v1_issuer.k @@ -4,8 +4,6 @@ Editing this file might prove futile when you re-run the KCL auto-gen generate c """ import regex import k8s.apimachinery.pkg.apis.meta.v1 -regex_match = regex.match - schema Issuer: """ From 00ce5254909e90362d063a152f7b148c2daaef4a Mon Sep 17 00:00:00 2001 From: David Chevallier Date: Thu, 4 Jul 2024 16:48:04 +0200 Subject: [PATCH 2/2] fix multiple declaration of regex.match and new version --- cert-manager/kcl.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cert-manager/kcl.mod b/cert-manager/kcl.mod index b6b8a3ec..eaa8ffcc 100644 --- a/cert-manager/kcl.mod +++ b/cert-manager/kcl.mod @@ -1,6 +1,6 @@ [package] name = "cert-manager" -version = "0.1.1" +version = "0.1.2" description = "`cert-manager` module contains definitions for cert-manager" [dependencies]