Skip to content

Commit

Permalink
Merge pull request #761 from airhorns/frontendconfig
Browse files Browse the repository at this point in the history
Add version exception for FrontendConfig resource for GKE
  • Loading branch information
dturn committed Oct 27, 2020
2 parents e46d484 + 31a695c commit 7c9d7c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/krane/cluster_resource_discovery.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def version_for_kind(versions, kind)
version_override = { "CronJob" => "v1beta1", "VolumeAttachment" => "v1beta1",
"CSIDriver" => "v1beta1", "Ingress" => "v1beta1",
"CSINode" => "v1beta1", "Job" => "v1",
"IngressClass" => "v1beta1" }
"IngressClass" => "v1beta1", "FrontendConfig" => "v1beta1" }

pattern = /v(?<major>\d+)(?<pre>alpha|beta)?(?<minor>\d+)?/
latest = versions.sort_by do |version|
Expand Down

0 comments on commit 7c9d7c3

Please sign in to comment.