-
Notifications
You must be signed in to change notification settings - Fork 22
Fix spire-server configmap UpstreamAuthority/aws_pca and KeyManager/a… #489
Fix spire-server configmap UpstreamAuthority/aws_pca and KeyManager/a… #489
Conversation
…ws_kms Signed-off-by: unufree <[email protected]>
Thanks for the fixes. Could you please add a quick section to tests/unit/spire_test.go that turns the features on to see if it renders ok? Not having any tests at all, even "does it render to valid yaml" makes it hard to not accidentally break. |
@unufr33 Do you have time to write the test? No problem if not, we can merge without it. We understand people are busy. |
Signed-off-by: unufree <[email protected]>
Hope this works |
Co-authored-by: Faisal Memon <[email protected]> Signed-off-by: unufr33 <[email protected]>
Co-authored-by: Faisal Memon <[email protected]> Signed-off-by: unufr33 <[email protected]>
Signed-off-by: unufree <[email protected]>
Is this test failure related to this pr?
|
I don't think the failed tests are related to my changes. My changes are in the "checks" job and it passes. The failed jobs passed several times before that .Can you please rerun ? |
Looks like a transient network issue. I just re-triggered the failed job to rerun. I'm expecting it to pass. |
Yeah. The tests look great. Thanks for writing them. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
Current configmap template renders to a wrong KeyManager and UpstreamAuthority configurarion when aws_kms and aws_pca are enabled and container is crashing. The proposed changes will fix the issue.