[CI] Fix formatting of `kubectl exec` command
Summary
Applies fixes to the kubectl exec
command to address warnings and deprecated formatting.
Closes #497 (closed)
Testing
No more errors / deprecation notices in the kubectl exec
command: https://gitlab.com/gitlab-org/cloud-native/gitlab-operator/-/jobs/1864990639#L147
Edited by Mitchell Nielsen