You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,8 @@ If required (`gitlab_agent_grant_access_to_entire_root_namespace` configured to
8
8
9
9
**ATTENTION**: you have to manually create the project that will host the Gitlab Agent configuration in Gitlab before running this module.
10
10
11
+
From version `0.7.0`, if you set `gitlab_project_name` the module will create Gitlab project automatically. This new behavior requires the provider to have the proper permissions to create the project in the namespace.
12
+
11
13
## RBAC configuration for the Gitlab Agent service account
12
14
13
15
This module uses the default configuration of the Gitlab Agent Helm chart. The default configuration grants to the Gitlab Agent service account the `cluster-admin` ClusterRole. If you want to change this configuration, you can use the `helm_additional_values` variable to pass additional values to the Helm chart.
Copy file name to clipboardExpand all lines: variables.tf
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,9 @@
1
+
variable"gitlab_project_name" {
2
+
description="The name of the Gitlab project that hosts the Gitlab Agent configuration. If not provided, the module will use the project defined in `gitlab_project_path_with_namespace`."
3
+
type=string
4
+
default=""
5
+
}
6
+
1
7
variable"gitlab_project_path_with_namespace" {
2
8
description="The path with namespace of the Gitlab project that hosts the Gitlab Agent configuration. The project must be created in Gitlab before running this module. The configured Gitlab provider must have write access to the project."
3
9
type=string
@@ -132,12 +138,6 @@ variable "agent_replicas" {
132
138
default=1
133
139
}
134
140
135
-
variable"agent_kas_address" {
136
-
description="The address of the Gitlab Kubernetes Agent Server (KAS)."
137
-
type=string
138
-
default="kas.gitlab.com"
139
-
}
140
-
141
141
variable"create_default_pod_anti_affinity" {
142
142
description="Create default podAntiAffinity rules for the Gitlab Agent pods."
0 commit comments