namespace-setup

DeimosCloud/namespace-setup/kubernetes

Terraform Module HCL KUBERNETES
Install
module "namespace-setup" {
source = "DeimosCloud/namespace-setup/kubernetes"
version = "1.0.1"
}
plain text: /constructs/tfmod-deimoscloud-namespace-setup-kubernetes/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform Kubernetes Cert Manager Module A terraform module to setup a namespace. It creates a namespace and configures secrets, pull secrets and configs. Usage ``hcl module "apps_namespace_setup" { source = "." labels = local.common_labels namespace = local.apps_namespace namespace_labels = { "argocd.argoproj.io/instance" = "argocd-applications" # Allow Argocd admit it without destruction } namespace_annotations = { "linkerd.io/inject" = "enabled" "config.linkerd.io/skip-outbound-ports" = "4222,3306,6379" #nats, mysql and redis } secret_data = { "postgres-user" = local.db_user_name "postgres-password" = module.postgres.generated_user_password "postgres-host" = module.postgres.private_ip_address "postgres-database" = local.db_name "ratings-database" = local.ratings_db_name "redis-host" = m

Inputs (13)
NameTypeDescriptionDefault
secret_generate_namestringPrefix, used by the server, to generate a unique name.This value will also be co required
pull_secret_namestringThe name of the pull secret required
pull_secret_usernamestringThe username for the pull secret e.g _json_key for GCP SA required
pull_secret_passwordstringThe base64 encoded password to be used as pull secret creds required
pull_secret_registrystringRegistry server URL required
namespacestringthe name of the namespace to be created required
namespace_labelsmapLabels to be applied to the created namespace{}
secret_datamapdata to be populated into config secret created in namespace{}
create_namespaceboolWhether to create namespace or nottrue
namespace_annotationsmapAnnotations to be applied to the created namespace{}
labelsmapExtra labels to be added to all created resources{}
secret_namestringThe name of the secret to create and store variables as"config"
secret_typestringThe type of the secret to create. (default Opaque)"Opaque"
Resources (2)
kubernetes_namespacekubernetes_secret
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.1
Cloud KUBERNETES
★ Stars0
Forks4
Total downloads6.0k
Inputs13
Resources2
LicenseApache-2.0
NamespaceDeimosCloud
Updated