From 5dfe3bf1db4bfaf1d06c6cdecf21d23dcb1776e8 Mon Sep 17 00:00:00 2001 From: Leonardo Luz Almeida Date: Mon, 25 Oct 2021 15:26:28 -0400 Subject: [PATCH] Fix server-side-apply code snippet in blog post --- content/en/blog/_posts/2021-08-06-server-side-apply-ga.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/blog/_posts/2021-08-06-server-side-apply-ga.md b/content/en/blog/_posts/2021-08-06-server-side-apply-ga.md index eca57a561e170..01403715cce98 100644 --- a/content/en/blog/_posts/2021-08-06-server-side-apply-ga.md +++ b/content/en/blog/_posts/2021-08-06-server-side-apply-ga.md @@ -121,7 +121,7 @@ deploymentApplyConfig.Spec.Template.Spec.WithContainers(corev1ac.Container(). ) // apply -applied, err := deploymentClient.Apply(ctx, extractedDeployment, metav1.ApplyOptions{FieldManager: fieldMgr}) +applied, err := deploymentClient.Apply(ctx, deploymentApplyConfig, metav1.ApplyOptions{FieldManager: fieldMgr}) ``` For developers using Custom Resource Definitions (CRDs), the Kubebuilder apply support will provide the same capabilities. Documentation will be included in the Kubebuilder book when available.