Skip to content

pactilis/gke-whitelist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Whitelist/Unwhitelist ip-range on GKE

This action whitelistor un-whitelist ip/range on GKE private cluster

Inputs

zone

Required Google Cloud zone.

cluster_id

Required Google Cloud Kubernetes Cluster ID.

whitelist

Whether to whitelist or the other way arround. Default: "true"

cidr

Required Ip range to whitelist or unwhitelist

cidr

Display name for the ip range. Default: "Github Action"

Example usage

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'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published