Skip to content

Commit

Permalink
adds containerd socket hostpath mount (#145)
Browse files Browse the repository at this point in the history
* adds containerd socket hostpath mount

* configurable containerd socket mount

---------

Co-authored-by: Kamal Nasser <[email protected]>
  • Loading branch information
jonfriesen and kamaln7 authored Feb 11, 2025
1 parent 2039aae commit bc3d61d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions charts/qpoint-tap/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ spec:
{{- with .Values.volumeMounts }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- if .Values.integrations.containerd.enabled }}
- name: containerd-socket
mountPath: /run/containerd/containerd.sock
{{- end }}
volumes:
- name: config-volume
configMap:
Expand All @@ -126,6 +130,12 @@ spec:
{{- with .Values.volumes }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.integrations.containerd.enabled }}
- name: containerd-socket
hostPath:
path: {{ .Values.integrations.containerd.hostSocketPath }}
type: Socket
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
5 changes: 5 additions & 0 deletions charts/qpoint-tap/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ tolerations: []

affinity: {}

integrations:
containerd:
enabled: true
hostSocketPath: /run/containerd/containerd.sock

# API token
registrationToken: ""
# OR
Expand Down

0 comments on commit bc3d61d

Please sign in to comment.