Control: GKE clusters release channel should be configured
Description
This control ensures that GKE clusters uses release channel for version management.
Usage
Run the control in your terminal:
powerpipe control run gcp_compliance.control.kubernetes_cluster_release_channel_configured
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run gcp_compliance.control.kubernetes_cluster_release_channel_configured --share
SQL
This control uses a named query:
select self_link resource, case when (release_channel -> 'channel') is not null then 'ok' else 'alarm' end as status, case when (release_channel -> 'channel') is not null then title || ' release channel configured.' else title || ' release channel not configured.' end as reason , location as location, project as projectfrom gcp_kubernetes_cluster;