-
Notifications
You must be signed in to change notification settings - Fork 1k
Expand file tree
/
Copy pathvalues.yaml
More file actions
209 lines (195 loc) · 9.49 KB
/
Copy pathvalues.yaml
File metadata and controls
209 lines (195 loc) · 9.49 KB
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
# yaml-language-server: $schema=./values.schema.json
# $schema -- Schema for the values file, enables support in Jetbrains IDEs. You should probably use https://raw.githubusercontent.com/DataDog/helm-charts/refs/heads/main/charts/private-action-runner/values.schema.json.
$schema: ./values.schema.json
# Default values for private-action-runner.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# -- Current Datadog Private Action Runner image
image:
repository: gcr.io/datadoghq/private-action-runner
tag: v1.21.0
pullPolicy: IfNotPresent
# imagePullSecrets -- Datadog Private Action Runner repository pullSecret (ex: specify docker registry credentials)
imagePullSecrets: []
# nameOverride -- Override name of app
nameOverride: ""
# fullnameOverride -- Override the full qualified app name
fullnameOverride: ""
# -- Service Account configuration
serviceAccount:
# serviceAccount.create -- Specifies whether a service account should be created
create: true
# serviceAccount.name -- The name of the service account to use. If not set and create is true, a name is generated using the fullname template
name: ""
# serviceAccount.annotations -- Annotations to add to the service account
annotations: {}
# -- Service configuration
service:
# -- Annotations to add to the service
annotations: {}
# -- Deployment configuration
deployment:
metadata:
# -- Annotations to add to the deployment metadata
annotations: {}
# -- Labels to add to the deployment metadata
labels: {}
runner:
# -- Type of kubernetes role to create (either "Role" or "ClusterRole")
roleType: "Role"
# -- Number of pod instances for the Datadog Private Action Runner
replicas: 1
# -- Annotations to add to the pod template
podAnnotations: {}
# -- The directory containing the Datadog Private Action Runner configuration
configDirectory: "/etc/dd-action-runner/config"
# -- Configure whether to use a separate kubernetes secret for the credentials and the config
useSeparateSecretForCredentials: false
# -- Reference to a kubernetes secrets that contains the runner identity.
# When used, this replaces config.urn and config.privateKey
runnerIdentitySecret: ""
# -- Configuration for the Datadog Private Action Runner
config:
# -- Datadog site URL.
# See https://docs.datadoghq.com/getting_started/site/#access-the-datadog-site
ddBaseURL: "https://app.datadoghq.com"
# -- The runner's URN from the enrollment page
urn: "CHANGE_ME_URN_FROM_CONFIG"
# -- The runner's privateKey from the enrollment page
privateKey: "CHANGE_ME_PRIVATE_KEY_FROM_CONFIG"
# -- Modes that the runner can run in
modes:
- "workflowAutomation"
- "appBuilder"
# -- Port for HTTP server liveness checks and App Builder mode
port: 9016
# -- Whether to allow the runner to access IDM services endpoint
allowIMDSEndpoint: false
# -- List of actions that the Datadog Private Action Runner is allowed to execute
actionsAllowlist: []
# -- List of tags to be added to metrics and logs published by the runner. The tags must be specified in a 'key:value' format.
tags: []
# -- Global timeout for task executions. Use 0 for no timeout.
taskTimeoutSeconds: 0
# -- Global http client timeout for http based actions.
httpTimeoutSeconds: 30
# -- Environment variables to be passed to the Datadog Private Action Runner
env: []
# -- Allow the private action runner pods to schedule on selected nodes
nodeSelector: {}
# -- Kubernetes affinity settings for the runner pods
affinity: {}
# -- Tolerations to allow scheduling runner pods on nodes with taints
tolerations: []
# -- LivenessProbe settings
livenessProbe: {}
# -- ReadinessProbe settings
readinessProbe: {}
# -- Add Kubernetes actions to the `config.actionsAllowlist` and corresponding permissions for the service account
kubernetesActions:
# -- Actions related to controllerRevisions (options: "get", "list", "create", "update", "patch", "delete", "deleteMultiple")
controllerRevisions: []
# -- Actions related to daemonSets (options: "get", "list", "create", "update", "patch", "delete", "deleteMultiple")
daemonSets: []
# -- Actions related to deployments (options: "get", "list", "create", "update", "patch", "delete", "deleteMultiple", "restart", "rollback", "scale")
deployments: []
# -- Actions related to replicaSets (options: "get", "list", "create", "update", "patch", "delete", "deleteMultiple")
replicaSets: []
# -- Actions related to statefulSets (options: "get", "list", "create", "update", "patch", "delete", "deleteMultiple")
statefulSets: []
# -- Actions related to cronJobs (options: "get", "list", "create", "update", "patch", "delete", "deleteMultiple")
cronJobs: []
# -- Actions related to configMaps (options: "get", "list", "create", "update", "patch", "delete", "deleteMultiple")
configMaps: []
# -- Actions related to endpoints (options: "get", "list", "create", "update", "patch", "delete", "deleteMultiple")
endpoints: []
# -- Actions related to events (options: "get", "list", "create", "update", "patch", "delete", "deleteMultiple")
events: []
# -- Actions related to limitRanges (options: "get", "list", "create", "update", "patch", "delete", "deleteMultiple")
limitRanges: []
# -- Actions related to namespaces (options: "get", "list", "create", "update", "patch", "delete", "deleteMultiple")
namespaces: []
# -- Actions related to nodes (options: "get", "list", "create", "update", "patch", "delete", "deleteMultiple")
nodes: []
# -- Actions related to persistentVolumes (options: "get", "list", "create", "update", "patch", "delete", "deleteMultiple")
persistentVolumes: []
# -- Actions related to persistentVolumeClaims (options: "get", "list", "create", "update", "patch", "delete", "deleteMultiple")
persistentVolumeClaims: []
# -- Actions related to pods (options: "get", "list", "create", "update", "patch", "delete", "deleteMultiple")
pods: ["get", "list"]
# -- Actions related to podTemplates (options: "get", "list", "create", "update", "patch", "delete", "deleteMultiple")
podTemplates: []
# -- Actions related to replicationControllers (options: "get", "list", "create", "update", "patch", "delete", "deleteMultiple")
replicationControllers: []
# -- Actions related to resourceQuotas (options: "get", "list", "create", "update", "patch", "delete", "deleteMultiple")
resourceQuotas: []
# -- Actions related to services (options: "get", "list", "create", "update", "patch", "delete", "deleteMultiple")
services: []
# -- Actions related to serviceAccounts (options: "get", "list", "create", "update", "patch", "delete", "deleteMultiple")
serviceAccounts: []
# -- Actions related to customResourceDefinitions (options: "get", "list", "create", "update", "patch", "delete", "deleteMultiple")
customResourceDefinitions: []
# -- Actions related to jobs (options: "get", "list", "create", "update", "patch", "delete", "deleteMultiple")
jobs: []
# -- Actions related to customObjects (options: "get", "list", "create", "update", "patch", "delete", "deleteMultiple"). You also need to add appropriate `kubernetesPermissions`.
customObjects: []
# -- Kubernetes permissions to provide in addition to the one that will be inferred from `kubernetesActions` (useful for customObjects)
kubernetesPermissions: []
# -- Resource requirements for the Datadog Private Action Runner container
resources:
# -- Resource limits for the runner container
limits:
cpu: 250m
memory: 1Gi
# -- Resource requests for the runner container
requests:
cpu: 250m
memory: 1Gi
# -- List of credential files to be used by the Datadog Private Action Runner
credentialFiles: []
# see examples/values.yaml for examples on how to specify secrets
# credential files provided here will be mounted in /etc/dd-action-runner/config/
# -- References to kubernetes secrets that contain credentials to be used by the Datadog Private Action Runner
credentialSecrets: []
# credential files provided here will be mounted in /etc/dd-action-runner/config/credentials/
# see examples/values.yaml for examples on how to specify secrets
# -- List of script files to be used by the Datadog Private Action Runner
scriptFiles: []
# script files provided here will be mounted in /home/scriptuser/
# see examples/values.yaml for examples on how to specify scripts
# -- Custom CA certificate configuration for trusting internal/private CAs
customCaCert:
# -- Name of a ConfigMap containing the PEM-encoded CA certificate(s)
configMapName: ""
# -- Pod Security configuration
podSecurity:
securityContextConstraints:
# -- If true, create a SecurityContextConstraints resource for Private Action Runner pods
create: false
# -- If true, Allow to run privileged containers
privileged: false
# -- Allowed volumes types
volumes:
- configMap
- csi
- downwardAPI
- emptyDir
- ephemeral
- persistentVolumeClaim
- projected
- secret
# -- Allowed seccomp profiles
seccompProfiles:
- runtime/default
# -- Allowed capabilities
capabilities: []
# -- Required dropped capabilities
# Notes: You can not list a capability in both capabilities and requiredDropCapabilities
requiredDropCapabilities:
- KILL
- MKNOD
- SETUID
- SETGID
# -- Provide seLinuxContext configuration for SCC
seLinuxContext:
type: MustRunAs