Skip to content

Commit

Permalink
Fix import for Provider using server-side diff
Browse files Browse the repository at this point in the history
  • Loading branch information
lblackstone committed Jan 18, 2022
1 parent 72378fb commit df3baaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- Disable last-applied-configuration annotation for replaced CRDs (https://github.com/pulumi/pulumi-kubernetes/pull/1868)
- Fix Provider config diffs (https://github.com/pulumi/pulumi-kubernetes/pull/1869)
- Fix replace for named resource using server-side diff (https://github.com/pulumi/pulumi-kubernetes/pull/1870)
- Fix import for Provider using server-side diff (https://github.com/pulumi/pulumi-kubernetes/pull/1872)

## 3.14.0 (January 12, 2022)

Expand Down
3 changes: 3 additions & 0 deletions provider/pkg/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -2552,6 +2552,9 @@ func (k *kubeProvider) tryServerSidePatch(oldInputs, newInputs *unstructured.Uns
return nil, nil, false
}
}
if err != nil {
return nil, nil, false
}

// The server-side patch succeeded.
return ssPatch, ssPatchBase, true
Expand Down

0 comments on commit df3baaa

Please sign in to comment.