Skip to content

Commit

Permalink
Fix server-side-apply code snippet in blog post
Browse files Browse the repository at this point in the history
  • Loading branch information
leoluz committed Oct 25, 2021
1 parent d6fad21 commit 5dfe3bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/blog/_posts/2021-08-06-server-side-apply-ga.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5dfe3bf

Please sign in to comment.