Skip to content

Task: Add functionality to GitHub bot for quota and resource increases #481

@reshnm

Description

@reshnm

Understand the Task

Description

Add functionality to the openMCP GitHub bot that reacts in issues of type quota-increase and type resource-increase.

Quota increase

In the issue it has to be clearly specified what the name of the landscape, project, workspace is.
In the issue, a list has to be specified for which kind of resources the quota shall be increased.
Possible values:

  • secrets
  • serviceaccounts
  • ManagedControlPlane
  • ManagedControlPlaneV2
  • Service Providers for V2 ???

The bot then connects to the onboarding cluster and applies the increased quotas to the workspace.
The bot will increase the quota by 25% of the current quota.
The bot will then close the issue.

Resource Increase

In the issue it has to be clearly specified what the name of the landscape, project, workspace, ManagedControlPlane is.
Note: this currently is vor V1 only. We will need a follow up issue for V2.

A human approve has to appove.
The bot then connects to the onboarding cluster and applies a InternalConfiguration with the same name and namespace as of the mcp. The internal configuration applies a preconfigured clusterprofile.
The bot will then close the issue.

Example:

apiVersion: core.openmcp.cloud/v1alpha1
kind: InternalConfiguration
metadata:
  name: <name-of-mcp>
  namespace: <namespace>
spec:
  components:
    apiServer:
      gardener:
        landscapeConfiguration: default/gcp-large

Any further valuable resources.

No response

What is required to accept the Task as done.

Done Criteria

  • Bot can handle quota increases
  • Bot can handle resource increases

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions