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

feat: Implement podSpec generation #72

Merged
merged 9 commits into from
Mar 24, 2024
Prev Previous commit
fix: Fix sts annotations merge
  • Loading branch information
sergeyshevch committed Mar 24, 2024
commit 0f847f6188178906e9b2f677fa3c47483d667265
2 changes: 1 addition & 1 deletion internal/controller/factory/builders.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func reconcileSTS(ctx context.Context, rclient client.Client, crdName string, st
}
return fmt.Errorf("cannot get existing statefulset: %s, for crd_object: %s, err: %w", sts.Name, crdName, err)
}
sts.Annotations = labels.Merge(sts.Annotations, sts.Annotations)
sts.Annotations = labels.Merge(currentSts.Annotations, sts.Annotations)
if sts.ResourceVersion != "" {
sts.ResourceVersion = currentSts.ResourceVersion
Kirill-Garbar marked this conversation as resolved.
Show resolved Hide resolved
}
Expand Down