Skip to content
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

strip generation from metadata #55

Merged
merged 1 commit into from
Dec 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.1.10

- Fix generation field not being stripped when using --strip

# 0.1.9

- Fix comma placement when formatting multi-line string values inside lists
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: build docker docker-push release install test clean

VERSION := 0.1.9
VERSION := 0.1.10
DOCKER_IMAGE_NAME := jrhouston/tfk8s

build:
Expand Down
1 change: 1 addition & 0 deletions tfk8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ var ignoreMetadata = []string{
"uid",
"managedFields",
"finalizers",
"generation",
}

// ignoreAnnotations is the list of annotations to strip
Expand Down
1 change: 1 addition & 0 deletions tfk8s_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ metadata:
resourceVersion: "677134"
selfLink: /api/v1/namespaces/default/configmaps/test
uid: bea6500b-0637-4d2d-b726-e0bda0b595dd
generation: 1
finalizers:
- test`

Expand Down