(pod *corev1.Pod)
| 276 | } |
| 277 | |
| 278 | func runShowHelpInPod(pod *corev1.Pod) error { |
| 279 | _, _, err := exec.Command( |
| 280 | env.Ctx, env.Interface, env.RestClientConfig, *pod, |
| 281 | "pgbouncer", nil, "psql", "-c", "SHOW HELP", |
| 282 | ) |
| 283 | return err |
| 284 | } |
| 285 | |
| 286 | // createPoolerServerCertificateSecret fetches an existing PG server CA secret and creates a new certificate |
| 287 | // secret for the pooler using that CA. |
no test coverage detected