refactor: Remove v1alpha1 API version#563
Draft
ruivieira wants to merge 1 commit intotrustyai-explainability:mainfrom
Draft
refactor: Remove v1alpha1 API version#563ruivieira wants to merge 1 commit intotrustyai-explainability:mainfrom
ruivieira wants to merge 1 commit intotrustyai-explainability:mainfrom
Conversation
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Contributor
Reviewer's GuideThis PR refactors the operator to drop the v1alpha1 API version and fully adopt the v1 storage version by removing all alpha code and schema, updating imports and type references, and adjusting examples and CRDs accordingly. Entity relationship diagram for TrustyAIService CRD after v1alpha1 removalerDiagram
TrustyAIService {
string apiVersion
string kind
object metadata
TrustyAIServiceSpec spec
TrustyAIServiceStatus status
}
TrustyAIServiceSpec {
Data data
Metrics metrics
int replicas
Storage storage
}
Data {
string filename
string format
}
Metrics {
int batchSize
string schedule
}
Storage {
string databaseConfigurations
string folder
string format
string size
}
TrustyAIServiceStatus {
Condition[] conditions
string phase
string ready
int replicas
}
Condition {
string lastTransitionTime
string message
string reason
string status
string type
}
TrustyAIServiceSpec ||--o| Data : contains
TrustyAIServiceSpec ||--o| Metrics : contains
TrustyAIServiceSpec ||--o| Storage : contains
TrustyAIServiceStatus ||--|{ Condition : has
TrustyAIService ||--o| TrustyAIServiceSpec : has
TrustyAIService ||--o| TrustyAIServiceStatus : has
Class diagram for TrustyAIService type reference update to v1classDiagram
class TrustyAIServiceReconciler {
+updateStatus(ctx, original: TrustyAIService, update)
+reconcileStatuses(ctx, instance: TrustyAIService)
+createDeploymentObject(ctx, instance: TrustyAIService, serviceImage, caBundle)
+createDeployment(ctx, cr: TrustyAIService, imageName, caBundle)
+updateDeployment(ctx, cr: TrustyAIService, imageName, caBundle)
+ensureDeployment(ctx, instance: TrustyAIService, caBundle, migration)
+checkDeploymentReady(ctx, instance: TrustyAIService)
+createRouteObject(ctx, instance: TrustyAIService)
+reconcileRouteAuth(instance: TrustyAIService, ctx, newRoute)
+ReconcileRoute(instance: TrustyAIService, ctx)
+checkRouteReady(ctx, cr: TrustyAIService)
+eventModelMeshConfigured(instance: TrustyAIService)
+eventKServeConfigured(instance: TrustyAIService)
+eventPVCCreated(instance: TrustyAIService)
+eventLocalServiceMonitorCreated(instance: TrustyAIService)
+patchEnvVarsForDeployments(ctx, instance: TrustyAIService, ...)
+patchEnvVarsByLabelForDeployments(ctx, instance: TrustyAIService, ...)
+handleInferenceServices(ctx, instance: TrustyAIService, ...)
+patchKServe(ctx, instance: TrustyAIService, ...)
+generatePVCName(instance: TrustyAIService)
+ensurePVC(ctx, instance: TrustyAIService)
+createPVC(ctx, instance: TrustyAIService)
+checkPVCReady(ctx, instance: TrustyAIService)
+generateServiceAccountName(instance: TrustyAIService)
+createServiceAccount(ctx, instance: TrustyAIService)
+createClusterRoleBinding(ctx, instance: TrustyAIService, serviceAccountName)
+GetCustomCertificatesBundle(ctx, instance: TrustyAIService)
+checkDatabaseAccessible(ctx, instance: TrustyAIService)
+ensureDestinationRule(ctx, instance: TrustyAIService)
+deleteExternalDependency(crName, instance: TrustyAIService, namespace, ctx)
+ensureLocalServiceMonitor(cr: TrustyAIService, ctx)
+findDatabaseSecret(ctx, instance: TrustyAIService)
+reconcileService(ctx, cr: TrustyAIService)
+ensureVirtualService(ctx, instance: TrustyAIService)
}
class TrustyAIService {
+Spec
+Status
}
TrustyAIServiceReconciler --> TrustyAIService : manages
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
m-misiura
pushed a commit
to m-misiura/trustyai-service-operator
that referenced
this pull request
Jan 21, 2026
…ices/konflux/component-updates/component-update-ta-lmes-driver-216 chore(deps): update ta-lmes-driver-216 to bb8afe6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by Sourcery
Remove support for the deprecated v1alpha1 API version and consolidate on the v1 storage version
Enhancements: