generated from oracle-devrel/repo-template
/
locals.tf
37 lines (34 loc) · 1.38 KB
/
locals.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
## Copyright (c) 2022 Oracle and/or its affiliates.
## All rights reserved. The Universal Permissive License (UPL), Version 1.0 as shown at http://oss.oracle.com/licenses/upl
locals {
gr_values = [
"gitlabUrl=https://gitlab.com",
"unregisterRunners=true",
"rbac.create=true"
]
gr_config = <<-EOT
[[runners]]
[runners.kubernetes]
namespace = "{{.Release.Namespace}}"
image = "ubuntu:20.04"
poll_timeout = 600
cpu_request = "0.2"
memory_request = "512M"
cpu_request_overwrite_max_allowed = "1"
memory_request_overwrite_max_allowed = "4096M"
EOT
http_port_number = "80"
https_port_number = "443"
k8s_api_endpoint_port_number = "6443"
k8s_worker_to_control_plane_port_number = "12250"
ssh_port_number = "22"
tcp_protocol_number = "6"
icmp_protocol_number = "1"
all_protocols = "all"
# List with supported autoscaler images: https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengusingclusterautoscaler.htm
autoscaler_image = {
"v1.26.2" = "iad.ocir.io/oracle/oci-cluster-autoscaler:1.25.0-6",
"v1.25.4" = "iad.ocir.io/oracle/oci-cluster-autoscaler:1.25.0-6"
"v1.24.1" = "iad.ocir.io/oracle/oci-cluster-autoscaler:1.24.0-5"
}
}