weave-gitops

module
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: MPL-2.0

README

Weave GitOps

Test status LICENSE Contributors Release FOSSA Status OpenSSF Best Practices

Weave GitOps is a simple, open source developer platform for people who want cloud native applications but who don't have Kubernetes expertise. Experience how easy it is to enable GitOps and run your apps in a cluster. Use Git to collaborate with team members making new deployments easy and secure. Start with what developers need to run apps, and then easily extend to define and run your own enterprise platform.

From Kubernetes run Weave GitOps to get:

  1. Application Operations: manage and automate deployment pipelines for apps and more
  2. Platforms: the easy way to have your own custom PaaS on cloud or on premise
  3. Extensions: coordinate Kubernetes rollouts with eg. VMs, databases, and cloud services

Our vision is that all cloud native applications should be easy for developers, and that operations should be automated and secure. Weave GitOps is a highly extensible tool to achieve this by placing Kubernetes and GitOps at the core and building a platform around that.

Weave GitOps defaults are Flux as the GitOps engine, Kustomize, Helm, Sops, and Kubernetes CAPI. If you use Flux already, then you can easily add Weave GitOps to create a platform management overlay.

Weave GitOps Open Source provides:

  • Continuous Delivery through GitOps for apps and infrastructure.
  • Support for GitHub, GitLab, and Bitbucket; S3-compatible buckets as a source; all major container registries; and all CI workflow providers.
  • A secure, pull-based mechanism, operating with least amount of privileges, and adhering to Kubernetes security policies.
  • Compatibility with any conformant Kubernetes version and common ecosystem technologies such as Helm, Kustomize, RBAC, Prometheus, OPA, Kyverno, etc.
  • Multitenancy, multiple Git repositories, multiple clusters.
  • Alerts and notifications.
Manage and view applications all in one place.

Application Page

Easily see your continuous deployments and what is being produced via GitOps. There are multiple views for debugging as well as being able to sync your latest Git commits directly from the UI.

Reconciliation Page

Check out the Graph view.

Graph View

Review the yaml file.

Yaml View

See your entire source landscape whether it is a git repository, helm repository, or bucket.

Sources view

Quickly see the health of your reconciliation deployment runtime. These are the workers that are ensuring your software is running on the Kubernetes cluster.

Flux Runtime

Getting Started

CLI Installation

Mac / Linux

curl --silent --location "https://github.com/weaveworks/weave-gitops/releases/download/v0.38.0/gitops-$(uname)-$(uname -m).tar.gz" | tar xz -C /tmp
sudo mv /tmp/gitops /usr/local/bin
gitops version

Alternatively, users can use Homebrew:

brew tap weaveworks/tap
brew install weaveworks/tap/gitops

Please see the getting started guide.

CLI Reference

Command line utility for managing Kubernetes applications via GitOps.

Usage:
  gitops [command]

Examples:

  # Get help for gitops add cluster command
  gitops add cluster -h
  gitops help add cluster

  # Get the version of gitops along with commit, branch, and flux version
  gitops version

  To learn more, you can find our documentation at https://docs.gitops.weave.works/


Available Commands:
  beta        This component contains unstable or still-in-development functionality
  check       Validates flux compatibility
  completion  Generate the autocompletion script for the specified shell
  create      Creates a resource
  get         Display one or many Weave GitOps resources
  help        Help about any command
  version     Display gitops version

Flags:
  -e, --endpoint WEAVE_GITOPS_ENTERPRISE_API_URL   The Weave GitOps Enterprise HTTP API endpoint can be set with WEAVE_GITOPS_ENTERPRISE_API_URL environment variable
  -h, --help                                       help for gitops
      --insecure-skip-tls-verify                   If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
      --kubeconfig string                          Paths to a kubeconfig. Only required if out-of-cluster.
      --namespace string                           The namespace scope for this operation (default "flux-system")
  -p, --password WEAVE_GITOPS_PASSWORD             The Weave GitOps Enterprise password for authentication can be set with WEAVE_GITOPS_PASSWORD environment variable
  -u, --username WEAVE_GITOPS_USERNAME             The Weave GitOps Enterprise username for authentication can be set with WEAVE_GITOPS_USERNAME environment variable

Use "gitops [command] --help" for more information about a command.

For more information please see the docs

FAQ

Please see our Weave GitOps OSS FAQ

Contribution

Need help or want to contribute? Please see the links below.

License scan details

FOSSA Status

Directories

Path Synopsis
cmd
core
clustersmngr/cluster/clusterfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
clustersmngr/clustersmngrfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
nsaccess/nsaccessfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
pkg
api/core
Package api is a reverse proxy.
Package api is a reverse proxy.
api/profiles
Package profiles is a reverse proxy.
Package profiles is a reverse proxy.
featureflags
The featureflags module exists to control optional functionality
The featureflags module exists to control optional functionality
flux/fluxfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
git
git/gitfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
git/wrapper/wrapperfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
gitproviders/gitprovidersfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
openapi-client
Package wego_client provides primitives to interact with the openapi HTTP API.
Package wego_client provides primitives to interact with the openapi HTTP API.
run
runner/runnerfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
s3
services/auth/authfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
services/auth/types/typesfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
services/servicesfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
tls
vendorfakes/fakegitprovider
Code generated by counterfeiter.
Code generated by counterfeiter.
vendorfakes/fakehttp
Code generated by counterfeiter.
Code generated by counterfeiter.
vendorfakes/fakelogr
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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