Skip to content

k8s_fedora: Add ca_key before all deployments

Spyridon Trigazis requested to merge os8834 into cern-rocky

cherry-picked from: https://review.openstack.org/#/c/643924/1

The script [1] that writes the ca.key depends in the apiserver to be running and the script to start the apiserver [0] needs the ca.key to exist.

Write the ca_key before all other scripts that depend on the apiserver.

story: 2005254 task: 30051

[0] https://github.com/openstack/magnum/blob/master/magnum/drivers/common/templates/kubernetes/fragments/enable-services-master.sh [1] https://github.com/openstack/magnum/blob/master/magnum/drivers/k8s_fedora_atomic_v1/templates/kubecluster.yaml#L843

Change-Id: If532ccc4673225eb1b7e7cab77a30950ee5ee695 Signed-off-by: Spyros Trigazis spyridon.trigazis@cern.ch (cherry picked from commit 13e8c11f)

Merge request reports