mortar icon indicating copy to clipboard operation
mortar copied to clipboard

mortar yank to ignore some resources

Open matti opened this issue 7 years ago • 3 comments

When developing it just handy sometimes to fire+yank in a loop - if you happen to have let'sencrypt certs it is easy to get banned from let's encrypt because you constantly request a cert.

Would be handy to define "do not delete these resources" for yank - or something else.

matti avatar Oct 03 '18 12:10 matti

if you happen to have let'sencrypt certs it is easy to get banned from let's encrypt because you constantly request a cert.

Not sure why this would happen if there's no changes to the resource (a certmanager.k8s.io/v1alpha1 Certificate I presume). Mortar should not re-deploy the cert "request".

But I can see other possible cases for ignoring some resources in the yank phase.

jnummelin avatar Oct 11 '18 08:10 jnummelin

Isn't the cert yanked also?

matti avatar Oct 11 '18 11:10 matti

you are right, of course the cert is yanked too. I had some mis-reading of the issue :)

jnummelin avatar Oct 11 '18 15:10 jnummelin