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 17, 2023
1 parent 7eb2f9b commit 7474022
Show file tree
Hide file tree
Showing 6 changed files with 894 additions and 884 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 7474022

Please sign in to comment.