Socket
Socket
Sign inDemoInstall

github.com/open-component-model/replication-controller

Package Overview
Dependencies
294
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/open-component-model/replication-controller


Version published

Readme

Source

REUSE status

replication-controller

The replication-controller is part of the Open Component Model Kubernetes controller set that enables transferring components from one OCM repository to another.

The behaviour of the replication-controller is similar to that of the ocm transfer command with the addition of a reconciliation loop. It can therefore be used to "subscribe" to components and ensure that any component versions matching a semantic version constraint will be replicated from the source OCM repository to the destination.

Installation

Install the latest version of the controller using the following command:

VERSION=$(curl -sL https://api.github.com/repos/open-component-model/replication-controller/releases/latest | jq -r '.name')

kubectl apply -f https://github.com/open-component-model/replication-controller/releases/download/$VERSION/install.yaml

Usage

apiVersion: delivery.ocm.software/v1alpha1
kind: ComponentSubscription
metadata:
  name: podify-subscription
  namespace: ocm-system
spec:
  interval: 10m
  component: github.com/weaveworks/podify
  semver: "=>v1.0.0"
  source:
    url: ghcr.io/phoban01
    secretRef:
      name: creds
  destination:
    url: ghcr.io/$GITHUB_USER
    secretRef:
      name: creds
  verify:
  - signature:
      name: signature-name
      publicKey:
        secretRef:
          name: public-key-secret

Contributing

Code contributions, feature requests, bug reports, and help requests are very welcome. Please refer to the Contributing Guide in the Community repository for more information on how to contribute to OCM.

OCM follows the CNCF Code of Conduct.

Licensing

Copyright 2022-2023 SAP SE or an SAP affiliate company and Open Component Model 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.

FAQs

Last updated on 20 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc