Fix deploy nits
Change-Id: I2e833301b46d55607d8a6129e58d4c70376d87bd
This commit is contained in:
parent
c7a2eeca04
commit
ca41a68e0b
@ -44,7 +44,7 @@ spec:
|
||||
containers:
|
||||
- name: cinder-flexvolume
|
||||
resources: {}
|
||||
image: stackube/flex-volume:v1.0
|
||||
image: stackube/flex-volume:v0.1
|
||||
command: ["/bin/bash", "install.sh"]
|
||||
env:
|
||||
# The endpoint of openstack authentication.
|
||||
|
@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
|
||||
STACKUBE_ROOT=$(dirname "${BASH_SOURCE}")
|
||||
# TODO(harry) clone frakti? or maintain yaml?
|
||||
FRAKTI_ROOT=${}
|
||||
|
||||
function install_docker {
|
||||
if is_ubuntu; then
|
||||
@ -226,6 +224,9 @@ function init_stackube {
|
||||
install_master
|
||||
install_stackube_addons
|
||||
install_flexvolume_plugin
|
||||
# approve kublelet's csr for the node.
|
||||
# TODO(harry) what if in multi-node cluster?
|
||||
kubectl certificate approve $(kubectl get csr | awk '/^csr/{print $1}')
|
||||
elif is_service_enabled kubernetes_node; then
|
||||
install_node
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user