-
Notifications
You must be signed in to change notification settings - Fork 21
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
Fix Common AuthSecret Name #1333
Conversation
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.
kafka ?
arnob@office ~> kubectl get secrets -n demo | grep kafka-
kafka-test-admin-cred kubernetes.io/basic-auth 2 5h21m
kafka-test-config Opaque 2 5h21m
Already opened a PR: #1331 |
6ae0ea7
to
b8fc5a2
Compare
5401916
to
f325c35
Compare
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!
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
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!
if s.Spec.AuthSecret == nil { | ||
s.Spec.AuthSecret = &v1.LocalObjectReference{ | ||
Name: s.SolrSecretName("admin-cred"), | ||
} |
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.
We dont need the authSecret defaulting ?
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.
no
a method is added to retrieve the name of auth secret.
5b9ada6
Signed-off-by: raihankhan <raihan@appscode.com>
Signed-off-by: obaydullahmhs <obaydullah@appscode.com>
Signed-off-by: Tapajit Chandra Paul <tapajit@appscode.com>
Signed-off-by: pritamdas99 <pritam@appscode.com>
Signed-off-by: pritamdas99 <pritam@appscode.com>
Signed-off-by: Tapajit Chandra Paul <tapajit@appscode.com>
Signed-off-by: obaydullahmhs <obaydullah@appscode.com>
ec6d81b
to
bd7bff6
Compare
No description provided.