-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task KubernetesManifest Deploy fails first time running. Succeeds every time after. #10575
Comments
Just wondering what the outcome of this was? Was this an issue? Thanks |
The Also, given that this is a warning, the task shouldn't have failed. |
Hi @DS-MS Yes the task is failing and the entire build is marked as failed |
@Greenie0506 the issue was with how we were parsing the errors. I've raised a PR to fix it. |
@DS-MS Thank you! |
Setting up a pipeline for the first time with an existing YAML results in an error the first time the build runs.
The below task fails the first time saving the pipeline and running. Every time after the build will succeed.
displayName: deploy
name: deploy
inputs:
kubernetesServiceConnection: $(k8sServiceConnection)
action: deploy
namespace: $(k8sNamespace)
manifests: $(bake.manifestsBundle)
imagePullSecrets: $(imagePullSecret)
Results in this error:
Deploy to Dev:Deploy job: "Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply"
The text was updated successfully, but these errors were encountered: