get-secret

gearnode/get-secret/kubernetes

Terraform Module HCL KUBERNETES ⏱ stale 3y 1mo

Terraform module to get value in Kubernetes secrets store

Install

module "get-secret" {
source = "gearnode/get-secret/kubernetes"
version = "0.3.1"
}
⭐ Source on GitHub 📦 Registry page

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)

NameTypeDescriptionDefault
namestring required
keystring required
namespacestring required
contextstring required

Outputs (1)

result

Details

FrameworkTerraform Module
LanguageHCL
Version0.3.1
Cloud KUBERNETES
★ Stars3
Forks8
Total downloads5.6k
Inputs4
Outputs1
LicenseMIT
Namespacegearnode
Updated