extensibility-utils

module
v0.2.1 Latest Latest
Warning

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

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

README

Extensibility Utils

A Go utility library for simplifying flux based OpenControlPlane service-providers with cross-cluster object management and Flux integration.

Features

  • Object Manager: Reconcile and manage Kubernetes objects across one or more clusters
  • Flux Integration: Deploy Helm charts through Flux HelmRelease and OCIRepository resources
  • Secret Management: Copy and manage Kubernetes secrets across clusters
  • Lifecycle Tracking: Monitor object status and readiness with configurable policies
  • Dependency Management: Define and respect object dependencies during reconciliation

Package Documentation

pkg/objectmanager

Core package for managing Kubernetes objects across clusters.

Key Types:

  • Manager: Main interface for managing object lifecycle (Apply, Delete)
  • Cluster: Represents a Kubernetes cluster containing objects
  • Object: Wraps a client.Object with reconciliation and status functions
  • Cleaner: Removes managed objects not in a specified list

Key Features:

  • Dependency-aware reconciliation
  • Configurable deletion policies (delete or orphan)
  • Status tracking (Ready, Progressing, Terminating, Unknown)
  • Multiple cleaner support for cleanup operations
pkg/flux

Provides helpers for deploying Helm charts through Flux.

Key Functions:

  • ManageHelmRelease(): Function to register a HelmRelease with a OCIRepository source
pkg/secret

Utilities for managing Kubernetes secrets across clusters.

Key Functions:

  • ManagePullSecret(): Register an image-pull secret copy
  • NewCleaner(): Create a cleaner for managed pull secrets
  • PrefixName(): Prefix and validate secret names to Kubernetes limits

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 at 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

Copyright OpenControlPlane contributors. 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.


BMWK-EU funding logo

OpenControlPlane is part of ApeiroRA, an EU Important Project of Common European Interest (IPCEI-CIS).

Copyright Linux Foundation Europe. For web site terms of use, trademark policy and other project policies please see https://linuxfoundation.eu/en/policies.

Directories

Path Synopsis
pkg
objectmanager/flux
Package flux provides helpers for deploying Helm charts through Flux.
Package flux provides helpers for deploying Helm charts through Flux.
objectmanager/secret
Package secret provides object-manager helpers for copying Kubernetes secrets.
Package secret provides object-manager helpers for copying Kubernetes secrets.

Jump to

Keyboard shortcuts

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