Code Monkey home page Code Monkey logo

helm-blob's Introduction

helm-blob Build Status

helm-blob plugin allows you to manage helm repositories on the blob storage like Azure Blob, GCS, S3, etc.

This plugin supports operations like uploading or deletion of charts from remote Helm Repository hosted on Blob Storage. It could be used to initialize the new Helm Repository.

helm-blob was inspired by Alex Khaerov's helm-gcs plugin with extending support for Azure Blob storage and S3, which makes helm-blob to support Azure Blob, GCS, S3 storage.

This plugin uses Go Cloud's Blob package.

Installation

helm plugin install https://github.com/C123R/helm-blob.git

To install specific version of:

helm plugin install https://github.com/C123R/helm-blob.git --version 0.3.1

If you are still using Helm Below Version 3:

helm plugin install https://github.com/C123R/helm-blob.git --version 0.1.1

Usage

Note: This plugin will not provide new blob storage, You must first create blob storage container/bucket that will be used as a remote chart repository.

  • Initialize a new chart repository

    helm blob init azblob://helmrepo
    
    OR
    
    helm blob init gs://helmrepo/charts
  • Add your repository to Helm

    helm repo add azurehelm azblob://helmrepo
  • Push a new chart to your repository

    helm blob push mychart.tar.gz azurehelm

    You can also push multiple charts from specific directory:

    helm blob push helm-charts/ gcsblob azurehelm

    This will publish all charts under helm-charts directory.

  • Updating Helm cache (Required after pushing new chart)

    helm repo update
  • Fetch the chart

    helm fetch azurehelm/mychart
  • Delete a chart

    helm blob delete mychart azurehelm

    Note: This will delete all chart versions from remote repository. To delete a specific chart:

    helm blob delete mychart -v 0.3.0 azurehelm

Authentication

Helm blob's plugin authentication varies depending upon the blob provider as mentioned below:

  • S3

    S3 provider support AWS default credential provider chain in the following order:

    • Environment variables.

    • Shared credentials file.

    • If your application is running on an Amazon EC2 instance, IAM role for Amazon EC2.

  • Azure Blob

    Currently it supports authentication only with environment variables:

    • AZURE_STORAGE_ACCOUNT
    • AZURE_STORAGE_KEY or AZURE_STORAGE_SAS_TOKEN
  • GCS provider uses Application Default Credentials in the following order:

    • Environment Variable (GOOGLE_APPLICATION_CREDENTIALS)
    • Default Service Account from the compute instance(Compute Engine, Kubernetes Engine, Cloud function etc).

    To authenticate against GCS you can:

    See the GCP documentation for more information.

helm-blob's People

Contributors

c123r avatar vanto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

vanto ptc-global

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.