get-secret
gearnode/get-secret/kubernetes
Terraform module to get value in Kubernetes secrets store
Install
README
Terraform Module: Get Kubernetes Secret Value > This repository is a Terraform Module to use Kubernetes secrets as data. Table of Contents - Requirements - Dependencies - Usage - Module Variables - Contributing - Maintainers Requirements This module requires Terraform version 0.10.x or newer and a valid out-of-cluster Kubernetes configuration at the default path ($HOME/.kube/config) or the path defined by $KUBECONFIG. Usage Add the module to your Terraform resources: ``hcl module "rds-postgres-password" { source = "github.com/gearnode/terraform-kubernetes-get-secret?ref=v0.3.1" namespace = "default" name = "terraform" key = "database-password" context = "supercontext" } ` and load the module using terraform get. Module Variables Available variables are listed below, along with their defaul
Inputs (4)
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | required | |
| key | string | required | |
| namespace | string | required | |
| context | string | required |
Outputs (1)
resultDetails
Similar packages
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,