diff --git a/docs/gitbook/install/install-istio.md b/docs/gitbook/install/install-istio.md index 35fa2195..30a7ac2a 100644 --- a/docs/gitbook/install/install-istio.md +++ b/docs/gitbook/install/install-istio.md @@ -338,7 +338,7 @@ Create a letsencrypt issuer for CloudDNS \(replace `email@example.com` with a va `my-gcp-project`with your project ID\): ```yaml -apiVersion: v1alpha2 +apiVersion: certmanager.k8s.io/v1alpha1 kind: Issuer metadata: name: letsencrypt-prod @@ -368,7 +368,7 @@ kubectl apply -f ./letsencrypt-issuer.yaml Create a wildcard certificate \(replace `example.com` with your domain\): ```yaml -apiVersion: v1alpha2 +apiVersion: certmanager.k8s.io/v1alpha1 kind: Certificate metadata: name: istio-gateway diff --git a/pkg/controller/deployer.go b/pkg/controller/deployer.go index d034acaf..adaddd5d 100644 --- a/pkg/controller/deployer.go +++ b/pkg/controller/deployer.go @@ -192,7 +192,7 @@ func (c *CanaryDeployer) SyncStatus(cd *flaggerv1.Canary, status flaggerv1.Canar cd.Status.FailedChecks = status.FailedChecks cd.Status.CanaryRevision = specEnc cd.Status.LastTransitionTime = metav1.Now() - cd, err = c.flaggerClient.FlaggerV1alpha3().Canaries(cd.Namespace).Update(cd) + _, err = c.flaggerClient.FlaggerV1alpha3().Canaries(cd.Namespace).Update(cd) if err != nil { return fmt.Errorf("deployment %s.%s update error %v", cd.Spec.TargetRef.Name, cd.Namespace, err) }