mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
Fix Juju kubernetes-master idle_status never being called
This commit is contained in:
parent
464831e240
commit
02d0830594
@ -284,9 +284,9 @@ def set_app_version():
|
|||||||
hookenv.application_version_set(version.split(b' v')[-1].rstrip())
|
hookenv.application_version_set(version.split(b' v')[-1].rstrip())
|
||||||
|
|
||||||
|
|
||||||
@when('cdk-addons.configured', 'kube-api-endpoint.connected',
|
@when('cdk-addons.configured', 'kube-api-endpoint.available',
|
||||||
'kube-control.connected')
|
'kube-control.connected')
|
||||||
def idle_status():
|
def idle_status(kube_api, kube_control):
|
||||||
''' Signal at the end of the run that we are running. '''
|
''' Signal at the end of the run that we are running. '''
|
||||||
if not all_kube_system_pods_running():
|
if not all_kube_system_pods_running():
|
||||||
hookenv.status_set('waiting', 'Waiting for kube-system pods to start')
|
hookenv.status_set('waiting', 'Waiting for kube-system pods to start')
|
||||||
|
Loading…
Reference in New Issue
Block a user