Skip to content

Commit

Permalink
fix: ignore manifest generation
Browse files Browse the repository at this point in the history
  • Loading branch information
dfroberg committed Feb 29, 2024
1 parent f6d494b commit 01ff487
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kubernetes/resource_kubectl_manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ metadata:
meta_v1_unstruct.RemoveNestedField(metaObjLive.Raw.Object, "metadata", "resourceVersion")
meta_v1_unstruct.RemoveNestedField(metaObjLive.Raw.Object, "metadata", "selfLink")
meta_v1_unstruct.RemoveNestedField(metaObjLive.Raw.Object, "metadata", "uid")
meta_v1_unstruct.RemoveNestedField(metaObjLive.Raw.Object, "metadata", "generation")
meta_v1_unstruct.RemoveNestedField(metaObjLive.Raw.Object, "metadata", "annotations", "kubectl.kubernetes.io/last-applied-configuration")

if len(metaObjLive.Raw.GetAnnotations()) == 0 {
Expand Down

0 comments on commit 01ff487

Please sign in to comment.