Skip to content

Commit

Permalink
Merge pull request #1911 from cybertron/cleanup-keepalived
Browse files Browse the repository at this point in the history
[baremetal & friends] Clean up keepalived script warnings
  • Loading branch information
openshift-merge-robot authored Jul 10, 2020
2 parents f8ff1d1 + 406392f commit 1be9c1c
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ mode: 0644
path: "/etc/kubernetes/static-pod-resources/keepalived/keepalived.conf.tmpl"
contents:
inline: |
global_defs {
enable_script_security
script_user root
}
vrrp_script chk_ocp {
script "/usr/bin/timeout 0.9 /etc/keepalived/chk_ocp_script.sh"
interval 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ mode: 0644
path: "/etc/kubernetes/static-pod-resources/keepalived/keepalived.conf.tmpl"
contents:
inline: |
global_defs {
enable_script_security
script_user root
}
vrrp_script chk_ocp {
script "/usr/bin/timeout 0.9 /etc/keepalived/chk_ocp_script.sh"
interval 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ mode: 0644
path: "/etc/kubernetes/static-pod-resources/keepalived/keepalived.conf.tmpl"
contents:
inline: |
global_defs {
enable_script_security
script_user root
}
vrrp_script chk_ocp {
script "/usr/bin/timeout 0.9 /etc/keepalived/chk_ocp_script.sh"
interval 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ contents:
{{ if .Infra.Status.PlatformStatus -}}
{{ if .Infra.Status.PlatformStatus.VSphere -}}
{{ if .Infra.Status.PlatformStatus.VSphere.APIServerInternalIP -}}
global_defs {
enable_script_security
script_user root
}
vrrp_script chk_ocp {
script "/usr/bin/timeout 0.9 /etc/keepalived/chk_ocp_script.sh"
interval 1
Expand Down

0 comments on commit 1be9c1c

Please sign in to comment.