Skip to content

Commit

Permalink
Merge pull request #48 from peng9808/main
Browse files Browse the repository at this point in the history
add volume root
  • Loading branch information
peng9808 authored Jan 16, 2024
2 parents e541225 + c034aae commit c246e32
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions helm/drbd-adapter/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ spec:
{{- end }}
- name: pkgs
mountPath: /pkgs
- name: pkgroot
mountPath: /pkgs_root
- name: os-release
mountPath: /etc/host-release
readOnly: true
Expand Down Expand Up @@ -125,10 +127,14 @@ spec:
mountPath: /pkgs
readOnly: true
hostNetwork: true
hostPID: true
terminationGracePeriodSeconds: 0
volumes:
- name: pkgs
emptyDir: {}
- name: pkgroot
hostPath:
path: /root
- name: os-release
hostPath:
path: /etc/os-release
Expand Down
2 changes: 0 additions & 2 deletions helm/drbd-adapter/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ spec:
volumeMounts:
- name: pkgs
mountPath: /pkgs
- name: pkgroot
mountPath: /pkgs_root
{{ if ne $distro "unsupported" }}
- name: {{ $distro }}
image: {{ $.Values.registry }}/drbd9-{{ $distro }}:{{ $tag }}
Expand Down

0 comments on commit c246e32

Please sign in to comment.