GithubHelp home page GithubHelp logo

flux-clone's Introduction

flux-clone

Downloads artifact advertised by Flux's source-controller.

Example

~ kubectl get gitrepository --namespace gitops
NAME      URL                              AGE   READY   STATUS
basic     https://github.com/random/repo   30m   True    stored artifact for revision 'main/b7001a544cf5052fefc80c6c1e0b8d6b454010a3'

~ flux-clone --namespace gitops --name basic
2022/10/25 13:02:49 Starting port forwarding to flux-system/source-controller 8080:80...
2022/10/25 13:02:52 Downloading and untarring the source...
2022/10/25 13:02:52 Downloaded "http://localhost:8080/gitrepository/flux-system/basic/latest.tar.gz"
2022/10/25 13:02:52 Untarred in "/tmp/flux-system-basic-latest-4113538677"
2022/10/25 13:02:52 Ended port forwarding

~ cd /tmp/flux-system-basic-latest-4113538677

/tmp/flux-system-basic-latest-4113538677 ls
flux-manifests/  README.md

Usage

  • local-port - local port for port-forward (default: 8080)
  • name - Source name
  • namespace - Source namespace (default: flux-system)
  • revision - Source revision (default: latest)
  • service-name - source-controller's Service name (default: source-controller)
  • service-namespace - source-controller's Service namespace (default: flux-system)
  • service-port - source-controller's Service port for port-forward
  • source-type - type of source to use: gitrepository, helmchart (default: gitrepository)

flux-clone's People

Contributors

kubasobon avatar

Watchers

 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.