generated from openmcp-project/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
area/open-mcpAll ManagedControlPlane related issuesAll ManagedControlPlane related issueskind/taskGeneral task that needs to be done.General task that needs to be done.
Milestone
Description
Understand the Task
Description
The deploy-flux
command has the following arguments:
componentLocation
: This is the location from the openmcp-root-component can be consumed. This is configurable so that it is possible to deploy different variants or even add-ons that are not part of the github.com/openmcp-project/openmcp component. ThecomponentLocation
also contains the version of the component.deploymentTemplates
: This argument specifies the resource name within the the openmcp-root-component that contains the deployment templates that are being used to create the deployment specification in the target git repositorydeploymentRepository
: This argument represents a git repository url where the deployment specification will be stored. This will be used in the fluxcdGitSource
for.spec.url
.deploymentRepositoryBranch
: The branch in thedeploymentRepository
where deployment specification is stored. This will be used in the fluxcdGitSource
for.spec.ref.branch
.
and the following flags:
--ocm-config
: The OCM configuration to use--git-credentials
: A git credentials configuration file that configurebasic auth
,personal access token
,ssh private key
. This will be used in the fluxcdGitSource
forspec.secretRef
to authenticate against thedeploymentRepository
. If not set, no authentication will be configured.--kubeconfig
: The kubeconfig of the Kubernetes cluster on which the flux deployment will be created/updated. If not set, the current context will be used.--fluxcd-namespace
: The namespace on the Kubernetes cluster in which the namespaced fluxcd resources will be deployed. Defaultflux-system
.
The general flow of this command is:
- download the openmcp-root-component via the OCM cli
- extract the deployment templates resource out of the openmcp-root-component
- find the deployment template for fluxcd in the template resource
- execute the fluxcd deployment template. The deployment template execution will receive input values like the OCI image locations of the individual deployments (helm controller, kustomize controller, source controller)
- apply the templated resources to the target Kubernetes cluster in the specified namespace
- create a fluxcd
GitSource
for the givendeploymentRepository
anddeploymentRepositoryBranch
(and--git-credentials
if set) in the fluxcd namespace.
Any further valuable resources.
No response
What is required to accept the Task as done.
Done Criteria
- Code has been reviewed by other team members
- Internal technical Documentation created/updated
- New / changed code is documented
- Unit Tests created for new code or existing Unit Tests updated
- Integration Test Suite updated
- Enduser Documentation updated (if applicable)
- Successful demonstration in Review
Metadata
Metadata
Assignees
Labels
area/open-mcpAll ManagedControlPlane related issuesAll ManagedControlPlane related issueskind/taskGeneral task that needs to be done.General task that needs to be done.