Operator for managing GKE clusters in Rancher.
go build -o gke-operator main.goWith a kubeconfig set in your shell, run the binary:
./gke-operatorApply the CRD:
kubectl apply -f crds/gkeclusterconfig.yamlCreate a file named googlecredentialConfig-authEncodedJson with the contents
of your JSON service account credential. Then create a cloud credential secret:
kubectl --namespace cattle-global-data create secret generic --from-file=googlecredentialConfig-authEncodedJson cc-abcdeEdit at a minimum the projectID and create a cluster:
kubectl apply -f examples/cluster-basic.yaml