Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
features:
- |
The Nova role now exposes ``nova_helm_timeout`` to configure how long Helm
operations may run.
9 changes: 9 additions & 0 deletions roles/nova/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
# `nova`

## Configuration

`nova_helm_timeout` sets the maximum time allowed for Nova Helm operations. It
accepts a Go duration string such as `10m0s` and defaults to `5m0s`.

```yaml
nova_helm_timeout: 10m0s
```
5 changes: 5 additions & 0 deletions roles/nova/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ nova_helm_release_namespace: openstack
nova_helm_kubeconfig: "{{ kubeconfig_path | default('/etc/kubernetes/admin.conf') }}"
nova_helm_values: {}

# Time to wait for Helm operations to complete, using Go duration syntax.
#
# nova_helm_timeout: 10m0s
nova_helm_timeout: 5m0s

# Private SSH key used for cold & live migration
nova_ssh_key: "{{ undef(hint='You must specifiy an SSH key for Nova.') }}"

Expand Down
1 change: 1 addition & 0 deletions roles/nova/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
create_namespace: true
kubeconfig: "{{ nova_helm_kubeconfig }}"
values: "{{ _nova_helm_values | combine(nova_helm_values, recursive=True) }}"
timeout: "{{ nova_helm_timeout }}"

- name: Create Ingress
ansible.builtin.include_role:
Expand Down
Loading