Skip to content

Commit

Permalink
Adding label on cert
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Wessendorf <[email protected]>
  • Loading branch information
matzew committed Mar 5, 2025
1 parent 1ae012d commit b266bd7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/certificates/certificate.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ func MakeCertificate(obj kmeta.OwnerRefableAccessor, name string) *cmv1.Certific
OwnerReferences: []metav1.OwnerReference{
*kmeta.NewControllerRef(obj),
},
Labels: map[string]string{
"app.kubernetes.io/component": "knative-eventing",
"app.kubernetes.io/name": name,
},
},
Spec: cmv1.CertificateSpec{
SecretName: CertificateName(name),
Expand Down

0 comments on commit b266bd7

Please sign in to comment.