namespace
kiwicom/namespace/kubernetes
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
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | Namespace name | required |
| gitlab_rancher_password | string | Gitlab password of Rancher user | required |
| project_id | string | Google Cloud Platform project id | required |
| memory_limit | string | Memory Limit | "1Gi" |
| shared_vpc | string | Declares whether project is within shared VPC | true |
| gitlab_rancher_username | string | Gitlab username of Rancher user | "rancher" |
| memory_request | string | Memory Request | "500M" |
| cpu_request | string | CPU Request | "400m" |
| cpu_limit | string | CPU Limit | "800m" |
| additional_k8s_vars | map(string) | {} | |
| create_vault_write_policy | string | Whether a new Vault policy should be created to grant write access to these secr | false |
| gcr_sa | string | Service account for accessing eu.gcr.io Docker registry (base64 encoded) | "" |
| labels | map(string) | {} | |
| run_template_dir | string | true | |
| deploy_user | string | "" | |
| should_create_deploy_user | string | 1 | |
| k8s_sources_path | string | Path to k8s root directory, default is '$${path.root}/k8s/' | "" |
| rancher2_project_id | string | "" | |
| vault_sync | object({ addr | {
"addr": "",
"base_path": "",
"re | |
| gitlab_registry | string | Gitlab registry from where to pull images | "registry.skypicker.com:5005" |
ns_infoci_deploy_secret