-
Notifications
You must be signed in to change notification settings - Fork 7
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
[Merged by Bors] - Kerberos keytab backend #99
Conversation
Proof of concept for testing stackabletech/secret-operator#99 There are still plenty of issues here that need to be solved before this is actually usable. For example, this will currently break when attempting to access the cluster from outside of K8s (since the Krb principals will mismatch).
Remaining questions:
|
# Conflicts: # Cargo.lock # Tiltfile # default.nix # provisioner.yaml # rust/operator-binary/Cargo.toml # rust/operator-binary/src/backend/dynamic.rs # rust/operator-binary/src/backend/mod.rs
stackabletech/hdfs-operator#154 has bitrotted a fair amount, there's https://github.com/stackabletech/hdfs-operator/tree/spike/security2 which is a lazier port but should at least be closer to working. |
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.
Only have went through the code so far, not tested/played around with it it yet.
I really like the separation layers you build around the C lib!
docker/Dockerfile
Outdated
@@ -2,7 +2,7 @@ | |||
# This file is automatically generated from the templates in stackabletech/operator-templating | |||
# DON'T MANUALLY EDIT THIS FILE | |||
# ============= | |||
FROM docker.stackable.tech/stackable/ubi8-rust-builder AS builder | |||
FROM docker.stackable.tech/natkr/krb5/ubi8-rust-builder AS builder |
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.
Marker. stackabletech/docker-images#338 is approved
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.
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.
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.
e0e9f33 is about the krb image for the tests. This here is the ubi8-rust-builder, which is a different story
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.
ahh you're right. Silly me.
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.
Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.de>
Only two discussions left. Would be great if we could silence the hadolint check so that we can test the -pr99 helm chart... |
I don't believe hadolint blocks chart publishing. |
My mistake, you are right! |
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.
Nice job!
bors |
bors r+ |
## Description This PR adds support for provisioning Kerberos principals and keytabs for pods, similar to the `autoTls` backend. Currently only MIT Kerberos is supported, Heimdal and Active Directory still require manual provisioning. There is a spike branch for the HDFS Operator (stackabletech/hdfs-operator#154) that uses this to provision a kerberized HDFS cluster. Co-authored-by: Teo Klestrup Röijezon <teo@nullable.se> Co-authored-by: Stacky McStackface <stackable-bot@users.noreply.github.com> Co-authored-by: Sönke Liebau <soenke.liebau@stackable.tech>
Pull request successfully merged into main. Build succeeded: |
Description
This PR adds support for provisioning Kerberos principals and keytabs for pods, similar to the
autoTls
backend.Currently only MIT Kerberos is supported, Heimdal and Active Directory still require manual provisioning.
There is a spike branch for the HDFS Operator (stackabletech/hdfs-operator#154) that uses this to provision a kerberized HDFS cluster.
Review Checklist
Once the review is done, comment
bors r+
(orbors merge
) to merge. Further information