Skip to content

Task: Implement manage-deployment-repo command for openmcp-bootstrapper #193

@reshnm

Description

@reshnm

Understand the Task

Description

The manage-deployment-repo command has the following arguments:

  • componentLocation: This is the location from where 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. The componentLocation 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 repository
  • deploymentRepository: This argument represents a git repository url where the deployment specification will be stored
  • deploymentRepositoryBranch: The branch in the deploymentRepository where deployment specification will be created/updated
  • clusterProviders: A list of cluster providers that shall be deployed
  • serviceProviders: A list of service providers that shall be deployed
  • platformServices: A list of platform services that shall be deployed

and the following flags:

  • --ocm-config: The OCM configuration to use
  • --git-credentials: A git credentials configuration file that configure basic auth, personal access token, ssh private key

The general flow of this command is:

  1. download the openmcp-root-component via the OCM cli
  2. extract the deployment templates resource out of the openmcp-root-component
  3. if the openmcp-root-component contains the openmcp-operator, template the openmcp-operator deployment based on the deployment templates
  4. if the openmcp-root-component contains fluxcd, template the fluxcd deployment based on the deployment templates
  5. for each enabled clusterProvider, serviceProvider, platformService create/update the respective deployment in the deployment repository
  6. push the created deployment configuration to the deployment repository in the deployment repository branch

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 issueskind/taskGeneral task that needs to be done.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions