Repository navigation
Commit e6859a7
committed
Fix Octavia ApplicationCredentialSecret set on wrong spec path
The ApplicationCredentialSecret was being set on OctaviaAPI.Auth
(sub-spec level) instead of Auth (top-level OctaviaSpecBase).
The octavia-operator reads the secret from spec.auth, which is
populated from OctaviaSpecBase via DeepCopyInto, not from the
OctaviaAPI sub-spec.
This caused Octavia to silently fall back to password auth when
ZDPR (application credentials) was enabled, because the secret
name never reached the Octavia CR's spec.auth field.
Verified manually by patching the controlplane CR to set
spec.octavia.template.auth.applicationCredentialSecret, which
confirmed Octavia correctly switches to v3applicationcredential
auth_type when the secret is at the correct spec level.
Co-authored-by: AI Assistant (Cursor/Claude)
JIRA: OSPRH-268171 parent fd6da28 commit e6859a7
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| |||
0 commit comments