Commit 7d5881c
committed
Fix IntegrationSink to use actual ServiceAccount name in auth proxy RoleBindings
Previously, MakeAuthProxyRoleBindings always used "default" as the
ServiceAccount name. Now it uses makeServiceAccountName() to get the
actual SA configured in the IntegrationSink spec, falling back to
"default" if not specified.
This resolves the TODO comment that noted the need to get the real
SA of the pod.1 parent 79d12a9 commit 7d5881c
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
227 | 231 | | |
228 | 232 | | |
229 | | - | |
| 233 | + | |
230 | 234 | | |
231 | 235 | | |
232 | 236 | | |
| |||
0 commit comments