mirror of
https://github.com/argoproj/argo-cd
synced 2026-05-06 08:08:21 +00:00
* Add kubeconfig string to ClusterCreateRequest * Update generated files * Copy and adapt cluster management logic into db * Add service account deletion to db * Return errors from new DB methods * Adapt InstallClusterManagerRBAC for db * Update errors in db * Return error if it occurs from db * Integrate code to (un)install cluster manager * Use invalid argument instead of failed precondition * Set bearer token if error is nil * Rm cluster RBAC install from CLI * Rm cluster mgmt install from e2e * Rm common/install.go * Move install components into server/cluster, thanks @jessesuen * Rm unneeded ctx arg * Restore common/installer.go * Replace all quoted percent-s with percent-q * Refactor common/installer.go with error returns * Return errors rather than exiting fatally * Return proper number of args * Slim down cluster methods again * Simplify, simplify, simplify * Return gRPC error if RBAC could not be installed * Issue log entries, not print statements * Fix log import * Update generated files * Refactor * Major cleanup * Unmarshal context now * Put claims check after bearer token insertion * Initial work to use Kubernetes manifest to create a cluster * Pass context name now * Wire up prototype * Add missing parameter for e2e test * Just read file directly * Change how we read cluster server * Support more attributes from localconfig * Update generated files * Support incluster flag * Comment out unused field for now * Rm previous NewCluster function * Unmarshal kube config successfully * Handle insecure clusters, too * Use existing logic to get config, thanks @jessesuen * Revert cluster.go to master version * Update invocations of RBAC installation * Fix e2e invocation * Don't remove management account, thanks @jessesuen * Fix missing error check in e2e test * Fix missing clientset arg in e2e fixture * Create kubeclientset for kubeconfig, thanks @jessesuen |
||
|---|---|---|
| .. | ||
| common.go | ||
| installer.go | ||