Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add securityAndAnalysis to lateInitializer #56

Merged
merged 2 commits into from
Mar 13, 2024

Conversation

AtzeDeVries
Copy link
Collaborator

Crossplane will fetch the state of the real world before updating the resource. If repository transistions
from internal to public it will read the state of securityAndAnalysis and merge that with what is set
from the managed resource. Github does not allow .securityAndAnalysis.advancedSecurity to be set when
public so this causes problems going form internal to public.

closes: #34
ref: https://github.com/crossplane/upjet/blob/main/docs/configuring-a-resource.md#further-details-on-late-initialization

Crossplane will fetch the state of the real world before updating the resource. If repository transistions
from internal to public it will read the state of securityAndAnalysis and merge that with what is set
from the managed resource. Github does not allow `.securityAndAnalysis.advancedSecurity` to be set when
public so this causes problems going form internal to public.

closes: #34
ref: https://github.com/crossplane/upjet/blob/main/docs/configuring-a-resource.md#further-details-on-late-initialization
@AtzeDeVries AtzeDeVries merged commit 30c1f97 into main Mar 13, 2024
8 checks passed
@AtzeDeVries AtzeDeVries deleted the add-late-initializer-to-repo-sec-and-ana branch March 13, 2024 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] transition from public to internal does not seem to be working
2 participants