Skip to content

Commit

Permalink
Add docs for k8s annotations (pipe-cd#4673)
Browse files Browse the repository at this point in the history
Signed-off-by: Yoshiki Fujikane <[email protected]>
  • Loading branch information
ffjlabo authored and sZma5a committed Dec 17, 2023
1 parent 6f863d1 commit e0387f2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ spec:
| eventWatcher | [][EventWatcher](#eventwatcher) | List of configurations for event watcher. | No |
| driftDetection | [DriftDetection](#driftdetection) | Configuration for drift detection. | No |

### Annotations

Kubernetes resources can be managed by some annotations provided by PipeCD.

| Annotation key | Target resource(es) | Possible values | Description |
| `pipecd.dev/ignore-drift-detection` | any | "true" | Whether the drift detection should ignore this resource. |
| `pipecd.dev/server-side-apply` | any | "true" | Use server side apply instead of client side apply. |

## Terraform application

``` yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ spec:
| eventWatcher | [][EventWatcher](#eventwatcher) | List of configurations for event watcher. | No |
| driftDetection | [DriftDetection](#driftdetection) | Configuration for drift detection. | No |

### Annotations

Kubernetes resources can be managed by some annotations provided by PipeCD.

| Annotation key | Target resource(es) | Possible values | Description |
| `pipecd.dev/ignore-drift-detection` | any | "true" | Whether the drift detection should ignore this resource. |
| `pipecd.dev/server-side-apply` | any | "true" | Use server side apply instead of client side apply. |

## Terraform application

``` yaml
Expand Down

0 comments on commit e0387f2

Please sign in to comment.