Skip to content

Commit

Permalink
api: Deprecate Pod.labels field
Browse files Browse the repository at this point in the history
Deprecate Pod.labels field which contains Cilium identity labels, and
document that it has been replaced by Pod.pod_labels field.

Ref: #794

Signed-off-by: Michi Mutsuzaki <[email protected]>
  • Loading branch information
michi-covalent committed Aug 16, 2023
1 parent 0af9a81 commit 0235473
Show file tree
Hide file tree
Showing 4 changed files with 448 additions and 443 deletions.
2 changes: 1 addition & 1 deletion api/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ https://github.com/opencontainers/runtime-spec/blob/main/config.md#createcontain
| ----- | ---- | ----- | ----------- |
| namespace | [string](#string) | | Kubernetes namespace of the Pod. |
| name | [string](#string) | | Name of the Pod. |
| labels | [string](#string) | repeated | Cilium identity labels of the Pod. |
| labels | [string](#string) | repeated | **Deprecated.** Cilium identity labels of the Pod. This field is deprecated. Use pod_labels instead. |
| container | [Container](#tetragon-Container) | | Container of the Pod from which the process that triggered the event originates. |
| pod_labels | [Pod.PodLabelsEntry](#tetragon-Pod-PodLabelsEntry) | repeated | Contains all the labels of the pod. Note that the labels field contains Cilium identity labels, which is a subset of pod labels. |

Expand Down
Loading

0 comments on commit 0235473

Please sign in to comment.