Skip to content

Commit 5098187

Browse files
authored
Merge pull request #531 from vshn/allow-ingress-deletion-keycloak
Allow keycloak ingress deletion
2 parents d596119 + 69ffa28 commit 5098187

File tree

1 file changed

+2
-2
lines changed
  • pkg/comp-functions/functions/vshnkeycloak

1 file changed

+2
-2
lines changed

pkg/comp-functions/functions/vshnkeycloak/ingress.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func AddIngress(_ context.Context, comp *vshnv1.VSHNKeycloak, svc *runtime.Servi
4747
return runtime.NewWarningResult(fmt.Sprintf("cannot generate ingress: %s", err))
4848
}
4949

50-
err = common.CreateIngresses(comp, svc, []*netv1.Ingress{ingress})
50+
err = common.CreateIngresses(comp, svc, []*netv1.Ingress{ingress}, runtime.KubeOptionAllowDeletion)
5151
if err != nil {
5252
return runtime.NewWarningResult(fmt.Sprintf("cannot create ingress: %s", err))
5353
}
@@ -107,5 +107,5 @@ func addOpenShiftCa(svc *runtime.ServiceRuntime, comp *vshnv1.VSHNKeycloak) erro
107107
},
108108
}
109109

110-
return svc.SetDesiredKubeObject(secret, comp.GetName()+"-route-ca")
110+
return svc.SetDesiredKubeObject(secret, comp.GetName()+"-route-ca", runtime.KubeOptionAllowDeletion)
111111
}

0 commit comments

Comments
 (0)