Skip to content

Commit fcba825

Browse files
committed
Add troubleshooting item about --enable-operations flag
Added a new troubleshooting item to operation.md documenting the common error when Operations feature is not enabled and how to resolve it by adding the --enable-operations flag to Crossplane's startup arguments. Updated numbering for subsequent troubleshooting items accordingly. Signed-off-by: Nic Cope <[email protected]>
1 parent 4efb03c commit fcba825

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

content/master/operations/operation.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,14 @@ kubectl describe operation my-operation
417417

418418
**Common failure scenarios:**
419419

420-
1. **ValidPipeline condition is False** - Function doesn't support operations:
420+
1. **Operations do nothing** - Operations feature not enabled:
421+
```yaml
422+
# Operation exists but has no status conditions and never progresses
423+
status: {}
424+
```
425+
*Solution*: enable Operations by adding `--enable-operations` to Crossplane's startup arguments.
426+
427+
2. **ValidPipeline condition is False** - Function doesn't support operations:
421428
```yaml
422429
conditions:
423430
- type: ValidPipeline
@@ -427,7 +434,7 @@ kubectl describe operation my-operation
427434
```
428435
*Solution*: use a function that declares `operation` capability.
429436

430-
2. **Succeeded condition is False** - Function run failed:
437+
3. **Succeeded condition is False** - Function run failed:
431438
```yaml
432439
conditions:
433440
- type: Succeeded
@@ -437,7 +444,7 @@ kubectl describe operation my-operation
437444
```
438445
*Solution*: view function logs and fix the underlying issue.
439446

440-
3. **Resource apply failures** - View events for details:
447+
4. **Resource apply failures** - View events for details:
441448
```shell
442449
kubectl get events --field-selector involvedObject.name=my-operation
443450
```

0 commit comments

Comments
 (0)