Skip to content

Commit

Permalink
Remove labels and annotations from Kubernetes deployment.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
bnallapeta committed Mar 4, 2024
1 parent 221369b commit 08b02e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,4 @@ remove-labels-annotations: yq-install
echo "Processing $$file"; \
$(YQ_BIN) eval 'del(.metadata.labels, .metadata.annotations)' -i "$$file"; \
done
$(YQ_BIN) eval 'del(.spec.template.metadata.labels)' -i deployments/kubernetes/manifests/deployment.yaml

0 comments on commit 08b02e0

Please sign in to comment.