Skip to content

Commit

Permalink
Merge pull request kubernetes#30226 from leoluz/leoluz/blog/fix-ssa-c…
Browse files Browse the repository at this point in the history
…odesnip

Fix server-side-apply code snippet in blog post
  • Loading branch information
k8s-ci-robot authored Nov 13, 2021
2 parents d2f227d + 5dfe3bf commit 6ff0695
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 6ff0695

Please sign in to comment.