GithubHelp home page GithubHelp logo

jobrientc / jx-secret Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jenkins-x-plugins/jx-secret

0.0 0.0 0.0 1.56 MB

a binary plugin for working with Kubernetes External Secrets

License: Apache License 2.0

Shell 6.89% Go 89.62% Makefile 2.41% Smarty 1.04% Dockerfile 0.03%

jx-secret's Introduction

jx-secret

Documentation Go Report Card Releases LICENSE Slack Status

jx-secret is a small command line tool working with Kubernetes External Secrets.

You can find more about how we use the jx-secret binary binary inside Jenkins X in the guide on working with Secrets

Getting Started

Download the jx-secret binary for your operating system and add it to your $PATH.

See the jx-secret command reference for the available commands

Schema

To improve the UX around editing Secrets via jx secret edit or populating initial or generated secrets on first install via jx secret populate we use a Schema definition (similar to JSON Schema) which allows you to provide better validation and configuration for default values and the generator to be used.

For details of the schema configuration see Schema.

Secret Schema detection

The schema files are usually detected for charts via the version stream at versionStream/charts/$repoName/$chartName/secret-schema.yaml

If you are adding your own charts and want your own secret schemas outside of the version stream then you can place them at: charts/$repoName/$chartName/secret-schema.yaml.

Though we would welcome contributions to the version stream so that we can add common secret schemas for popular helm charts so that they just work OOTB with external secrets.

Mappings

When using the jx-secret convert command to generate ExternalSecret CRDs you may wish to use a custom mapping of Secret names and data keys to key/properties in Vault.

To do this just create a .jx/secret/mapping/secret-mapping.yaml file in your directory tree when running the command.

You can then customise the key and/or property values that are used in the generated ExternalSecret CRDs

For more details see the Mapping Configuration Reference

Reference Guides

Commands

See the jx-secret command reference

Configuration

The configuration file formats and schema references are here:

jx-secret's People

Contributors

jstrachan avatar jenkins-x-bot-test avatar rawlingsj avatar jenkins-x-bot avatar pow-devops2020 avatar ankitm123 avatar msvticket avatar dali546 avatar dependabot-preview[bot] avatar hervelemeur avatar heroic avatar juneezee avatar patrickleet avatar vbehar avatar osamamagdy avatar rajatgupta24 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.