Skip to content

Commit

Permalink
fix: probe methods conflict force apply
Browse files Browse the repository at this point in the history
  • Loading branch information
devthejo committed May 31, 2024
1 parent 9580bb1 commit 1852792
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion plugins/contrib/deploy-with/kubectl.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,12 @@ module.exports = async (options, context) => {
}
result = await kubectlApplyManifest(manifest)
} catch (err) {
if (err.message.includes("field is immutable")) {
if (
err.message.includes("field is immutable") ||
err.message.includes(
"Forbidden: may not specify more than 1 handler type"
)
) {
return handleFieldIsImmutableError(manifest, err)
}
throw err
Expand Down

0 comments on commit 1852792

Please sign in to comment.