service-provider-kro

module
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2026 License: Apache-2.0

README

service-provider-kro

An openMCP Service Provider that installs and manages Kro on workload clusters via Flux HelmReleases.

REUSE status

How It Works

When a Kro resource is created on the onboarding cluster, the controller:

  1. Replicates the configured image pull secret into the tenant namespace and wires it into the OCIRepository
  2. Creates a Flux OCIRepository pointing at the chart URL from the ProviderConfig and the version from the Kro spec
  3. Creates a Flux HelmRelease that deploys the chart into kro-system on the workload cluster via a kubeconfig reference

API Reference

Kro

The domain service API. Created on the onboarding cluster, one per tenant.

apiVersion: kro.services.openmcp.cloud/v1alpha1
kind: Kro
metadata:
  name: mcp-01 # must match your MCP cluster so it will track the right cluster
spec:
  # renovate: datasource=docker depName=registry.k8s.io/kro/charts/kro
  version: 0.9.1
Field Type Required Description
spec.version string yes Chart version tag

Note: The name of the object MUST match the name of your MCP cluster offering. This ensures that only one installation can exist for a given cluster.

ProviderConfig

Cluster-scoped operational configuration. Controls the chart location, image pull secret replication, and Helm values passed to managed HelmReleases.

apiVersion: kro.services.openmcp.cloud/v1alpha1
kind: ProviderConfig
metadata:
  name: kro
spec:
  pollInterval: 5m
  chartURL: oci://registry.k8s.io/kro/charts/kro
  imagePullSecret:
    name: my-registry-secret
  values:
    rbac:
      mode: aggregation
    deployment:
      resources:
        limits:
          cpu: 500m
          memory: 512Mi
        requests:
          cpu: 128m
          memory: 128Mi
    config:
      resourceGraphDefinitionConcurrentReconciles: 2
      dynamicControllerConcurrentReconciles: 2
      logLevel: "info"
spec
Field Type Required Default Description
chartURL string no oci://registry.k8s.io/kro/charts/kro OCI URL of the Helm chart (oci:// prefix is added automatically if missing)
pollInterval duration no 1m How often the controller polls for changes
imagePullSecret LocalObjectReference no Secret to replicate from the controller's namespace into tenant namespaces and set as secretRef on the OCIRepository
values object no Arbitrary Helm values passed directly to the HelmRelease

What is Kro

Kro (Kube Resource Orchestrator) lets you create custom Kubernetes APIs by composing existing resources into higher-level abstractions. Check out the Kro documentation for more details.

Running E2E Tests

task test-e2e

Support, Feedback, Contributing

This project is open to feature requests/suggestions, bug reports etc. via GitHub issues. Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our Contribution Guidelines.

Security / Disclosure

If you find any bug that may be a security problem, please follow our instructions in our security policy on how to report it. Please do not create GitHub issues for security-related doubts or problems.

Code of Conduct

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its Code of Conduct at all times.

Licensing

Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.


Bundesministerium für Wirtschaft und Energie (BMWE)-EU funding logo

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the services v1alpha1 API group.
Package v1alpha1 contains API Schema definitions for the services v1alpha1 API group.
cmd
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL