Skip to content

Commit

Permalink
fix: Ensure ingress has proper labeling (#83)
Browse files Browse the repository at this point in the history
Signed-off-by: Sergiy Kulanov <[email protected]>
  • Loading branch information
SergK committed Jul 15, 2024
1 parent 94fb690 commit 017ac3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions controllers/gitserver/create_event_listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ func (h *CreateEventListener) createIngress(ctx context.Context, gitServer *code
ObjectMeta: metav1.ObjectMeta{
Name: name,
Namespace: gitServer.Namespace,
Labels: map[string]string{
"app.edp.epam.com/gitServer": gitServer.Name,
},
},
Spec: networkingv1.IngressSpec{
Rules: []networkingv1.IngressRule{
Expand Down

0 comments on commit 017ac3c

Please sign in to comment.