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

Commit df42942

Browse files
authored
Add deployment key for k8s resource. (#1148)
1 parent f6172e4 commit df42942

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

resource/resourcekeys/const.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ const (
2323
// does not have cluster names as an internal concept so this may be
2424
// set to any meaningful value within the environment. For example,
2525
// GKE clusters have a name which can be used for this label.
26-
K8SKeyClusterName = "k8s.cluster.name"
27-
K8SKeyNamespaceName = "k8s.namespace.name"
28-
K8SKeyPodName = "k8s.pod.name"
26+
K8SKeyClusterName = "k8s.cluster.name"
27+
K8SKeyNamespaceName = "k8s.namespace.name"
28+
K8SKeyPodName = "k8s.pod.name"
29+
K8SKeyDeploymentName = "k8s.deployment.name"
2930
)
3031

3132
// Constants for Container resources.

0 commit comments

Comments
 (0)