Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
Signed-off-by: galal-hussein <[email protected]>
  • Loading branch information
galal-hussein committed Oct 3, 2024
1 parent 615c7e6 commit 3ae9a39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion charts/k3k/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ nameOverride: ""
fullnameOverride: ""

host:
# clusterCIDR specifies the clusterCIDR that will be added to the default networkpolicy for clustersets
# clusterCIDR specifies the clusterCIDR that will be added to the default networkpolicy for clustersets, if not set
# the controller will collect the PodCIDRs of all the nodes on the system.
clusterCIDR: ""

serviceAccount:
Expand Down
3 changes: 1 addition & 2 deletions pkg/controller/cluster/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ func (p *PodReconciler) Reconcile(ctx context.Context, req reconcile.Request) (r
clusterName := s[1]
var cluster v1alpha1.Cluster
if err := p.Client.Get(ctx, types.NamespacedName{Name: clusterName}, &cluster); err != nil {
if apierrors.IsNotFound(err) {
}
if !apierrors.IsNotFound(err) {
return reconcile.Result{}, err
}
}
Expand Down

0 comments on commit 3ae9a39

Please sign in to comment.