-
Notifications
You must be signed in to change notification settings - Fork 92
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
harbor_project not detecting changes to some deployment security settings #453
Comments
I did some digging through the code. |
Merged
flbla
added a commit
that referenced
this issue
Jul 11, 2024
Signed-off-by: flbla <[email protected]>
hi @BlueIce , |
Thanks for looking into this so fast. 😃 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I have a Harbor project which is created via terraform:
When the checkbox
Prevent vulnerable images from running
or the corresponding severity drop-down is changed via UI, the provider does not notice the changes when doing a terraform plan.To Reproduce
Medium
, uncheckPrevent vulnerable images from running
and the saveExpected behavior
In step 3 from above: Terraform reports changes for the two attributes
Additional context
If you now go on and also change another property (for example uncheck
Automatically scan images on push
) and again do a terraform plan, only this change will be detected:But if you do now a terraform apply, all three properties will be restored.
The text was updated successfully, but these errors were encountered: