ClientPodRef returns the kubectl resource reference used to exec commands against the S3 client. It targets the Deployment rather than a fixed Pod name so the command is routed to the current Pod even after the original one is rescheduled (e.g. following a node drain).
()
| 602 | // name so the command is routed to the current Pod even after the original |
| 603 | // one is rescheduled (e.g. following a node drain). |
| 604 | func (m *Env) ClientPodRef() string { |
| 605 | return "deployment/" + m.Client.Name |
| 606 | } |
| 607 | |
| 608 | func (m *Env) getCaSecret(env *environment.TestingEnvironment, namespace string) (*corev1.Secret, error) { |
| 609 | var certSecret corev1.Secret |
no outgoing calls
no test coverage detected