mirror of
https://github.com/YuzuZensai/netbird-kubernetes-operator.git
synced 2026-09-13 10:49:15 +00:00
Add ingress feature to controller (#5)
Co-authored-by: Maycon Santos <mlsmaycon@gmail.com>
This commit is contained in:
co-authored by
Maycon Santos
parent
cea60745d2
commit
166091b8e0
@@ -83,7 +83,7 @@ func (d *PodNetbirdInjector) Default(ctx context.Context, obj runtime.Object) er
|
||||
// ensure the NBSetupKey is ready.
|
||||
ready := false
|
||||
for _, c := range nbSetupKey.Status.Conditions {
|
||||
if c.Type == netbirdiov1.Ready {
|
||||
if c.Type == netbirdiov1.NBSetupKeyReady {
|
||||
ready = c.Status == corev1.ConditionTrue
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user