Skip to content

Commit

Permalink
Merge pull request #1043 from bcrochet/cluster-config-keepalived
Browse files Browse the repository at this point in the history
baremetal: keepalived to pass cluster-config.yml to runtimecfg
  • Loading branch information
openshift-merge-robot committed Aug 7, 2019
2 parents 30cd06a + ccded05 commit 675367a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions manifests/baremetal/keepalived.yaml
Expand Up @@ -18,6 +18,9 @@ spec:
path: "/etc/kubernetes/kubeconfig"
- name: conf-dir
empty-dir: {}
- name: manifests
hostPath:
path: "/opt/openshift/manifests"
initContainers:
- name: render-config
image: {{ .Images.BaremetalRuntimeCfgBootstrap }}
Expand All @@ -34,6 +37,8 @@ spec:
- "/config"
- "--out-dir"
- "/etc/keepalived"
- "--cluster-config"
- "/opt/openshift/manifests/cluster-config.yaml"
resources: {}
volumeMounts:
- name: resource-dir
Expand All @@ -42,6 +47,8 @@ spec:
mountPath: "/etc/kubernetes/kubeconfig"
- name: conf-dir
mountPath: "/etc/keepalived"
- name: manifests
mountPath: "/opt/openshift/manifests"
imagePullPolicy: IfNotPresent
containers:
- name: keepalived
Expand Down
7 changes: 7 additions & 0 deletions pkg/operator/assets/bindata.go
Expand Up @@ -299,6 +299,9 @@ spec:
path: "/etc/kubernetes/kubeconfig"
- name: conf-dir
empty-dir: {}
- name: manifests
hostPath:
path: "/opt/openshift/manifests"
initContainers:
- name: render-config
image: {{ .Images.BaremetalRuntimeCfgBootstrap }}
Expand All @@ -315,6 +318,8 @@ spec:
- "/config"
- "--out-dir"
- "/etc/keepalived"
- "--cluster-config"
- "/opt/openshift/manifests/cluster-config.yaml"
resources: {}
volumeMounts:
- name: resource-dir
Expand All @@ -323,6 +328,8 @@ spec:
mountPath: "/etc/kubernetes/kubeconfig"
- name: conf-dir
mountPath: "/etc/keepalived"
- name: manifests
mountPath: "/opt/openshift/manifests"
imagePullPolicy: IfNotPresent
containers:
- name: keepalived
Expand Down

0 comments on commit 675367a

Please sign in to comment.