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

Fix Common AuthSecret Name #1333

Merged
merged 8 commits into from
Oct 31, 2024
Merged

Fix Common AuthSecret Name #1333

merged 8 commits into from
Oct 31, 2024

Conversation

raihankhan
Copy link
Contributor

No description provided.

Copy link
Member

@ArnobKumarSaha ArnobKumarSaha left a 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

@obaydullahmhs
Copy link
Member

Already opened a PR: #1331

pritamdas99
pritamdas99 previously approved these changes Oct 28, 2024
Copy link
Member

@pritamdas99 pritamdas99 left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@sheikh-arman sheikh-arman left a comment

Choose a reason for hiding this comment

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

lgtm

tapojit047
tapojit047 previously approved these changes Oct 29, 2024
Copy link
Member

@tapojit047 tapojit047 left a comment

Choose a reason for hiding this comment

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

LGTM!

Comment on lines -265 to -268
if s.Spec.AuthSecret == nil {
s.Spec.AuthSecret = &v1.LocalObjectReference{
Name: s.SolrSecretName("admin-cred"),
}
Copy link
Member

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 ?

Copy link
Member

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.

raihankhan and others added 8 commits October 31, 2024 10:23
Signed-off-by: raihankhan <raihan@appscode.com>
Signed-off-by: obaydullahmhs <obaydullah@appscode.com>
Signed-off-by: raihankhan <raihan@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>
@raihankhan raihankhan merged commit 3b38a01 into master Oct 31, 2024
11 checks passed
@raihankhan raihankhan deleted the fix-authname branch October 31, 2024 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants