Commit 0d25ce8
committed
fix(webhook): skip credential annotation pre-population in federated-jwt mode
The webhook pre-populates AnnotationKeycloakClientSecretName so pods can
mount the credential Secret before the controller reconciles. In
federated-jwt mode no Secret is created, so injecting this annotation
leaves pods stuck in Init waiting for a Secret that never appears.
Fix: read CLIENT_AUTH_TYPE from authbridge-config before pre-populating
the annotation and skip it when federated-jwt is configured.
Signed-off-by: Alan Cha <alan.cha@ibm.com>
Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com>
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>1 parent a820271 commit 0d25ce8
1 file changed
Lines changed: 14 additions & 7 deletions
Lines changed: 14 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
99 | 103 | | |
100 | 104 | | |
101 | | - | |
102 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
103 | 115 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | 116 | | |
110 | 117 | | |
111 | 118 | | |
| |||
0 commit comments