Skip to content

Commit

Permalink
fix: always define metadata.name first (#65)
Browse files Browse the repository at this point in the history
so the output yaml file stays consistent even if the user didn't define any metadata

Why am I still getting diffs on gvk.json am I stupid?
  • Loading branch information
shinebayar-g authored Dec 24, 2024
1 parent 744797d commit 53fdc64
Show file tree
Hide file tree
Showing 85 changed files with 472 additions and 292 deletions.
2 changes: 1 addition & 1 deletion examples/helm-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -773,8 +773,8 @@ spec:
apiVersion: v1
kind: ConfigMap
metadata:
namespace: fooo
name: my-config-map
namespace: fooo
data:
key1: value1
key2: value2
Expand Down
2 changes: 1 addition & 1 deletion examples/my-k8s-app/ConfigMap.my-config-map.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
kind: ConfigMap
metadata:
namespace: fooo
name: my-config-map
namespace: fooo
data:
key1: value1
key2: value2
Loading

0 comments on commit 53fdc64

Please sign in to comment.