Commit Graph

11 Commits

Author SHA1 Message Date
vardhaman22 4a53c57695 updated wrangler to v3 2024-06-12 19:29:32 +05:30
Kevin Joiner 0825036af7 Bump Wrangler version to v2.0.2
The previous wrangler commit included all of the v2 changes.
Except for the import path changes.
2024-01-12 12:06:33 -05:00
Michal Jura b7bf5337ce
Bump modules to support k8s v1.27
Issue: https://github.com/rancher/gke-operator/issues/176
2023-09-18 11:22:42 +02:00
Furkat Gofurov 52324eae07
Add lint GH action workflow, enable linterts and fix the linter reported problems
(cherry picked from commit 7387d1c1185e594d2062ba064417f2b3fdcb864d)
2023-05-09 13:37:16 +03:00
Colleen Murphy fa252205cd Update wrangler for newer CRD generation
Latest wrangler generates version apiextensions.k8s.io/v1 CRDs which are
compatible with kubernetes 1.22. Required minor adjustments in the
codegen package.
2021-08-03 10:52:51 -07:00
Colleen Murphy 13dde16ee1
Revert "Revert "Create chart and include in CI"" 2021-04-26 11:14:31 -07:00
Colleen Murphy 04f79ea9ad Revert "Create chart and include in CI"
This reverts commit b941ca5ea4.
2021-04-26 11:00:51 -07:00
Donnie Adams b941ca5ea4 Create chart and include in CI
These changes are the first step in moving gke-operator to
rancher/charts. The chart is not included here and is built as a
part of the CI process.
2021-04-23 08:58:07 -07:00
Michal Jura 79025f96cc
Add build for arm64
It is adding support for arm64 for gke-operator,
based on Donnie Adams work for eks-operator.

Co-authored-by: Donnie Adams <donnie.adams@suse.com>
2021-03-31 18:50:28 +02:00
Colleen Murphy 1a506db3e5 Clean up comments and code
* Clean up TODO comment in OnGkeConfigRemoved
  - Cluster delete is handled by WaitClusterRemoveExp which calls
    .Delete() on the cluster.
* Clean up ValidateCreateRequest
  - Remove TODO - all noted parameters are required to identify a
    cluster by its RRN
  - Use idiomatic Go error checking
* Fix IPAllocationPolicy
  - Don't use ClusterIpv4CidrBlock for NodeIpv4CidrBlock
  - Extract nil error to const
  - IPAllocationPolicy could be nil if imported
* Uncomment kubernetesVersion nil check
* Remove commented-out validate code
  - ValidateCreateRequest is called during
    GenerateGkeClusterCreateRequest.
* Remove unused util function
* Add error checking for cluster Get
* Fixup comment and error message spellings
* Cleanup cluster spec initialization
* Remove unnecessary starters from controller init
* Remove check for "currently has update" error
  - This error message string isn't applicable to GKE
  - Requeuing when the upstream cluster is currently updating is handled
    in checkAndUpdate() by checking for the
    utils.ClusterStatusReconciling status
* Clean up variables in GenerateGkeClusterCreateRequest
* Rename utils.Parse function to ParseCredential
* Add helm annotation for generated CRD
* Make importCluster function comment accurate
* Move boilerplate.txt to pkg/codegen/
2021-03-01 13:50:31 -08:00
Marek Counts 2f0c2575d6 init project
Signed-off-by: Marek Counts <countsmarek@gmail.com>
2021-01-14 09:42:39 -05:00