If I just generate & return the `Deployment`, ...
# general
l
If I just generate & return the
Deployment
, if I want to make any amendments to the
spec.template.imagePullSecrets
, I have do something like
Copy code
(((deployment.spec as appsv1.DeploymentSpec).template as corev1.PodTemplateSpec).spec as corev1.PodSpec).imagePullSecrets = []