File tree Expand file tree Collapse file tree 4 files changed +3
-8
lines changed
helm/azure-pipelines-agent Expand file tree Collapse file tree 4 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ You can customize the values of the helm deployment by using the following Value
39
39
| ` pipelines.url ` | The Azure base URL for your organization | ` "" ` |
40
40
| ` pipelines.pat ` | Personal Access Token (PAT) used by the agent to connect. | ` "" ` |
41
41
| ` pipelines.pool ` | Agent pool to which the Agent should register. | ` "" ` |
42
- | ` pipelines.agent.name ` | The agent name | ` "" ` - By default it takes the pod name |
43
42
| ` pipelines.agent.mountDocker ` | Enable to mount the host ` docker.sock ` | ` false ` |
44
43
| ` pipelines.agent.workDir ` | The work directory the agent should use | ` _work ` |
45
44
| ` serviceAccount.create ` | Create ServiceAccount | ` true ` |
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ You can customize the values of the helm deployment by using the following Value
26
26
| ` pipelines.url ` | The Azure base URL for your organization | ` "" ` |
27
27
| ` pipelines.pat ` | Personal Access Token (PAT) used by the agent to connect. | ` "" ` |
28
28
| ` pipelines.pool ` | Agent pool to which the Agent should register. | ` "" ` |
29
- | ` pipelines.agent.name ` | The agent name | ` "" ` - By default it takes the pod name |
30
29
| ` pipelines.agent.mountDocker ` | Enable to mount the host ` docker.sock ` | ` false ` |
31
30
| ` pipelines.agent.workDir ` | The work directory the agent should use | ` _work ` |
32
31
| ` serviceAccount.create ` | Create ServiceAccount | ` true ` |
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
5
5
labels :
6
6
{{- include "azure-pipelines-agent.labels" . | nindent 4 }}
7
7
spec :
8
- replicas : 1
8
+ replicas : {{ .Values.replicaCount }}
9
9
selector :
10
10
matchLabels :
11
11
{{- include "azure-pipelines-agent.selectorLabels" . | nindent 6 }}
@@ -42,16 +42,11 @@ spec:
42
42
{{- end }}
43
43
imagePullPolicy : {{ .Values.image.pullPolicy }}
44
44
env :
45
- {{- if .Values.pipelines.agent.name }}
46
- - name : AZP_AGENT_NAME
47
- value : {{ .Values.pipelines.agent.name | quote }}
48
- {{- else }}
49
45
- name : AZP_AGENT_NAME
50
46
valueFrom :
51
47
fieldRef :
52
48
apiVersion : v1
53
49
fieldPath : metadata.name
54
- {{- end }}
55
50
- name : AZP_URL
56
51
value : {{ .Values.pipelines.url | quote }}
57
52
- name : AZP_POOL
Original file line number Diff line number Diff line change 2
2
# This is a YAML-formatted file.
3
3
# Declare variables to be passed into your templates.
4
4
5
+ replicaCount : 1
6
+
5
7
image :
6
8
repository : emberstack/azure-pipelines-agent
7
9
tag : " "
You can’t perform that action at this time.
0 commit comments