Skip to content

Commit 08b02e0

Browse files
author
bnallapeta
committedMar 4, 2024
Remove labels and annotations from Kubernetes deployment.yaml
1 parent 221369b commit 08b02e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,4 @@ remove-labels-annotations: yq-install
104104
echo "Processing $$file"; \
105105
$(YQ_BIN) eval 'del(.metadata.labels, .metadata.annotations)' -i "$$file"; \
106106
done
107+
$(YQ_BIN) eval 'del(.spec.template.metadata.labels)' -i deployments/kubernetes/manifests/deployment.yaml

0 commit comments

Comments
 (0)
Please sign in to comment.