Skip to content

Commit cac4a6c

Browse files
authored
Merge pull request #179 from atoato88/update-walkthrough
Update walkthrough docs to fit latest code
2 parents 497ee89 + d7803eb commit cac4a6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/addon/walkthrough/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ func (r *GuestbookReconciler) setupReconciler(mgr ctrl.Manager) error {
147147
declarative.WithOwner(declarative.SourceAsOwner),
148148
declarative.WithLabels(r.watchLabels),
149149
declarative.WithStatus(status.NewBasic(mgr.GetClient())),
150-
declarative.WithPreserveNamespace(),
151150
declarative.WithApplyPrune(),
152151
declarative.WithReconcileMetrics(0, nil),
153152
)
@@ -234,6 +233,8 @@ kubectl get crds guestbooks.addons.example.org
234233

235234
2) Create a guestbook CR:
236235

236+
Remove `spec.foo` key in `config/samples/addons_v1alpha1_guestbook.yaml` if exists.
237+
237238
```bash
238239
kubectl apply -n kube-system -f config/samples/addons_v1alpha1_guestbook.yaml
239240
```

0 commit comments

Comments
 (0)