mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-17 15:50:10 +00:00
Merge pull request #58756 from wwwtyro/rye/check-config-created
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Ensure config has been created before attempting to launch ingress. **What this PR does / why we need it**: Ensure config has been created before attempting to launch ingress. **Release note**: ```release-note Ensure config has been created before attempting to launch ingress. ```
This commit is contained in:
commit
2e4947ec3c
@ -645,6 +645,7 @@ def create_kubeconfig(kubeconfig, server, ca, key=None, certificate=None,
|
||||
|
||||
@when_any('config.changed.default-backend-image',
|
||||
'config.changed.nginx-image')
|
||||
@when('kubernetes-worker.config.created')
|
||||
def launch_default_ingress_controller():
|
||||
''' Launch the Kubernetes ingress controller & default backend (404) '''
|
||||
config = hookenv.config()
|
||||
|
Loading…
Reference in New Issue
Block a user