trilioData / tvk-plugins

kubectl plugins for logcollector and preflight checks tools
Other
2 stars 8 forks source link

:bug: TK-5747 preflight-check on MKE fails #138

Closed prasad-trilio closed 2 years ago

prasad-trilio commented 2 years ago

Whener user hasn't provided any image-pull-secret, an empty image-pull-secret object would be added to pod's spec. This case is now handled using an if check.

If user has provided a non-zero length image-pull-secret then pull-secret is applied to pod else, it is not applied.