diff --git a/examples/security/ssl_requests/README.ipynb b/examples/security/ssl_requests/README.ipynb index 83e04f2b33..4fc0e6e6c7 100644 --- a/examples/security/ssl_requests/README.ipynb +++ b/examples/security/ssl_requests/README.ipynb @@ -69,7 +69,7 @@ "helm install \\\n", " cert-manager jetstack/cert-manager \\\n", " --namespace cert-manager \\\n", - " --version v0.16.1 \\\n", + " --version v1.6.1 \\\n", " --set installCRDs=true" ] }, @@ -96,7 +96,7 @@ "source": [ "%%bash\n", "kubectl apply -f - << END\n", - "apiVersion: cert-manager.io/v1alpha2\n", + "apiVersion: cert-manager.io/v1\n", "kind: Issuer\n", "metadata:\n", " name: selfsigned-issuer\n", @@ -147,7 +147,7 @@ "source": [ "%%bash \n", "kubectl apply -f - << END\n", - "apiVersion: cert-manager.io/v1alpha3\n", + "apiVersion: cert-manager.io/v1\n", "kind: Certificate\n", "metadata:\n", " name: sklearn-default-cert\n", diff --git a/examples/security/ssl_requests/README.md b/examples/security/ssl_requests/README.md index ac1fc38cbc..4c14898d50 100644 --- a/examples/security/ssl_requests/README.md +++ b/examples/security/ssl_requests/README.md @@ -12,7 +12,7 @@ kubectl create ns cert-manager helm install \ cert-manager jetstack/cert-manager \ --namespace cert-manager \ - --version v0.16.1 \ + --version v1.6.1 \ --set installCRDs=true ``` @@ -53,14 +53,13 @@ helm install \ Error from server (AlreadyExists): namespaces "cert-manager" already exists - #### Creating issuer so we can deploy certificates ```bash %%bash kubectl apply -f - << END -apiVersion: cert-manager.io/v1alpha2 +apiVersion: cert-manager.io/v1 kind: Issuer metadata: name: selfsigned-issuer @@ -88,7 +87,7 @@ END ```bash %%bash kubectl apply -f - << END -apiVersion: cert-manager.io/v1alpha3 +apiVersion: cert-manager.io/v1 kind: Certificate metadata: name: sklearn-default-cert diff --git a/helm-charts/seldon-core-operator/templates/certificate_seldon-serving-cert.yaml b/helm-charts/seldon-core-operator/templates/certificate_seldon-serving-cert.yaml index f7202d0314..bee4ca8aee 100644 --- a/helm-charts/seldon-core-operator/templates/certificate_seldon-serving-cert.yaml +++ b/helm-charts/seldon-core-operator/templates/certificate_seldon-serving-cert.yaml @@ -1,5 +1,5 @@ {{- if .Values.certManager.enabled -}} -apiVersion: cert-manager.io/v1alpha2 +apiVersion: cert-manager.io/v1 kind: Certificate metadata: labels: diff --git a/helm-charts/seldon-core-operator/templates/issuer_seldon-selfsigned-issuer.yaml b/helm-charts/seldon-core-operator/templates/issuer_seldon-selfsigned-issuer.yaml index 4fcbe9a201..b9ebb012a7 100644 --- a/helm-charts/seldon-core-operator/templates/issuer_seldon-selfsigned-issuer.yaml +++ b/helm-charts/seldon-core-operator/templates/issuer_seldon-selfsigned-issuer.yaml @@ -1,5 +1,5 @@ {{- if .Values.certManager.enabled -}} -apiVersion: cert-manager.io/v1alpha2 +apiVersion: cert-manager.io/v1 kind: Issuer metadata: labels: diff --git a/operator/Makefile b/operator/Makefile index 7bf15de40c..7588c3a0a3 100644 --- a/operator/Makefile +++ b/operator/Makefile @@ -46,7 +46,7 @@ run: generate fmt vet manifests_all install-cert-manager: kubectl create namespace cert-manager || echo "Namespace cert-manager-exists" kubectl label namespace cert-manager cert-manager.io/disable-validation=true || echo "namespace cert-manager-already labelled" - kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/releases/download/v0.12.0/cert-manager.yaml + kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/releases/download/v1.6.1/cert-manager.yaml kubectl rollout status deployment.apps/cert-manager -n cert-manager kubectl rollout status deployment.apps/cert-manager-cainjector -n cert-manager kubectl rollout status deployment.apps/cert-manager-webhook -n cert-manager diff --git a/operator/config/certmanager/certificate.yaml b/operator/config/certmanager/certificate.yaml index 4951798eb6..a8daaacb77 100644 --- a/operator/config/certmanager/certificate.yaml +++ b/operator/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/v1alpha2 +apiVersion: cert-manager.io/v1 kind: Issuer metadata: name: selfsigned-issuer @@ -8,7 +8,7 @@ metadata: spec: selfSigned: {} --- -apiVersion: cert-manager.io/v1alpha2 +apiVersion: cert-manager.io/v1 kind: Certificate metadata: name: serving-cert # this name should match the one appeared in kustomizeconfig.yaml diff --git a/operator/config/default/kustomization.yaml b/operator/config/default/kustomization.yaml index f5a2faac8f..caadc75459 100644 --- a/operator/config/default/kustomization.yaml +++ b/operator/config/default/kustomization.yaml @@ -52,7 +52,7 @@ vars: objref: kind: Certificate group: cert-manager.io - version: v1alpha2 + version: v1 name: serving-cert # this name should match the one in certificate.yaml fieldref: fieldpath: metadata.namespace @@ -60,7 +60,7 @@ vars: objref: kind: Certificate group: cert-manager.io - version: v1alpha2 + version: v1 name: serving-cert # this name should match the one in certificate.yaml - name: SERVICE_NAMESPACE # namespace of the service objref: