Skip to content

Commit ebea42f

Browse files
Add annotations to dind volume provisioner pod (#311)
* Add annotations to dind volume provisioner pod * Add annotation description to values file
1 parent 3a65c23 commit ebea42f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.deploy/cf-runtime/templates/volume-provisioner/deployment.dind-volume-provisioner.vp.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ spec:
1212
template:
1313
metadata:
1414
labels: {{- include "cf-vp.provisionerLabels" . | nindent 9 }}
15+
annotations:
16+
{{- range $key, $value := .Values.volumeProvisioner.annotations }}
17+
{{ $key }}: {{ $value }}
18+
{{- end}}
1519
spec:
1620
serviceAccountName: {{ include "cf-vp.fullname" . }}
1721
{{- if .Values.volumeProvisioner.nodeSelector }}

.deploy/cf-runtime/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ volumeProvisioner: # Volume-Provisioner Deployment
6868
# PRIVILEGED_CONTAINER: true
6969
### https://codefresh.io/docs/docs/administration/codefresh-runner/#installing-on-aks
7070
# mountAzureJson: true
71+
annotations: {} # annotate volume-provisioner pod
7172

7273
storage: # Storage parameters for Volume-Provisioner
7374
backend: local # volume type: local(default), ebs, gcedisk or azuredisk

0 commit comments

Comments
 (0)