From c14563ea75377ca9e4cd41bacee1331678004c43 Mon Sep 17 00:00:00 2001 From: fabriziopandini Date: Tue, 30 Mar 2021 20:49:50 +0200 Subject: [PATCH] make manifest to use cert-manager.io/v1alpha2 --- bootstrap/kubeadm/config/certmanager/certificate.yaml | 4 ++-- bootstrap/kubeadm/config/webhook/kustomization.yaml | 4 ++-- config/certmanager/certificate.yaml | 4 ++-- config/webhook/kustomization.yaml | 4 ++-- controlplane/kubeadm/config/certmanager/certificate.yaml | 4 ++-- controlplane/kubeadm/config/webhook/kustomization.yaml | 4 ++-- .../infrastructure/docker/config/certmanager/certificate.yaml | 4 ++-- test/infrastructure/docker/config/webhook/kustomization.yaml | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/bootstrap/kubeadm/config/certmanager/certificate.yaml b/bootstrap/kubeadm/config/certmanager/certificate.yaml index 1bcfdedf2c6b..7decb1a4b273 100644 --- a/bootstrap/kubeadm/config/certmanager/certificate.yaml +++ b/bootstrap/kubeadm/config/certmanager/certificate.yaml @@ -1,7 +1,7 @@ # The following manifests contain a self-signed issuer CR and a certificate CR. # More document can be found at https://docs.cert-manager.io # WARNING: Targets CertManager 0.11 check https://docs.cert-manager.io/en/latest/tasks/upgrading/index.html for breaking changes -apiVersion: cert-manager.io/v1 +apiVersion: cert-manager.io/v1alpha2 kind: Issuer metadata: name: selfsigned-issuer @@ -9,7 +9,7 @@ metadata: spec: selfSigned: {} --- -apiVersion: cert-manager.io/v1 +apiVersion: cert-manager.io/v1alpha2 kind: Certificate metadata: name: serving-cert # this name should match the one appeared in kustomizeconfig.yaml diff --git a/bootstrap/kubeadm/config/webhook/kustomization.yaml b/bootstrap/kubeadm/config/webhook/kustomization.yaml index 45a8427b71ee..23314b7710e3 100644 --- a/bootstrap/kubeadm/config/webhook/kustomization.yaml +++ b/bootstrap/kubeadm/config/webhook/kustomization.yaml @@ -19,7 +19,7 @@ vars: objref: kind: Certificate group: cert-manager.io - version: v1 + version: v1alpha2 name: serving-cert # this name should match the one in certificate.yaml fieldref: fieldpath: metadata.namespace @@ -27,7 +27,7 @@ vars: objref: kind: Certificate group: cert-manager.io - version: v1 + version: v1alpha2 name: serving-cert # this name should match the one in certificate.yaml - name: SERVICE_NAMESPACE # namespace of the service objref: diff --git a/config/certmanager/certificate.yaml b/config/certmanager/certificate.yaml index abf6713a78cf..af4e13ffe5f4 100644 --- a/config/certmanager/certificate.yaml +++ b/config/certmanager/certificate.yaml @@ -1,6 +1,6 @@ # The following manifests contain a self-signed issuer CR and a certificate CR. # More document can be found at https://docs.cert-manager.io -apiVersion: cert-manager.io/v1 +apiVersion: cert-manager.io/v1alpha2 kind: Issuer metadata: name: selfsigned-issuer @@ -8,7 +8,7 @@ metadata: spec: selfSigned: {} --- -apiVersion: cert-manager.io/v1 +apiVersion: cert-manager.io/v1alpha2 kind: Certificate metadata: name: serving-cert # this name should match the one appeared in kustomizeconfig.yaml diff --git a/config/webhook/kustomization.yaml b/config/webhook/kustomization.yaml index 72b4a62b90c7..64f3d36b893f 100644 --- a/config/webhook/kustomization.yaml +++ b/config/webhook/kustomization.yaml @@ -19,7 +19,7 @@ vars: objref: kind: Certificate group: cert-manager.io - version: v1 + version: v1alpha2 name: serving-cert # this name should match the one in certificate.yaml fieldref: fieldpath: metadata.namespace @@ -27,7 +27,7 @@ vars: objref: kind: Certificate group: cert-manager.io - version: v1 + version: v1alpha2 name: serving-cert # this name should match the one in certificate.yaml - name: SERVICE_NAMESPACE # namespace of the service objref: diff --git a/controlplane/kubeadm/config/certmanager/certificate.yaml b/controlplane/kubeadm/config/certmanager/certificate.yaml index 1bcfdedf2c6b..7decb1a4b273 100644 --- a/controlplane/kubeadm/config/certmanager/certificate.yaml +++ b/controlplane/kubeadm/config/certmanager/certificate.yaml @@ -1,7 +1,7 @@ # The following manifests contain a self-signed issuer CR and a certificate CR. # More document can be found at https://docs.cert-manager.io # WARNING: Targets CertManager 0.11 check https://docs.cert-manager.io/en/latest/tasks/upgrading/index.html for breaking changes -apiVersion: cert-manager.io/v1 +apiVersion: cert-manager.io/v1alpha2 kind: Issuer metadata: name: selfsigned-issuer @@ -9,7 +9,7 @@ metadata: spec: selfSigned: {} --- -apiVersion: cert-manager.io/v1 +apiVersion: cert-manager.io/v1alpha2 kind: Certificate metadata: name: serving-cert # this name should match the one appeared in kustomizeconfig.yaml diff --git a/controlplane/kubeadm/config/webhook/kustomization.yaml b/controlplane/kubeadm/config/webhook/kustomization.yaml index 45a8427b71ee..23314b7710e3 100644 --- a/controlplane/kubeadm/config/webhook/kustomization.yaml +++ b/controlplane/kubeadm/config/webhook/kustomization.yaml @@ -19,7 +19,7 @@ vars: objref: kind: Certificate group: cert-manager.io - version: v1 + version: v1alpha2 name: serving-cert # this name should match the one in certificate.yaml fieldref: fieldpath: metadata.namespace @@ -27,7 +27,7 @@ vars: objref: kind: Certificate group: cert-manager.io - version: v1 + version: v1alpha2 name: serving-cert # this name should match the one in certificate.yaml - name: SERVICE_NAMESPACE # namespace of the service objref: diff --git a/test/infrastructure/docker/config/certmanager/certificate.yaml b/test/infrastructure/docker/config/certmanager/certificate.yaml index 4079986e8912..cc53cbd948b3 100644 --- a/test/infrastructure/docker/config/certmanager/certificate.yaml +++ b/test/infrastructure/docker/config/certmanager/certificate.yaml @@ -1,6 +1,6 @@ # The following manifests contain a self-signed issuer CR and a certificate CR. # More document can be found at https://docs.cert-manager.io -apiVersion: cert-manager.io/v1 +apiVersion: cert-manager.io/v1alpha2 kind: Issuer metadata: name: selfsigned-issuer @@ -8,7 +8,7 @@ metadata: spec: selfSigned: {} --- -apiVersion: cert-manager.io/v1 +apiVersion: cert-manager.io/v1alpha2 kind: Certificate metadata: name: serving-cert # this name should match the one appeared in kustomizeconfig.yaml diff --git a/test/infrastructure/docker/config/webhook/kustomization.yaml b/test/infrastructure/docker/config/webhook/kustomization.yaml index 6ccf11c04ed2..ec4e284261ed 100644 --- a/test/infrastructure/docker/config/webhook/kustomization.yaml +++ b/test/infrastructure/docker/config/webhook/kustomization.yaml @@ -33,7 +33,7 @@ vars: objref: kind: Certificate group: cert-manager.io - version: v1 + version: v1alpha2 name: serving-cert # this name should match the one in certificate.yaml fieldref: fieldpath: metadata.namespace @@ -41,5 +41,5 @@ vars: objref: kind: Certificate group: cert-manager.io - version: v1 + version: v1alpha2 name: serving-cert # this name should match the one in certificate.yaml