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

Let secret-operator handle PKCS#12 conversion #695

Merged
merged 8 commits into from
Aug 3, 2023

Conversation

nightkr
Copy link
Member

@nightkr nightkr commented Jun 22, 2023

Description

Requires stackabletech/secret-operator#286 and stackabletech/operator-rs#610

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

Reviewer

Acceptance

Once the review is done, comment bors r+ (or bors merge) to merge. Further information

@razvan razvan self-requested a review June 30, 2023 13:03
Copy link
Member

@razvan razvan left a comment

Choose a reason for hiding this comment

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

I get this when running the smoke test with tls enabled everywhere:

Caused by: java.io.FileNotFoundException: /stackable/server_tls/keystore.p12 (No such file or directory)                                                                                                                       │
│     at java.base/java.io.FileInputStream.open0(Native Method)                                                                                                                                                                  │
│     at java.base/java.io.FileInputStream.open(FileInputStream.java:219)                                                                                                                                                        │
│     at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)                                                                                                                                                      │
│     at org.apache.zookeeper.common.StandardTypeFileKeyStoreLoader.loadKeyStore(StandardTypeFileKeyStoreLoader.java:53)                                                                                                         │
│     at org.apache.zookeeper.common.X509Util.loadKeyStore(X509Util.java:410)                                                                                                                                                    │
│     at org.apache.zookeeper.common.X509Util.createKeyManager(X509Util.java:466)                                                                                                                                                │
│     ... 27 common frames omitted                                               

@nightkr
Copy link
Member Author

nightkr commented Jun 30, 2023

Are you sure that 1) you're running a trunk build of secret-op, and 2) that your secret-op is new enough to include the PR?

Copy link
Member

@razvan razvan left a comment

Choose a reason for hiding this comment

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

Looks much better and the smoke tests pass on OS. I won't approve due to the missing operator-rs version.

@razvan
Copy link
Member

razvan commented Aug 1, 2023

Ping @nightkr I think this can be updated with the latest operator-rs version. I'd quickly review again and approve.

@nightkr
Copy link
Member Author

nightkr commented Aug 2, 2023

@razvan done in e45ce91

@nightkr nightkr requested a review from razvan August 2, 2023 11:50
razvan
razvan previously approved these changes Aug 2, 2023
Copy link
Member

@razvan razvan left a comment

Choose a reason for hiding this comment

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

lgtm and the tests pass on OS. need to solve that last conflict before merging.

Merged via the queue into main with commit 5c54371 Aug 3, 2023
29 checks passed
@nightkr nightkr deleted the feature/secret-op-pkcs12 branch August 3, 2023 05:53
@sbernauer
Copy link
Member

🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants