forked from hashicorp/terraform-enterprise-helm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
265 lines (242 loc) · 7.87 KB
/
values.yaml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
# Default values for Terraform Enterprise on Kubernetes.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
# Image pull secret to use for registry authentication.
imagePullSecrets:
- name: terraform-enterprise
# Image sets the repo, name and tag of the Terraform Enterprise image to use.
image:
repository: images.releases.hashicorp.com
name: hashicorp/terraform-enterprise
tag: <vYYYYMM-#>
pullPolicy: Always
serviceAccount:
enabled: true
name: null
annotations: {}
labels: {}
pod:
# Configure pod annotations
annotations: {}
labels: {}
container:
# Configure pod specific security context settings
securityContext: {}
# The deployment's strategy is not set by default. This should be a YAML map corresponding to a
# Kubernetes [DeploymentStrategy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#deploymentstrategy-v1-apps) object.
# strategy:
# type: RollingUpdate
# rollingUpdate:
# maxSurge: 1
# maxUnavailable: 0
# Resource limits are not set by default, to give the user the ability to set specific resource limits.
# If you do want to specify resource limits, uncomment the following lines and adjust them as necessary.
resources:
requests:
memory: "2500Mi"
cpu: "750m"
# limits:
# memory: ""
# cpu: ""
# TLS for end-to-end encrypted transport
# Including secrets in Helm charts can expose sensitive data if the charts are
# stored in a version control system like Git, where they might be accessible
# to unauthorized users. It is recommended to manage secrets through a secure
# secrets management system. The values given below are for testing purposes only.
tls:
certificateSecret: terraform-enterprise-certificates
caCertBaseDir: /etc/ssl/certs
caCertFileName: custom_ca_certs.pem
certMountPath: /etc/ssl/private/terraform-enterprise/cert.pem
keyMountPath: /etc/ssl/private/terraform-enterprise/key.pem
# certData:
# keyData:
# caCertData:
tfe:
metrics:
enable: false
httpPort: 9090
httpsPort: 9091
privateHttpPort: 8080
privateHttpsPort: 8443
# nodeSelector labels for server pod assignment, formatted as a multi-line string or YAML map.
nodeSelector: {}
# Toleration Settings
# This should be either a multi-line string or YAML matching
# the Toleration array in a PodSpec.
tolerations: []
# tolerations:
# - key: "key"
# operator: "Equal"
# value: "value"
# effect: "NoSchedule"
# Affinity Settings
# Commenting out or setting as empty the affinity variable, will allow
# deployment to single node services such as Minikube
# This should be either a multi-line string or YAML matching the PodSpec's affinity field.
affinity: {}
#
## Example:
#
# affinity: |
# podAntiAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# - labelSelector:
# matchExpressions:
# - key: foo
# operator: In
# values:
# - bar
# topologyKey: "kubernetes.io/hostname
# podAffinity:
# preferredDuringSchedulingIgnoredDuringExecution:
# - weight: 50
# podAffinityTerm:
# labelSelector:
# matchExpressions:
# - key: foo
# operator: In
# values:
# - bar
# topologyKey: "kubernetes.io/hostname"
# Topology Spread Constraints
# This should be either a multi-line string or YAML matching the PodSpec's typologySpreadConstraints field.
topologySpreadConstraints: []
## Example:
# - maxSkew: 1
# topologyKey: topology.kubernetes.io/zone
# whenUnsatisfiable: DoNotSchedule
# labelSelector:
# matchLabels:
# app: terraform-enterprise
# Security context for the deployment template.
# The deployment securityContext is not set by default.
#This should be a YAML map corresponding to a
# Kubernetes [SecurityContext](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) object.
securityContext: {}
# runAsNonRoot: false
# runAsUser: 1000
# runAsGroup: 3000
# fsGroup: 2000
# InitContainers is a list of init containers. Specified as a YAML list.
# This is useful if you need to run a script to provision TLS certificates or
# write out configuration files in a dynamic way.
initContainers: null
## Example ##
#- name: init-demo
# image: busybox
# command:
# - wget
# - "-O"
# - "/work-dir/index.html"
# - http://info.cern.ch
# args:
# volumeMounts:
# - name: workdir
# mountPath "/work-dir"
# dnsPolicy: Default
# volumes:
# - name: workdir
# emptyDir: {}
# Ingress allows ingress services to be created to allow external access
# from Kubernetes to access Terraform Enterprise pods.
ingress:
enabled: false
className: "" # nginx
annotations: {}
# nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
hosts:
- host: "" # "*.ptfe-dev.aws.ptfedev.com"
paths:
- path: /
pathType: Prefix
serviceName: "terraform-enterprise"
portNumber: 443
tls: []
# - secretName: terraform-enterprise-certificates
# hosts:
# - "*.ptfe-dev.aws.ptfedev.com"
# Injector service specific configurations
service:
annotations: {}
# cloud.google.com/neg: '{"ingress": true}'
type: LoadBalancer # ClusterIP
port: 443
nodePort: 32443 # if service.type is NodePort value will be set
loadBalancerIP: null # if the service.type is LoadBalancer, this can optionally be set
# Custom pod template to define your own specifications for the creation of the agent worker pods.
# This should be YAML representing a valid corev1.PodTemplateSpec. This format is documented
# at https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-template-v1/#PodTemplateSpec.
agentWorkerPodTemplate: {}
# metadata: {}
# spec:
# containers: []
# nodeSelector: {}
# Configuration for running this Helm chart on Red Hat OpenShift platform.
openshift:
# If true, the Helm chart will create necessary configuration for running its components on OpenShift.
enabled: false
env:
# configFilePath: env-config.yaml
# secretsFilePath: # env-secrets.yaml
# configMapRefs:
# - name:
# secretRefs:
# - name:
secrets: {}
# TFE_ENCRYPTION_PASSWORD: "SECRET"
# TFE_DATABASE_PASSWORD: ""
# TFE_OBJECT_STORAGE_AZURE_ACCOUNT_KEY: ""
# TFE_OBJECT_STORAGE_GOOGLE_CREDENTIALS: ""
# TFE_OBJECT_STORAGE_S3_SECRET_ACCESS_KEY: ""
# TFE_VAULT_SECRET_ID: ""
# TFE_REDIS_PASSWORD: ""
# TFE_LICENSE: ""
variables: {}
# TFE_HOSTNAME: ""
# TFE_CAPACITY_CONCURRENCY: ""
# TFE_CAPACITY_CPU: ""
# TFE_CAPACITY_MEMORY: ""
# TFE_DATABASE_HOST: ""
# TFE_DATABASE_NAME: ""
# TFE_DATABASE_PARAMETERS: ""
# TFE_DATABASE_USER: ""
# TFE_DISK_PATH: ""
# TFE_RUN_PIPELINE_KUBERNETES_DEBUG_ENABLED: false
# TFE_RUN_PIPELINE_KUBERNETES_DEBUG_JOBS_TTL: 86400
# TFE_OBJECT_STORAGE_TYPE: ""
# TFE_OBJECT_STORAGE_AZURE_ACCOUNT_NAME: ""
# TFE_OBJECT_STORAGE_AZURE_CONTAINER: ""
# TFE_OBJECT_STORAGE_AZURE_ENDPOINT: ""
# TFE_OBJECT_STORAGE_GOOGLE_BUCKET: ""
# TFE_OBJECT_STORAGE_GOOGLE_PROJECT: ""
# TFE_OBJECT_STORAGE_S3_ACCESS_KEY_ID: ""
# TFE_OBJECT_STORAGE_S3_BUCKET: ""
# TFE_OBJECT_STORAGE_S3_ENDPOINT: ""
# TFE_OBJECT_STORAGE_S3_REGION: ""
# TFE_OBJECT_STORAGE_S3_SERVER_SIDE_ENCRYPTION: ""
# TFE_OBJECT_STORAGE_S3_SERVER_SIDE_ENCRYPTION_KMS_KEY_ID: ""
# TFE_OBJECT_STORAGE_S3_USE_INSTANCE_PROFILE: ""
# TFE_REDIS_USE_TLS: ""
# TFE_REDIS_USER: ""
# TFE_REDIS_HOST: ""
# TFE_REDIS_USE_AUTH: ""
# TFE_TLS_CIPHERS: ""
# TFE_VAULT_ADDRESS: ""
# TFE_VAULT_NAMESPACE: ""
# TFE_VAULT_PATH: ""
# TFE_VAULT_ROLE_ID: ""
# TFE_IACT_SUBNETS: ""
# TFE_IACT_TIME_LIMIT: ""
agents:
rbac:
enabled: true
annotations: {}
labels: {}
namespace:
enabled: true
annotations: {}
labels: {}