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 Octavia role now exposes ``octavia_helm_timeout`` to configure how long
Helm operations may run.
10 changes: 10 additions & 0 deletions roles/octavia/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
# `octavia`

## Configuration

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

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

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

# Class name to use for the Ingress
octavia_ingress_class_name: "{{ atmosphere_ingress_class_name }}"

Expand Down
1 change: 1 addition & 0 deletions roles/octavia/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
release_namespace: "{{ octavia_helm_release_namespace }}"
create_namespace: true
kubeconfig: "{{ octavia_helm_kubeconfig }}"
timeout: "{{ octavia_helm_timeout }}"
values: "{{ _octavia_helm_values | combine(octavia_helm_values, recursive=True) }}"

- name: Add implied roles
Expand Down
Loading