Our great sponsors
-
gke-policy-automation
Tool and policy library for reviewing Google Kubernetes Engine clusters against best practices
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
ksonnet
Discontinued A CLI-supported framework that streamlines writing and deployment of Kubernetes configurations to multiple clusters.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
https://github.com/google/gke-policy-automation/blob/main/gk...
What's the point of requiring the control plane to be locked down to authorized networks (IP address ranges)? Isn't Google responsible for DDoS protection, enforcing authentication controls (i.e. logging in with a Google account in the right Google group), patching the control plane ASAP for any security vulnerabilities?
If you have a VPN, if you have heavy-duty network monitoring on your VPN endpoint, sure, limit it to the VPN. For the rest of us? Is every startup running GKE without heavy-duty VPN / network monitoring fundamentally insecure? That doesn't sound right to me. Security is supposed to be a spectrum, and it seems like black-and-white automated config checkers like these are more likely to provoke arguments internally ("but the tool said it's bad!!") than to help reach a nuanced understanding of why tradeoffs are made. No?
A similar tool is Popeye. It works on any cluster, not just clusters hosted on GKE.
https://github.com/derailed/popeye
There was a tool called ksonnet for this (jsonnet + a default library for k8s configs), but the company behind it got bought and it's no longer maintained: https://github.com/ksonnet/ksonnet
I wish they would reuse the pattern of Cloud SQL where you can get temporary access without manually handling the Authorized Networks setting. The Cloud SQL API lets you exchange your API access token for a short lived TLS client certificate. This is done client side by things like [cloudsql-proxy](https://github.com/GoogleCloudPlatform/cloudsql-proxy) and [the cloud-sql-jdbc-socket-factory java library](https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket...). This way, I can access my Cloud SQL instance from my IDE, even though my list of authorized networks is empty.
I feel like the gke-gcloud-auth-plugin cloud do something very similar.
I wish they would reuse the pattern of Cloud SQL where you can get temporary access without manually handling the Authorized Networks setting. The Cloud SQL API lets you exchange your API access token for a short lived TLS client certificate. This is done client side by things like [cloudsql-proxy](https://github.com/GoogleCloudPlatform/cloudsql-proxy) and [the cloud-sql-jdbc-socket-factory java library](https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket...). This way, I can access my Cloud SQL instance from my IDE, even though my list of authorized networks is empty.
I feel like the gke-gcloud-auth-plugin cloud do something very similar.
I wish they would reuse the pattern of Cloud SQL where you can get temporary access without manually handling the Authorized Networks setting. The Cloud SQL API lets you exchange your API access token for a short lived TLS client certificate. This is done client side by things like [cloudsql-proxy](https://github.com/GoogleCloudPlatform/cloudsql-proxy) and [the cloud-sql-jdbc-socket-factory java library](https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket...). This way, I can access my Cloud SQL instance from my IDE, even though my list of authorized networks is empty.
I feel like the gke-gcloud-auth-plugin cloud do something very similar.
http://tanka.dev
(Note I work for Grafana Labs who fund Tanka and use it for all production config)
Related posts
- How do I connect a local Docker container to a Cloud SQL instance?
- Cloud SQL with Private IP vs Public IP (Cloud SQL Auth Proxy only)?
- Tell HN: CloudSQL cause random 5xx, GCP DevRel shutdowns feedback
- Show HN: Fix – An open source cloud asset inventory for cloud security engineers
- Porter Cloud – PaaS you can eject