Skip to content

Commit

Permalink
Merge pull request #224 from 3scale/operator-forbidden
Browse files Browse the repository at this point in the history
[k8s] ignore owner references that zync has no permission to
  • Loading branch information
mikz committed Jul 10, 2019
2 parents 45bfce7 + 54c6882 commit 6f24ca1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/services/integration/kubernetes_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ def owner_reference_root(resource)
resource = owner
end

resource
rescue K8s::Error::Forbidden
# likely some resource like the operator
resource
end

Expand Down

0 comments on commit 6f24ca1

Please sign in to comment.