Skip to content

Commit

Permalink
kube-ovn-controller: fix ovn ic log directory not mounted to hostpath (
Browse files Browse the repository at this point in the history
…#3322)

Signed-off-by: 张祖建 <[email protected]>
  • Loading branch information
zhangzujian committed Oct 23, 2023
1 parent a0e68a4 commit 614bdc0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dist/images/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3041,6 +3041,9 @@ spec:
name: localtime
- mountPath: /var/log/kube-ovn
name: kube-ovn-log
# ovn-ic log directory
- mountPath: /var/log/ovn
name: ovn-log
- mountPath: /var/run/tls
name: kube-ovn-tls
readinessProbe:
Expand Down Expand Up @@ -3073,6 +3076,9 @@ spec:
- name: kube-ovn-log
hostPath:
path: /var/log/kube-ovn
- name: ovn-log
hostPath:
path: /var/log/ovn
- name: kube-ovn-tls
secret:
optional: true
Expand Down
6 changes: 6 additions & 0 deletions kubeovn-helm/templates/controller-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ spec:
name: localtime
- mountPath: /var/log/kube-ovn
name: kube-ovn-log
# ovn-ic log directory
- mountPath: /var/log/ovn
name: ovn-log
- mountPath: /var/run/tls
name: kube-ovn-tls
readinessProbe:
Expand Down Expand Up @@ -158,6 +161,9 @@ spec:
- name: kube-ovn-log
hostPath:
path: /var/log/kube-ovn
- name: ovn-log
hostPath:
path: /var/log/ovn
- name: kube-ovn-tls
secret:
optional: true
Expand Down

0 comments on commit 614bdc0

Please sign in to comment.