Sha256: 3bf1c15a914b3c4f1dcbcf39ab11ebd8eafa6c53512ab32f146d28f279d1e7b7

Contents?: true

Size: 304 Bytes

Versions: 1

Compression:

Stored size: 304 Bytes

Contents

gke = KubesGoogle::Gke.new(
  name: KubesGoogle.config.gke.cluster_name,
  whitelist_ip: KubesGoogle.config.gke.whitelist_ip,
)

before("apply",
  label: "gke whitelist hook",
  execute: gke.method(:allow).to_proc,
)

after("apply",
  label: "gke whitelist hook",
  execute: gke.method(:deny).to_proc,
)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kubes_google-0.3.0 lib/hooks/kubes.rb