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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Document how operators configure the new timeout

A repo-wide search for octavia_helm_timeout finds only this default, its task use, and the release note, while roles/octavia/README.md remains an empty heading. Operators therefore have no documentation explaining where to override the variable or its accepted Go-duration format; add this new public setting to the role or deployment documentation.

AGENTS.md reference: AGENTS.md:L38-L40

Useful? React with 👍 / 👎.


# 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 @@ -104,6 +104,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