Skip to content

Commit

Permalink
fix(provider/kubernetes): tolerate null service account (#2434)
Browse files Browse the repository at this point in the history
  • Loading branch information
lwander committed Mar 19, 2018
1 parent 1f35d94 commit c41dfbf
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,10 @@ KubernetesNamedAccountCredentials build() {
configureImagePullSecrets = true;
}

if (serviceAccount == null) {
serviceAccount = false;
}

if (credentials == null) {
credentials = buildCredentials();
}
Expand Down

0 comments on commit c41dfbf

Please sign in to comment.