Giter Site home page Giter Site logo

landscapercli's Introduction

Landscaper CLI

The Landscaper CLI supports users to develop, maintain, and test components processed by the Landscaper. This comprises the handling of objects like component descriptors, blueprints, installations, etc.

The Landscaper CLI integrates the commands of the Components CLI.

The Landscaper CLI adds commands for the following use cases:

  • Automatic setup of a landscaper and an OCI registry for development
  • Development of components including a component descriptor and blueprint
  • Local validation of such components
  • Support for testing components on a kubernetes cluster
  • Support for accessing and maintaining components with a blueprint in OCI registry

Remark: This version of the Landscaper CLI requires that you have installed helm version 3.7 or higher due to some fundamental API changes especially with respect to the handling of helm charts stored as OCI resources.

Installation

Install the latest release via Nix, download binaries directly from GitHub Releases, or build and install directly from source.

Install using Nix (with Flakes)

# Nix (macOS, Linux, and Windows)
# ad hoc cmd execution
nix run github:gardener/landscapercli -- --help

# install development version
nix profile install github:gardener/landscapercli
# or release <version>
nix profile install github:gardener/landscapercli/<version>

#check installation
nix profile list | grep landscapercli

# optionally, open a new shell and verify that cmd completion works
landscaper-cli --help

Install from Github Release

If you install via GitHub releases, you need to

  • download the correct binary artifact for your os and architecture
  • unpack and put the landscapercli binary on your path

You can use this boilerplate:

# set operating system and architecture
os=darwin # choose between darwin, linux
arch=amd64 # choose between amd64

# Get latest version, unzip, make executable
curl -LO "curl -LO https://github.com/gardener/landscapercli/releases/latest/download/landscapercli-${os}-${arch}.gz"
gunzip landscapercli-${os}-${arch}.gz
chmod +x ./landscapercli-${os}-${arch}

# Move the binary in to your PATH
sudo mv ./landscapercli-${os}-${arch} /usr/local/bin/landscaper-cli

Build from source

Instructions can be found here.

Documentation

Detailed descriptions for commands could be found here.

The command reference is located here.

The Landscaper CLI support the installation of the Docker OCI registry with the quickstart command.

A description how to access an OCI registry which requires authentication with the Landscaper CLI can be found here.

Other examples: https://github.com/gardener/landscaper/blob/master/docs/tutorials/02-simple-import.md

landscapercli's People

Contributors

achimweigel avatar robertgraeff avatar guewa avatar enrico-kaack-comp avatar jschicktanz avatar gardener-robot-ci-1 avatar gardener-robot-ci-2 avatar gardener-robot-ci-3 avatar dependabot[bot] avatar reshnm avatar diaphteiros avatar jensh007 avatar gardener-robot avatar 8r0wni3 avatar vasu1124 avatar in-ko avatar danielfoehrkn avatar zkdev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.