Skip to content

Commit 09a3602

Browse files
authored
Document annotation-triggered reconciliation (#91)
1 parent adc414e commit 09a3602

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,16 @@ spec:
165165

166166
The operator will clone the repository and use the specified path as the function root directory.
167167

168+
### Triggering a Reconciliation
169+
170+
The operator normally reconciles a Function when its spec changes. To trigger a reconciliation manually, add any annotation with the `functions.knative.dev/` prefix:
171+
172+
```bash
173+
kubectl annotate function my-function functions.knative.dev/reconcile=true
174+
```
175+
176+
The operator will reconcile the Function and automatically remove the annotation afterwards.
177+
168178
### Configuring Automatic Middleware Updates
169179

170180
The operators main responsibility it to rebuild functions when outdated middleware is detected. Anyhow this behavior can be enabled/disabled at two levels:

0 commit comments

Comments
 (0)