gitops-commit

command module
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

gitops-commit

Go module that lands rendered files in GitOps repositories as the person: Flux provenance, SOPS encryption for the repository's recipients, branch, commit, pull request and merge.

Packages

  • provenance — find the GitHub repository, branch and directory behind a Flux Kustomization.
  • target — find where a commit about a live object, or a new object in a namespace, goes, reading Flux objects with the caller's Kubernetes client.
  • sopsenc — encrypt secret files for the repository's SOPS recipients and generate secret values.
  • layout — organize files and plan changes to GitOps directories and workload clusters.
  • commit — create commits and pull requests, then merge approved changes using the caller's GitHub identity.

See the development guide for package details.

Who imports it

GitHub dependents

Identity

The caller supplies the GitHub token used for every operation. Commits, pull requests and merges use the identity associated with that token. The module does not store tokens or private keys, or manage a GitHub App.

If GitHub rejects the token with a 401 or 403 response, the module returns commit.ErrAuth with the status code. The caller handles sign-in. The module never retries with a different identity.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package commit lands rendered files in GitOps repositories as the person: a branch, one commit per repository, the pull request carrying the caller's text, and the merge once the caller says approved and the checks are green.
Package commit lands rendered files in GitOps repositories as the person: a branch, one commit per repository, the pull request carrying the caller's text, and the merge once the caller says approved and the checks are green.
Package layout is where a writer's files go in a GitOps repository and what one write changes there: every writer (a manager, a CLI) owns one directory under the directory a Flux Kustomization builds from, holding one file per object and its own kustomization.yaml that lists them, and the parent's kustomization.yaml, where there is one, lists the directory.
Package layout is where a writer's files go in a GitOps repository and what one write changes there: every writer (a manager, a CLI) owns one directory under the directory a Flux Kustomization builds from, holding one file per object and its own kustomization.yaml that lists them, and the parent's kustomization.yaml, where there is one, lists the directory.
Package provenance answers where a target's GitOps files live: the owning GitHub repository, branch and directory.
Package provenance answers where a target's GitOps files live: the owning GitHub repository, branch and directory.
Package sopsenc encrypts a repository's secret files for the age recipients of the matching creation rule of its .sops.yaml.
Package sopsenc encrypts a repository's secret files for the age recipients of the matching creation rule of its .sops.yaml.
Package target answers where a commit about a live object goes: the repository, branch and directory its file lives in (an edit), or where a new object in a namespace goes.
Package target answers where a commit about a live object goes: the repository, branch and directory its file lives in (an edit), or where a new object in a namespace goes.

Jump to

Keyboard shortcuts

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