Commit 25977e3
committed
fix: don't set empty image pull secrets
commit "5f98b43" added the ability to set image pull secrets from the
DEFAULT_IMAGE_PULL_SECRETS env var, when they are not otherwise set.
However, this introduced a regression, when neither were set, where
an empty image pull secret would be saved. This fix adds a check to
ensure any saved image pull secrets are not empty.1 parent 2e1acdc commit 25977e3
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
134 | 136 | | |
135 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
136 | 140 | | |
137 | 141 | | |
138 | 142 | | |
| |||
0 commit comments