-
Notifications
You must be signed in to change notification settings - Fork 3
feat: Konflux configuration as code #136
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
Closed
Closed
Conversation
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
Reviewer's GuideReorganize Kustomize overlays under a unified base directory, introduce declarative ProjectDevelopmentStream and template CRDs, and add versioned stream and project templates with overlay patches to consolidate Konflux configuration as code. Class Diagram: New Konflux Custom Resource Definitions (CRDs)classDiagram
Project "1" -- "N" ProjectDevelopmentStream : Manages
Project "1" -- "N" ProjectDevelopmentStreamTemplate : Manages
ProjectDevelopmentStream "1" ..> "1" ProjectDevelopmentStreamTemplate : Uses
ProjectDevelopmentStream : +String metadata_name
ProjectDevelopmentStream : +String spec_project
ProjectDevelopmentStream : +TemplateReference spec_template
class TemplateReference{
+String name
+Value[] values
}
ProjectDevelopmentStream *-- TemplateReference
class Value{
+String name
+String value
}
TemplateReference *-- "N" Value
ProjectDevelopmentStreamTemplate : +String metadata_name
ProjectDevelopmentStreamTemplate : +String spec_project
ProjectDevelopmentStreamTemplate : +Variable[] spec_variables
ProjectDevelopmentStreamTemplate : +Object[] spec_resources
ProjectDevelopmentStreamTemplate *-- "N" Variable
ProjectDevelopmentStreamTemplate o-- "N" K8sResource : Defines (via spec_resources)
Project : +String metadata_name
Project : +String spec_displayName
Project : +String spec_description
class Variable{
+String name
+String description
+String defaultValue
}
K8sResource <|-- Application
K8sResource <|-- Component
K8sResource <|-- IntegrationTestScenario
Application : +String metadata_name
Application : +String spec_displayName
Application "1" o-- "N" Component : Has
Application "1" o-- "N" IntegrationTestScenario : Tested by
Component : +String metadata_name
Component : +String spec_application
Component : +String spec_componentName
Component : +GitSource spec_source_git
class GitSource{
+String context
+String dockerfileUrl
+String revision
+String url
}
Component *-- GitSource
IntegrationTestScenario : +String metadata_name
IntegrationTestScenario : +String spec_application
IntegrationTestScenario : +ResolverRef spec_resolverRef
IntegrationTestScenario : +Param[] spec_params
class Param{
+String name
+String value
}
IntegrationTestScenario *-- "N" Param
class ResolverRef{
+String resolver
+String resourceKind
+Param[] params
}
IntegrationTestScenario *-- ResolverRef
ResolverRef *-- "N" Param
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
f61d677
to
644321a
Compare
Signed-off-by: Tomas Turek <tturek@redhat.com>
644321a
to
c5c8c7d
Compare
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
Migrate Konflux configuration to code-first approach using Kustomize and projctl CRDs, centralizing release plan overlays and defining project streams and templates for ansible, fbc, and operator.
New Features:
Documentation: