All Projects → codacy → helm-ssm

codacy / helm-ssm

Licence: MIT License
Injects values from AWS SSM parameters on the values.yaml file

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to helm-ssm

hull
The incredible HULL - Helm Uniform Layer Library - is a Helm library chart to improve Helm chart based workflows
Stars: ✭ 66 (+53.49%)
Mutual labels:  helm, helm-plugin, helm3
helm-starter
A helm plugin for managing chart starters.
Stars: ✭ 32 (-25.58%)
Mutual labels:  helm, helm-plugin
helm-inject
Inject additional configurations during Helm upgrade
Stars: ✭ 17 (-60.47%)
Mutual labels:  helm, helm-plugin
helm-clientgo-example
helm client-go example to add helm repo, fetch charts and install chart
Stars: ✭ 27 (-37.21%)
Mutual labels:  helm, helm3
drone-helm3
Helm3 plugin for Drone CI
Stars: ✭ 20 (-53.49%)
Mutual labels:  helm, helm3
helm-schema-gen
So that you don't have to write values.schema.json by hand from scratch for your Helm 3 charts. [CURRENTLY NOT MAINTAINED]
Stars: ✭ 104 (+141.86%)
Mutual labels:  helm, helm-plugin
helm-backup
Helm plugin which performs backup/restore of releases in a namespace to/from a file
Stars: ✭ 70 (+62.79%)
Mutual labels:  helm, helm-plugin
helm-github
A Helm plugin to install raw Helm Charts from Github
Stars: ✭ 54 (+25.58%)
Mutual labels:  helm, helm-plugin
github-action-helm3
Slim wrapper around helm3
Stars: ✭ 33 (-23.26%)
Mutual labels:  helm, helm3
helm-spray
Helm plugin for installing or upgrading sub-charts from an umbrella-chart using dependency orders
Stars: ✭ 64 (+48.84%)
Mutual labels:  helm, helm-plugin
helm-certgen
Helm plugin for generation of TLS certificates
Stars: ✭ 15 (-65.12%)
Mutual labels:  helm, helm-plugin
helm-namespace
Namespace auto-creation for Helm 3
Stars: ✭ 29 (-32.56%)
Mutual labels:  helm, helm-plugin
helm-edit
Edit a Helm release
Stars: ✭ 109 (+153.49%)
Mutual labels:  helm, helm-plugin
helm-whatup
A Helm plugin to help users determine if there's an update available for their installed charts.
Stars: ✭ 37 (-13.95%)
Mutual labels:  helm, helm-plugin
helm-github
Implement a Helm chart repository with GitHub pages
Stars: ✭ 18 (-58.14%)
Mutual labels:  helm, helm-plugin
helm-mapkubeapis
This is a Helm plugin which map deprecated or removed Kubernetes APIs in a release to supported APIs
Stars: ✭ 287 (+567.44%)
Mutual labels:  helm, helm-plugin
helm-local
Helm plugin to run Tiller as a local daemon
Stars: ✭ 22 (-48.84%)
Mutual labels:  helm, helm-plugin
helm-unittest
BDD styled unit test framework for Kubernetes Helm charts as a Helm plugin.
Stars: ✭ 276 (+541.86%)
Mutual labels:  helm, helm-plugin
aws-ses-template-manager
A simple application offering an interface for CRUD management of AWS SES templates across all compatible regions and with your own choice of credentials profile. A great GUI productivity tool that can be setup and run locally in seconds (see readme).
Stars: ✭ 23 (-46.51%)
Mutual labels:  amazon-web-services
webpack-aws-lambda
AWS Lambda that runs webpack and output the bundle.js file
Stars: ✭ 12 (-72.09%)
Mutual labels:  amazon-web-services

Helm SSM Plugin

Codacy Badge CircleCI

This is a helm3 plugin to help developers inject values coming from AWS SSM parameters, on the values.yaml file. It also leverages the wonderful sprig package, thus making all its functions available when parsing.

Since helm2 is deprecated the current version of the plugin only supports helm3. The last version to support helm2 is v2.2.1. There will be no further patches or updates to this legacy version.

Usage

Loads a template file, and writes the output.

Simply add placeholders like {{ssm "path" "option1=value1" }} in your file, where you want it to be replaced by the plugin.

Currently the plugin supports the following options:

  • region=eu-west-1 - to resolve that parameter in a specific region
  • default=some-value - to give a default string value when the ssm parameter is optional. The plugin will throw an error when values are not defined and do not have a default.
  • prefix=/something - you can use this to specify a given prefix for a parameter without affecting the path. It will be concatenated with the path before resolving.

Values file

service:
ingress:
  enabled: false
  hosts:
    - service.{{ssm "/exists/subdomain" }}
    - service1.{{ssm "/empty/subdomain" "default=codacy.org" }}
    - service2.{{ssm "/exists/subdomain" "default=codacy.org" "region=eu-west-1" }}
    - service3.{{ssm "/subdomain" "default=codacy.org" "region=eu-west-1" "prefix=/empty" }}
    - service4.{{ssm "/securestring" }}

when you do not want a key to be defined, you can use a condition and an empty default value:

service:
ingress:
  enabled: false
  hosts:
    {{- with $subdomain := (ssm "/exists/subdomain" "default=") }}{{ if $subdomain }}
    - service.{{$subdomain}}
    {{- end }}{{- end }}

Command

$ helm ssm [flags]

Flags

  -d, --dry-run                 does not replace the file content
  -h, --help                    help for ssm
  -p, --profile string          aws profile to fetch the ssm parameters
  -o, --target-dir string       dir to output content
  -f, --values valueFilesList   specify values in a YAML file (can specify multiple) (default [])
  -v, --verbose                 show the computed YAML values file/s

Example

asciicast

Install

Choose the latest version from the releases and install the appropriate version for your OS as indicated below.

$ helm plugin add https://github.com/codacy/helm-ssm

Developer (From Source) Install

If you would like to handle the build yourself, instead of fetching a binary, this is how we recommend doing it.

  • Make sure you have Go installed.

  • Clone this project

  • In the project directory run

$ make install

What is Codacy

Codacy is an Automated Code Review Tool that monitors your technical debt, helps you improve your code quality, teaches best practices to your developers, and helps you save time in Code Reviews.

Among Codacy’s features

  • Identify new Static Analysis issues
  • Commit and Pull Request Analysis with GitHub, BitBucket/Stash, GitLab (and also direct git repositories)
  • Auto-comments on Commits and Pull Requests
  • Integrations with Slack, HipChat, Jira, YouTrack
  • Track issues in Code Style, Security, Error Proneness, Performance, Unused Code and other categories

Codacy also helps keep track of Code Coverage, Code Duplication, and Code Complexity.

Codacy supports PHP, Python, Ruby, Java, JavaScript, and Scala, among others.

Free for Open Source

Codacy is free for Open Source projects.

License

helm-ssm is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].