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

KO-370: Added custom Service Account support in the backup service #335

Merged
merged 3 commits into from
Jan 16, 2025

Conversation

abhishekdwivedi3060
Copy link
Collaborator

No description provided.

test/backup_service/backup_service_test.go Show resolved Hide resolved
@@ -52,6 +53,10 @@ func (r *AerospikeBackupService) Default() {
if r.Spec.Resources != nil && r.Spec.PodSpec.ServiceContainerSpec.Resources == nil {
r.Spec.PodSpec.ServiceContainerSpec.Resources = r.Spec.Resources
}

if r.Spec.PodSpec.ServiceAccountName == "" {
Copy link
Collaborator

@sud82 sud82 Jan 13, 2025

Choose a reason for hiding this comment

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

Why not make a func like GetAerospikeInitContainerImage?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Moved to func call in the reconciler for now.

@sud82 sud82 merged commit 22086f5 into master Jan 16, 2025
8 of 9 checks passed
@sud82 sud82 deleted the KO-370 branch January 16, 2025 12:00
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.

2 participants