Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blackbird-cloud/terraform-google-gke-namespace
Simple namespace creator for GKE clusters
https://github.com/blackbird-cloud/terraform-google-gke-namespace
gke google kubernetes namespace terraform
Last synced: about 2 months ago
JSON representation
Simple namespace creator for GKE clusters
- Host: GitHub
- URL: https://github.com/blackbird-cloud/terraform-google-gke-namespace
- Owner: blackbird-cloud
- License: apache-2.0
- Created: 2022-09-08T15:21:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-18T11:51:16.000Z (4 months ago)
- Last Synced: 2024-09-18T16:39:21.114Z (4 months ago)
- Topics: gke, google, kubernetes, namespace, terraform
- Language: HCL
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform Google Gke Namespace Module
Simple namespace creator for GKE clusters[![blackbird-logo](https://raw.githubusercontent.com/blackbird-cloud/terraform-module-template/main/.config/logo_simple.png)](https://blackbird.cloud)
## Example
```hcl
module "namespace" {
source = "blackbird-cloud/gke-namespace/google"
version = "~> 1"cluster_name = "my-cluster"
location = "europe-west4"name = "mynamespace"
labels = {
my = "label"
}
annotations = {
my = "annotation"
}
}provider "google" {
project = "my-project"
}
```## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1 |
| [google](#requirement\_google) | ~> 4 |
| [kubernetes](#requirement\_kubernetes) | ~> 2 |## Providers
| Name | Version |
|------|---------|
| [google](#provider\_google) | ~> 4 |## Resources
| Name | Type |
|------|------|
| [google_client_config.provider](https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/client_config) | data source |
| [google_container_cluster.my_cluster](https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/container_cluster) | data source |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [annotations](#input\_annotations) | (Optional) An unstructured key value map stored with the namespace that may be used to store arbitrary metadata. | `map(string)` | `{}` | no |
| [cluster\_name](#input\_cluster\_name) | (Required) - The name of the cluster. | `string` | n/a | yes |
| [labels](#input\_labels) | (Optional) Map of string keys and values that can be used to organize and categorize (scope and select) namespaces. May match selectors of replication controllers and services. | `map(string)` | `{}` | no |
| [location](#input\_location) | (Required) - The location (zone or region) this cluster has been created in. | `string` | n/a | yes |
| [name](#input\_name) | Name of the namespace, must be unique. Cannot be updated. | `string` | n/a | yes |## Outputs
| Name | Description |
|------|-------------|
| [namespace](#output\_namespace) | The created Namespace on Kubernetes. |## About
We are [Blackbird Cloud](https://blackbird.cloud), Amsterdam based cloud consultancy, and cloud management service provider. We help companies build secure, cost efficient, and scale-able solutions.
Checkout our other :point\_right: [terraform modules](https://registry.terraform.io/namespaces/blackbird-cloud)
## Copyright
Copyright © 2017-2024 [Blackbird Cloud](https://blackbird.cloud)