Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Continue when k8s returns Forbidden when getting resources of resourc… #1620

Merged
merged 1 commit into from
Dec 31, 2018

Conversation

gellweiler
Copy link

When flux is used with more restricted permissions (as is required in our kubernetes cluster) k8s will create a 403 instead of an 404 error when trying to get missing resources (such as helm resources).

This is why I would propose generating a warning but continuing with the sync process in such instances.

Copy link
Member

@squaremo squaremo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a sensible change; thank you 🍍

@squaremo squaremo merged commit 9ce57ef into fluxcd:master Dec 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants