Remove labels and annotations from Kubernetes deployment.yaml

This commit is contained in:
bnallapeta
2024-03-04 17:10:30 +05:30
parent 221369bdcd
commit 08b02e0797

View File

@@ -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