namespace

kiwicom/namespace/kubernetes

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

terraform-kubernetes-namespace Usage ``hcl-terraform module "example_namespace" { source = "kiwicom/namespace/kubernetes" version = "~> 2.0.0" project_id = "gcp-project-id" name = "example-namespace" gitlab_rancher_password = "GITLAB_REGISTRY_PASSWORD" run_template_dir = false vault_sync = { addr = "https://your-vault-address" base_path = var.VAULT_PROJECT_SECRETS_PATH secrets_path = "" target_secret_name = "" reconcile_period = "" } } ` vault_sync vault_sync will not be configured by default and in order to enable it, you need to include a vault_sync block. Working mode will depend on given parameters and whether your project is in shared VPC or not. addr: Vault address, must be provided base_path: base path for the Vault secrets, must be provided secrets_path: path to Vault secrets. Defa

Inputs (20)
NameTypeDescriptionDefault
namestringNamespace name required
gitlab_rancher_passwordstringGitlab password of Rancher user required
project_idstringGoogle Cloud Platform project id required
memory_limitstringMemory Limit"1Gi"
shared_vpcstringDeclares whether project is within shared VPCtrue
gitlab_rancher_usernamestringGitlab username of Rancher user"rancher"
memory_requeststringMemory Request"500M"
cpu_requeststringCPU Request"400m"
cpu_limitstringCPU Limit"800m"
additional_k8s_varsmap(string){}
create_vault_write_policystringWhether a new Vault policy should be created to grant write access to these secrfalse
gcr_sastringService account for accessing eu.gcr.io Docker registry (base64 encoded)""
labelsmap(string){}
run_template_dirstringtrue
deploy_userstring""
should_create_deploy_userstring1
k8s_sources_pathstringPath to k8s root directory, default is '$${path.root}/k8s/'""
rancher2_project_idstring""
vault_syncobject({ addr { "addr": "", "base_path": "", "re
gitlab_registrystringGitlab registry from where to pull images"registry.skypicker.com:5005"
Outputs (2)
ns_info
ci_deploy_secret
Resources (15)
google_project_iam_membergoogle_service_accountkubernetes_cluster_rolekubernetes_cluster_role_bindingkubernetes_limit_rangekubernetes_namespacekubernetes_priority_classkubernetes_rolekubernetes_role_bindingkubernetes_secretkubernetes_service_accounttemplate_dirvault_policyvault_tokenvault_token_auth_backend_role
Details
FrameworkTerraform Module
LanguageHCL
Version3.0.3
Cloud KUBERNETES
Total downloads161.0k
Inputs20
Outputs2
Resources15
Namespacekiwicom
Updated