-
Notifications
You must be signed in to change notification settings - Fork 0
Description
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-largeAny 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