File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -637,7 +637,7 @@ the last value the controller acted on, as reported in
637637Using `kubectl` :
638638
639639` ` ` sh
640- kubectl annotate --overwrite bucket/<bucket-name> reconcile.fluxcd.io/requestedAt="$(date +%s)"
640+ kubectl annotate --field-manager=flux-client-side-apply -- overwrite bucket/<bucket-name> reconcile.fluxcd.io/requestedAt="$(date +%s)"
641641` ` `
642642
643643Using `flux` :
@@ -678,7 +678,7 @@ spec:
678678Using `kubectl` :
679679
680680` ` ` sh
681- kubectl patch bucket <bucket-name> -p '{\" spec\" : {\" suspend\" : true }}'
681+ kubectl patch bucket <bucket-name> --field-manager=flux-client-side-apply - p '{\" spec\" : {\" suspend\" : true }}'
682682` ` `
683683
684684Using `flux` :
@@ -714,7 +714,7 @@ state in Git.
714714Using `kubectl` :
715715
716716` ` ` sh
717- kubectl patch bucket <bucket-name> -p '{\" spec\" : {\" suspend\" : false }}'
717+ kubectl patch bucket <bucket-name> --field-manager=flux-client-side-apply - p '{\" spec\" : {\" suspend\" : false }}'
718718` ` `
719719
720720Using `flux` :
Original file line number Diff line number Diff line change @@ -492,7 +492,7 @@ from the last value the controller acted on, as reported in
492492Using `kubectl` :
493493
494494` ` ` sh
495- kubectl annotate --overwrite gitrepository/<repository-name> reconcile.fluxcd.io/requestedAt="$(date +%s)"
495+ kubectl annotate --field-manager=flux-client-side-apply -- overwrite gitrepository/<repository-name> reconcile.fluxcd.io/requestedAt="$(date +%s)"
496496` ` `
497497
498498Using `flux` :
@@ -533,7 +533,7 @@ spec:
533533Using `kubectl` :
534534
535535` ` ` sh
536- kubectl patch gitrepository <repository-name> -p '{\" spec\" : {\" suspend\" : true }}'
536+ kubectl patch gitrepository <repository-name> --field-manager=flux-client-side-apply - p '{\" spec\" : {\" suspend\" : true }}'
537537` ` `
538538
539539Using `flux` :
@@ -569,7 +569,7 @@ state in Git.
569569Using `kubectl` :
570570
571571` ` ` sh
572- kubectl patch gitrepository <repository-name> -p '{\" spec\" : {\" suspend\" : false }}'
572+ kubectl patch gitrepository <repository-name> --field-manager=flux-client-side-apply - p '{\" spec\" : {\" suspend\" : false }}'
573573` ` `
574574
575575Using `flux` :
Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ the last value the controller acted on, as reported in
248248Using `kubectl` :
249249
250250` ` ` sh
251- kubectl annotate --overwrite helmchart/<chart-name> reconcile.fluxcd.io/requestedAt="$(date +%s)"
251+ kubectl annotate --field-manager=flux-client-side-apply -- overwrite helmchart/<chart-name> reconcile.fluxcd.io/requestedAt="$(date +%s)"
252252` ` `
253253
254254# ## Waiting for `Ready`
@@ -283,7 +283,7 @@ spec:
283283Using `kubectl` :
284284
285285` ` ` sh
286- kubectl patch helmchart <chart-name> -p '{\" spec\" : {\" suspend\" : true }}'
286+ kubectl patch helmchart <chart-name> --field-manager=flux-client-side-apply - p '{\" spec\" : {\" suspend\" : true }}'
287287` ` `
288288
289289**Note:** When a HelmChart has an Artifact and is suspended, and this
@@ -313,7 +313,7 @@ state in Git.
313313Using `kubectl` :
314314
315315` ` ` sh
316- kubectl patch helmchart <chart-name> -p '{\" spec\" : {\" suspend\" : false }}'
316+ kubectl patch helmchart <chart-name> --field-manager=flux-client-side-apply - p '{\" spec\" : {\" suspend\" : false }}'
317317` ` `
318318
319319# ## Debugging a HelmChart
Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ the last value the controller acted on, as reported in
218218Using `kubectl` :
219219
220220` ` ` sh
221- kubectl annotate --overwrite helmrepository/<repository-name> reconcile.fluxcd.io/requestedAt="$(date +%s)"
221+ kubectl annotate --field-manager=flux-client-side-apply -- overwrite helmrepository/<repository-name> reconcile.fluxcd.io/requestedAt="$(date +%s)"
222222` ` `
223223
224224Using `flux` :
@@ -259,7 +259,7 @@ spec:
259259Using `kubectl` :
260260
261261` ` ` sh
262- kubectl patch helmrepository <repository-name> -p '{\" spec\" : {\" suspend\" : true }}'
262+ kubectl patch helmrepository <repository-name> --field-manager=flux-client-side-apply - p '{\" spec\" : {\" suspend\" : true }}'
263263` ` `
264264
265265Using `flux` :
@@ -295,7 +295,7 @@ state in Git.
295295Using `kubectl` :
296296
297297` ` ` sh
298- kubectl patch helmrepository <repository-name> -p '{\" spec\" : {\" suspend\" : false }}'
298+ kubectl patch helmrepository <repository-name> --field-manager=flux-client-side-apply - p '{\" spec\" : {\" suspend\" : false }}'
299299` ` `
300300
301301Using `flux` :
You can’t perform that action at this time.
0 commit comments