Skip to content

Commit

Permalink
feat: Adds a pod_namespace field to pod events created by Continuous …
Browse files Browse the repository at this point in the history
…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: googleapis/googleapis-gen@cb47adf
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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jun 20, 2022
1 parent eac98be commit 8dcfe72
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ class ContinuousValidationPodEvent(proto.Message):
r"""An auditing event for one Pod.
Attributes:
pod_namespace (str):
The k8s namespace of the Pod.
pod (str):
The name of the Pod.
deploy_time (google.protobuf.timestamp_pb2.Timestamp):
Expand Down Expand Up @@ -101,6 +103,10 @@ class AuditResult(proto.Enum):
number=3,
)

pod_namespace = proto.Field(
proto.STRING,
number=7,
)
pod = proto.Field(
proto.STRING,
number=1,
Expand Down

0 comments on commit 8dcfe72

Please sign in to comment.