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
637
637
Using `kubectl` :
638
638
639
639
` ` ` 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)"
641
641
` ` `
642
642
643
643
Using `flux` :
@@ -678,7 +678,7 @@ spec:
678
678
Using `kubectl` :
679
679
680
680
` ` ` 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 }}'
682
682
` ` `
683
683
684
684
Using `flux` :
@@ -714,7 +714,7 @@ state in Git.
714
714
Using `kubectl` :
715
715
716
716
` ` ` 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 }}'
718
718
` ` `
719
719
720
720
Using `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
492
492
Using `kubectl` :
493
493
494
494
` ` ` 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)"
496
496
` ` `
497
497
498
498
Using `flux` :
@@ -533,7 +533,7 @@ spec:
533
533
Using `kubectl` :
534
534
535
535
` ` ` 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 }}'
537
537
` ` `
538
538
539
539
Using `flux` :
@@ -569,7 +569,7 @@ state in Git.
569
569
Using `kubectl` :
570
570
571
571
` ` ` 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 }}'
573
573
` ` `
574
574
575
575
Using `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
248
248
Using `kubectl` :
249
249
250
250
` ` ` 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)"
252
252
` ` `
253
253
254
254
# ## Waiting for `Ready`
@@ -283,7 +283,7 @@ spec:
283
283
Using `kubectl` :
284
284
285
285
` ` ` 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 }}'
287
287
` ` `
288
288
289
289
**Note:** When a HelmChart has an Artifact and is suspended, and this
@@ -313,7 +313,7 @@ state in Git.
313
313
Using `kubectl` :
314
314
315
315
` ` ` 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 }}'
317
317
` ` `
318
318
319
319
# ## 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
218
218
Using `kubectl` :
219
219
220
220
` ` ` 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)"
222
222
` ` `
223
223
224
224
Using `flux` :
@@ -259,7 +259,7 @@ spec:
259
259
Using `kubectl` :
260
260
261
261
` ` ` 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 }}'
263
263
` ` `
264
264
265
265
Using `flux` :
@@ -295,7 +295,7 @@ state in Git.
295
295
Using `kubectl` :
296
296
297
297
` ` ` 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 }}'
299
299
` ` `
300
300
301
301
Using `flux` :
You can’t perform that action at this time.
0 commit comments