This action whitelistor un-whitelist ip/range on GKE private cluster
Required Google Cloud zone.
Required Google Cloud Kubernetes Cluster ID.
Whether to whitelist or the other way arround. Default: "true"
Required Ip range to whitelist or unwhitelist
Display name for the ip range. Default: "Github Action"
You have to make sure GOOGLE_APPLICATION_CREDENTIALS
is defined, from a previous step for example.
You may use setup-gcloud action and export_default_credentials
parameter to true.
uses: pactilis/gke-whitelist@master
with:
zone: 'my-gcloud-zone'
cluster_id: 'my-cluster-id'
whitelist: 'true'
cidr: '0.0.0.0/32'