Skip to content

Latest commit

 

History

History
80 lines (69 loc) · 7.77 KB

terraform-docs.md

File metadata and controls

80 lines (69 loc) · 7.77 KB

Requirements

Name Version
gitlab >= 3.18.0
helm >= 2.7.1
kubernetes >= 2.15.0

Providers

Name Version
gitlab 15.8.0
google 4.52.0
helm 2.8.0
kubernetes 2.17.0

Modules

No modules.

Resources

Name Type
gitlab_cluster_agent.this resource
gitlab_cluster_agent_token.this resource
gitlab_repository_file.agent_config resource
helm_release.gitlab_agent resource
kubernetes_cluster_role_binding_v1.gitlab-kubernetes-agent-write-cm resource
kubernetes_cluster_role_v1.gitlab-kubernetes-agent-write-cm resource
kubernetes_namespace.product resource
kubernetes_namespace_v1.gitlab resource
kubernetes_role_binding_v1.gitlab_agent-read resource
kubernetes_role_binding_v1.gitlab_agent-read-product_namespace resource
kubernetes_role_binding_v1.gitlab_agent-read_cm resource
kubernetes_role_binding_v1.gitlab_agent-write resource
kubernetes_role_binding_v1.gitlab_agent-write-product_namespace resource
kubernetes_role_binding_v1.gitlab_agent-write_cm resource
kubernetes_role_v1.gitlab_agent-read resource
kubernetes_role_v1.gitlab_agent-read-product_namespace resource
kubernetes_role_v1.gitlab_agent-read_cm resource
kubernetes_role_v1.gitlab_agent-write resource
kubernetes_role_v1.gitlab_agent-write-product_namespace resource
kubernetes_role_v1.gitlab_agent-write_cm resource
kubernetes_service_account_v1.gitlab resource
google_client_config.default data source
google_container_cluster.my_cluster data source

Inputs

Name Description Type Default Required
agentk_image_tag Tag of agentk image string "v15.9.0-rc1" no
agentk_image_url Image URL of Gitlab agentk image hosted in a container registry string "registry.gitlab.com/gitlab-org/cluster-integration/gitlab-agent/agentk" no
cluster_location The location (zone or region) this cluster has been created in. One of location, region, zone, or a provider-level zone must be specified. string n/a yes
cluster_name The name of the cluster string n/a yes
config_author_email Author email to use for commits in gitlab repo string "" no
config_author_name Author name to use for commits in gitlab repo string "" no
gitlab_agent Name of gitlab KAS agent string "gitlab-kas" no
gitlab_agent_chart_name Name of gitlab agent chat in repository string "gitlab-agent" no
gitlab_agent_chart_repo Repository for gitlab Helm chart string "https://charts.gitlab.io" no
gitlab_repo_name Name of repository in Gitlab string n/a yes
kas_address Address of Gitlab Agent server for KAS clients string "wss://kas.gitlab.com" no
product_name Name of project/product by which to distinguish k8s resources string n/a yes
project_id Default GCP project where all of your resources will be created in string n/a yes

Outputs

Name Description
cluster_name Cluster where resources are created. (Data)
gitlab_cluster_agent Gitlab cluster agent details.
gitlab_cluster_agent_token Gitlab cluster agent token (sensitive)
gitlab_repository_file Gitlab repository file details
kubernetes_namespace_gitlab Namepace where gitlab agent is deployed
kubernetes_namespace_product Namespace where product containers are deployed
kubernetes_service_account_gitlab Service account that updates product pods on behalf of KAS agent