By not specifying the "proxied" field the Cloudflare API defaults that value to false. This causes the update to expose your IP address. I've added the ability for this functionality to be configured through an environment variable.
It is also no longer necessary to use "apiVersion: batch/v1beta1", instead "apiVersion: batch/v1" is available so I've made this change as well.
By not specifying the "proxied" field the Cloudflare API defaults that value to false. This causes the update to expose your IP address. I've added the ability for this functionality to be configured through an environment variable.
It is also no longer necessary to use "apiVersion: batch/v1beta1", instead "apiVersion: batch/v1" is available so I've made this change as well.