Skip to content

Commit

Permalink
docs: Small fixes to the Resource deletion section of API Concept
Browse files Browse the repository at this point in the history
- Finalizers are a string array
- Small grammar error
  • Loading branch information
austince committed Oct 25, 2023
1 parent 226dc4a commit 7a8ed1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/en/docs/reference/using-api/api-concepts.md
Expand Up @@ -724,13 +724,13 @@ When you **delete** a resource this takes place in two phases.
"kind": "ConfigMap",
"apiVersion": "v1",
"metadata": {
"finalizers": {"url.io/neat-finalization", "other-url.io/my-finalizer"},
"finalizers": ["url.io/neat-finalization", "other-url.io/my-finalizer"],
"deletionTimestamp": nil,
}
}
```

When a client first sends a **delete** to request removal of a resource, the `.metadata.deletionTimestamp` is set to the current time.
When a client first sends a **delete** to request the removal of a resource, the `.metadata.deletionTimestamp` is set to the current time.
Once the `.metadata.deletionTimestamp` is set, external controllers that act on finalizers
may start performing their cleanup work at any time, in any order.

Expand Down

0 comments on commit 7a8ed1c

Please sign in to comment.