Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Commit 218bad8

Browse files
feat: Adds a pod_namespace field to pod events created by Continuous Validation, to distinguish pods with the same name that run in different namespaces (#156)
* feat: Adds a pod_namespace field to pod events created by Continuous Validation, to distinguish pods with the same name that run in different namespaces Committer: @tswift242 PiperOrigin-RevId: 455380856 Source-Link: googleapis/googleapis@1cbacff Source-Link: https://github.com/googleapis/googleapis-gen/commit/cb47adfa214e798ee1cb736b52ad386101b096e0 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2I0N2FkZmEyMTRlNzk4ZWUxY2I3MzZiNTJhZDM4NjEwMWIwOTZlMCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 1ac0fc5 commit 218bad8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

google/cloud/binaryauthorization_v1beta1/types/continuous_validation_logging.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ class ContinuousValidationPodEvent(proto.Message):
5151
r"""An auditing event for one Pod.
5252
5353
Attributes:
54+
pod_namespace (str):
55+
The k8s namespace of the Pod.
5456
pod (str):
5557
The name of the Pod.
5658
deploy_time (google.protobuf.timestamp_pb2.Timestamp):
@@ -101,6 +103,10 @@ class AuditResult(proto.Enum):
101103
number=3,
102104
)
103105

106+
pod_namespace = proto.Field(
107+
proto.STRING,
108+
number=7,
109+
)
104110
pod = proto.Field(
105111
proto.STRING,
106112
number=1,

0 commit comments

Comments
 (0)